Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev
- You cannot open a new topic into this forum
- Guests cannot post into this forum
Luisillo
From: Spain
Posts: 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
Votes:50
Average:4.80
Luisillo
From: Spain
Posts: 80
Mantis issue:
http://opensimulator.org/mantis/view.php?id=8688
http://opensimulator.org/mantis/view.php?id=8688
Votes:76
Average:3.03
iseki
Posts: 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.
Votes:47
Average:4.68
Luisillo
From: Spain
Posts: 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,
Votes:74
Average:4.19
Luisillo
From: Spain
Posts: 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...
Votes:83
Average:6.27
Luisillo
From: Spain
Posts: 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
Votes:21
Average:4.29
iseki
Posts: 1581
Hi
Thank you for your Useful information.
Thank you for your Useful information.
Votes:43
Average:7.91
Previous post
-
Next post
|
Parent
-
No child
|
Posted on 2020/4/16 18:22
Luisillo
From: Spain
Posts: 80
You are very welcome.
Votes:51
Average:4.51