flagflag  If you want to see English page, please click "English" Button at Left.

Some Errors in certs this afternoon over OpenSim 0.9.2.0 Yeti Dev

  • このフォーラムに新しいトピックを立てることはできません
  • このフォーラムではゲスト投稿が禁止されています
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 .2 .3 .4 | 投稿日時 2020-4-12 3:07
Luisillo  Just can't stay away 居住地: 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
投票数:50 平均点:4.80
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2020-4-15 4:14
Luisillo  Just can't stay away 居住地: Spain  投稿数: 80
投票数:76 平均点:3.03
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2020-4-15 14:11
iseki  Home away from home   投稿数: 1581
Name Space of HttpServer was changed.

Now subversion repository that includes binary is changed now.

Thanks.
投票数:47 平均点:4.68
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2020-4-15 17:45
Luisillo  Just can't stay away 居住地: 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,
投票数:73 平均点:4.11
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2020-4-15 20:19
Luisillo  Just can't stay away 居住地: 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...
投票数:83 平均点:6.27
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2020-4-16 1:16
Luisillo  Just can't stay away 居住地: 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
投票数:21 平均点:4.29
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 | 投稿日時 2020-4-16 13:15
iseki  Home away from home   投稿数: 1581
Hi

Thank you for your Useful information.
投票数:42 平均点:8.10
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2020-4-16 18:22
Luisillo  Just can't stay away 居住地: Spain  投稿数: 80
You are very welcome.
投票数:51 平均点:4.51

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
<今日>

オンライン状況

24 人のユーザが現在オンラインです。 (1 人のユーザが Forum を参照しています。)

登録ユーザ: 0
ゲスト: 24

もっと...

アクセスカウンタ

今日 : 4431443144314431
昨日 : 1461914619146191461914619
総計 : 2330638523306385233063852330638523306385233063852330638523306385
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com