Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev
- このフォーラムに新しいトピックを立てることはできません
- このフォーラムではゲスト投稿が禁止されています
Luisillo
居住地: Spain
投稿数: 80

No errors in MoneyServer console.
Errors in Opensim.exe console.
19:50:33 - [MONEY NSL RPC]: XmlRpcResponse certSend: connect to https://192.168.
1.9:8008/
19:50:34 - [MONEY NSL RPC]: XmlRpcResponse certSend: GetResponse Error: System.N
et.WebException: The underlying connection was closed: An unexpected error occur
red on a receive. ---> System.IO.IOException: Unable to read data from the trans
port connection: An existing connection was forcibly closed by the remote host.
---> System.Net.Sockets.SocketException: An existing connection was forcibly clo
sed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 c
ount)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offse
t, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, I
nt32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, In
t32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetriev
edStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at NSL.Network.XmlRpc.NSLXmlRpcRequest.certSend(String url, X509Certificate2
myClientCert, Boolean checkServerCert, Int32 timeout)
19:50:34 - [MONEY]: genericCurrencyXMLRPCRequest: Unable to connect to Money Ser
ver https://192.168.1.9:8008/
19:50:34 - [MONEY]: genericCurrencyXMLRPCRequest: System.NullReferenceException:
Object reference not set to an instance of an object.
at NSL.Network.XmlRpc.NSLXmlRpcRequest.certSend(String url, X509Certificate2
myClientCert, Boolean checkServerCert, Int32 timeout)
at OpenSim.Modules.Currency.DTLNSLMoneyModule.genericCurrencyXMLRPCRequest(Ha
shtable reqParams, String method)
-------------
maybe recent changes httpserver today's git version...
kind regards,
Luisillo
Errors in Opensim.exe console.
19:50:33 - [MONEY NSL RPC]: XmlRpcResponse certSend: connect to https://192.168.
1.9:8008/
19:50:34 - [MONEY NSL RPC]: XmlRpcResponse certSend: GetResponse Error: System.N
et.WebException: The underlying connection was closed: An unexpected error occur
red on a receive. ---> System.IO.IOException: Unable to read data from the trans
port connection: An existing connection was forcibly closed by the remote host.
---> System.Net.Sockets.SocketException: An existing connection was forcibly clo
sed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 c
ount)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offse
t, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, I
nt32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, In
t32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetriev
edStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at NSL.Network.XmlRpc.NSLXmlRpcRequest.certSend(String url, X509Certificate2
myClientCert, Boolean checkServerCert, Int32 timeout)
19:50:34 - [MONEY]: genericCurrencyXMLRPCRequest: Unable to connect to Money Ser
ver https://192.168.1.9:8008/
19:50:34 - [MONEY]: genericCurrencyXMLRPCRequest: System.NullReferenceException:
Object reference not set to an instance of an object.
at NSL.Network.XmlRpc.NSLXmlRpcRequest.certSend(String url, X509Certificate2
myClientCert, Boolean checkServerCert, Int32 timeout)
at OpenSim.Modules.Currency.DTLNSLMoneyModule.genericCurrencyXMLRPCRequest(Ha
shtable reqParams, String method)
-------------
maybe recent changes httpserver today's git version...
kind regards,
Luisillo
投票数:61
平均点:4.75
Luisillo
居住地: Spain
投稿数: 80

Mantis issue:
http://opensimulator.org/mantis/view.php?id=8688
http://opensimulator.org/mantis/view.php?id=8688
投票数:100
平均点:3.30
iseki
投稿数: 1581

Name Space of HttpServer was changed.
Now subversion repository that includes binary is changed now.
Thanks.
Now subversion repository that includes binary is changed now.
Thanks.
投票数:76
平均点:6.18
Luisillo
居住地: Spain
投稿数: 80

Using binary from repository have this error:
10:44:10 - [MONEY NSL RPC]: XmlRpcResponse certSend: connect to https://192.168.
1.9:8008/
10:44:10 - [MONEY NSL RPC]: XmlRpcResponse certSend: GetResponse Error: System.N
et.WebException: The underlying connection was closed: An unexpected error occur
red on a receive. ---> System.IO.IOException: Unable to read data from the trans
port connection: An existing connection was forcibly closed by the remote host.
---> System.Net.Sockets.SocketException: An existing connection was forcibly clo
sed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 c
ount)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offse
t, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, I
nt32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, In
t32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetriev
edStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at NSL.Network.XmlRpc.NSLXmlRpcRequest.certSend(String url, X509Certificate2
myClientCert, Boolean checkServerCert, Int32 timeout)
10:44:10 - [MONEY]: genericCurrencyXMLRPCRequest: Unable to connect to Money Ser
ver https://192.168.1.9:8008/
10:44:10 - [MONEY]: genericCurrencyXMLRPCRequest: System.NullReferenceException:
Object reference not set to an instance of an object.
at NSL.Network.XmlRpc.NSLXmlRpcRequest.certSend(String url, X509Certificate2
myClientCert, Boolean checkServerCert, Int32 timeout)
at OpenSim.Modules.Currency.DTLNSLMoneyModule.genericCurrencyXMLRPCRequest(Ha
shtable reqParams, String method)
Kind regads,
10:44:10 - [MONEY NSL RPC]: XmlRpcResponse certSend: connect to https://192.168.
1.9:8008/
10:44:10 - [MONEY NSL RPC]: XmlRpcResponse certSend: GetResponse Error: System.N
et.WebException: The underlying connection was closed: An unexpected error occur
red on a receive. ---> System.IO.IOException: Unable to read data from the trans
port connection: An existing connection was forcibly closed by the remote host.
---> System.Net.Sockets.SocketException: An existing connection was forcibly clo
sed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 s
ize)
at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 c
ount)
at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offse
t, Int32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, I
nt32 count, AsyncProtocolRequest asyncRequest)
at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, In
t32 count, AsyncProtocolRequest asyncRequest)
at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetriev
edStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetResponse()
at NSL.Network.XmlRpc.NSLXmlRpcRequest.certSend(String url, X509Certificate2
myClientCert, Boolean checkServerCert, Int32 timeout)
10:44:10 - [MONEY]: genericCurrencyXMLRPCRequest: Unable to connect to Money Ser
ver https://192.168.1.9:8008/
10:44:10 - [MONEY]: genericCurrencyXMLRPCRequest: System.NullReferenceException:
Object reference not set to an instance of an object.
at NSL.Network.XmlRpc.NSLXmlRpcRequest.certSend(String url, X509Certificate2
myClientCert, Boolean checkServerCert, Int32 timeout)
at OpenSim.Modules.Currency.DTLNSLMoneyModule.genericCurrencyXMLRPCRequest(Ha
shtable reqParams, String method)
Kind regads,
投票数:96
平均点:3.85
Luisillo
居住地: Spain
投稿数: 80

Ubit wrote in mantis:
http://opensimulator.org/mantis/view.php?id=8688
ok i had a bug on uri parse and validation.
as Iseki identified, the module needs a little change of use the now embeeded http server (HttpServer_OpenSim.dll is gone its code was merge(and changed) into opensim. ( another code change below)
- the prebuild.xml should also be update to .net4.6
ServicePointManager.ServerCertificateValidationCallback SHOULD NOT BE changed!!!
function ValidateServerCertificate can be split into 2
like
ValidateServerCertificateNoCert(...)
{..
if (obj is HttpWebRequest)
return true;
...
and that if removed from the other one.
then on webrequests where it reads for example:
if (!checkServerCert) request.Headers.Add("NoVerifyCert", "true");
if should
set request.ServerCertificateValidationCallback = the respective validation
(this is now possible with .net46)
without this, other uses of https will fail!( like did on older opensim versions)
(pls let Iseki get this info, if he does not read this)
and if possible the module structure should be changed to be compiled under addon-modules. That makes a lot more easy to do a integrated debug.
i did it to debug this issue...
http://opensimulator.org/mantis/view.php?id=8688
ok i had a bug on uri parse and validation.
as Iseki identified, the module needs a little change of use the now embeeded http server (HttpServer_OpenSim.dll is gone its code was merge(and changed) into opensim. ( another code change below)
- the prebuild.xml should also be update to .net4.6
ServicePointManager.ServerCertificateValidationCallback SHOULD NOT BE changed!!!
function ValidateServerCertificate can be split into 2
like
ValidateServerCertificateNoCert(...)
{..
if (obj is HttpWebRequest)
return true;
...
and that if removed from the other one.
then on webrequests where it reads for example:
if (!checkServerCert) request.Headers.Add("NoVerifyCert", "true");
if should
set request.ServerCertificateValidationCallback = the respective validation
(this is now possible with .net46)
without this, other uses of https will fail!( like did on older opensim versions)
(pls let Iseki get this info, if he does not read this)
and if possible the module structure should be changed to be compiled under addon-modules. That makes a lot more easy to do a integrated debug.
i did it to debug this issue...
投票数:92
平均点:5.87
Luisillo
居住地: Spain
投稿数: 80

From ubit: http://opensimulator.org/mantis/view.php?id=8688#c36368
---------------------
tanks,
meanwhile the code with the fix to work without HttpServer_OpenSim.dll
should work now, Several core usage of https now does survive ServicePointManager.ServerCertificateValidationCallback change.
just for future that must be reserved for main opensim use / fallback
---------------------
tanks,
meanwhile the code with the fix to work without HttpServer_OpenSim.dll
should work now, Several core usage of https now does survive ServicePointManager.ServerCertificateValidationCallback change.
just for future that must be reserved for main opensim use / fallback
投票数:27
平均点:4.07
iseki
投稿数: 1581

Hi
Thank you for your Useful information.
Thank you for your Useful information.

投票数:52
平均点:7.69
Luisillo
居住地: Spain
投稿数: 80

You are very welcome.
投票数:57
平均点:4.74