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

Some problems and suggestions


なし Some problems and suggestions

msg# 1
前の投稿 - 次の投稿 | 親投稿 - 子投稿.1 .2 .3 .4 | 投稿日時 2016-4-9 3:29
nxt3d  Just popping in   投稿数: 2
Hello World :)

First, i want to thank you for your work and perseverance to maintain this module and system update for the metaverse, in reality, you are our unique hope to see emerge a real economy in the virtual worlds based on OpenSimulator and free from the companies monopolies...

i have some problems to setup the money server under ubuntu 14.04, i use the last main version of opensim (standalone hypergrided mode) with the last version of the money server but something not working with the cerificates and the communication between opensim and the money server on port 8008;
i use the let's encrypt system and certificates to secure apache/php
i converted the resulting with this command-line

# openssl pkcs12 -export -in cert.pem -inkey privkey.pem -out opensim.pfx

without passwords... the money server and opensim start without problems, the module load in the startup phase and all is OK but when i connect with firestorm , the viewer crash with this error :

and i had this message in the opensim console
[NSL CERT VERIFY]: ValidateServerCertificate: Policy is (RemoteCertificateChainErrors)

few time after i got this bloody tsunami (red lines):

[MONEY NSL RPC]: XmlRpcResponse certSend: GetResponse Error: System.Threading.ThreadAbortException: Thread was being aborted
at System.Net.WebConnection.Write (System.Net.HttpWebRequest request, System.Byte[] buffer, Int32 offset, Int32 size, System.String& err_msg) [0x00000] in <filename unknown>:0
at System.Net.WebConnectionStream.WriteHeaders () [0x00000] in <filename unknown>:0
at System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Net.WebConnectionStream:SetHeaders (byte[])
at System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error) [0x00000] in <filename unknown>:0
17:42:36 - [MONEY]: genericCurrencyXMLRPCRequest: Unable to connect to Money Server https://nxt3d.net:8008/
17:42:36 - [MONEY]: genericCurrencyXMLRPCRequest: System.Threading.ThreadAbortException: Thread was being aborted
at NSL.Network.XmlRpc.NSLXmlRpcRequest.certSend (System.String url, System.Security.Cryptography.X509Certificates.X509Certificate2 clientCert, Boolean checkServerCert, Int32 timeout) [0x00000] in <filename unknown>:0
at OpenSim.Modules.Currency.DTLNSLMoneyModule.genericCurrencyXMLRPCRequest (System.Collections.Hashtable reqParams, System.String method) [0x00000] in <filename unknown>:0
17:42:36 - [EVENT MANAGER]: Delegate for TriggerOnMakeRootAgent failed - continuing. Thread was being aborted at OpenSim.Modules.Currency.DTLNSLMoneyModule.genericCurrencyXMLRPCRequest (System.Collections.Hashtable reqParams, System.String method) [0x00000] in <filename unknown>:0
at OpenSim.Modules.Currency.DTLNSLMoneyModule.LoginMoneyServer (IClientAPI client, System.Int32& balance) [0x00000] in <filename unknown>:0
at OpenSim.Modules.Currency.DTLNSLMoneyModule.OnMakeRootAgent (OpenSim.Region.Framework.Scenes.ScenePresence agent) [0x00000] in <filename unknown>:0
at OpenSim.Region.Framework.Scenes.EventManager.TriggerOnMakeRootAgent (OpenSim.Region.Framework.Scenes.ScenePresence presence) [0x00000] in <filename unknown>:0
17:42:36 - [LLCLIENTVIEW]: Caught exception while processing OpenMetaverse.Packets.CompleteAgentMovementPacket for NXT Community System.Threading.ThreadAbortException: Thread was being aborted
at OpenSim.Region.Framework.Scenes.EventManager.TriggerOnMakeRootAgent (OpenSim.Region.Framework.Scenes.ScenePresence presence) [0x00000] in <filename unknown>:0
at OpenSim.Region.Framework.Scenes.ScenePresence.MakeRootAgent (Vector3 pos, Boolean isFlying) [0x00000] in <filename unknown>:0
at OpenSim.Region.Framework.Scenes.ScenePresence.CompleteMovement (IClientAPI client, Boolean openChildAgents) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) System.Action`2<OpenSim.Framework.IClientAPI, bool>:invoke_void__this___T1_T2 (OpenSim.Framework.IClientAPI,bool)
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.HandleCompleteAgentMovement (IClientAPI sender, OpenMetaverse.Packets.Packet Pack) [0x00000] in <filename unknown>:0
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessSpecificPacketAsync (System.Object state) [0x00000] in <filename unknown>:0

17:42:36 - Aborted threadfunc 1224 System.Threading.ThreadAbortException: Thread was being aborted
at OpenSim.Region.ClientStack.LindenUDP.LLClientView.ProcessSpecificPacketAsync (System.Object state) [0x00000]: in <filename unknown>:0
at OpenSim.Framework.Util+<FireAndForget>c__AnonStorey6.<>m__10 (System.Object o) [0x00000] in <filename unknown>:0

the same happend with the defaults certificates too; i tested with the IP address and the domain name and both fail, the port 8008 is open in TCP and UDP... i run opensim before the money server and the inverse ... i set CheckServerCert = false in OpensimDefaults.ini and the MoneyServer.ini ... i got the same problem and nothing is displayed in the money server console, just the startup part

17:22:00 - [MONEY SERVER]: Setup HTTP Server process
17:22:00 - [MONEY SERVER]: ReadIniConfig: Execute HTTPS comunication. Cert file is opensim.pfx
17:22:00 - [MONEY SERVER]: Connecting to Money Storage Server
17:22:00 - [BASE HTTP SERVER]: Starting HTTPS server on port 8008
17:22:00 - [WATCHDOG]: Started tracking thread PollServiceWorkerThread0:8008, ID 7
17:22:00 - [WATCHDOG]: Started tracking thread PollServiceWorkerThread1:8008, ID 8
17:22:00 - [WATCHDOG]: Started tracking thread PollServiceWorkerThread2:8008, ID 9
17:22:00 - [WATCHDOG]: Started tracking thread LongPollServiceWatcherThread:8008, ID 10
Money #

where is the problem? i burned the last 3 days testing things without success :(

some suggestions for the future :
1- replacing the MoneyServer.exe with this software https://nxt.org/
the Nxt software is a full toolbox and not a simple currency system and have advanced web gui that can replace the php part in the NSL system. you can use the demo in the website to visit the wallet web gui in live!
direct access :

the NRS (Nxt server) use a rich HTTP(s) API that can handle all the economic operations into the virtual world and can be used directly with LSL but the best and secure way is the same as the actual C# module in the NSL system... need just a some modifications to use JSON over https instead of the actual XML-RPC
for more technical infos :

2- Let's encrypt for the server/clients certificates. its a free service and will be easy to setup for the Linux based OS... i use it in the Nxt Community virtual world and work fine with joomla and Jopensim under apache server but the apache files are in .pem and not .pfx or .p12 ...
if the next version for 0.9 can use the same .pem files located in /ect/letsencrypt/live/DOMAIN/chain.pem and fullchain.pem ... this will be a very good thing :)

thank you again and @++
投票数:128 平均点:3.36



サイト内 検索





サブ メニュー


前月2024年 5月翌月
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 31


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

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



今日 : 400400400
昨日 : 4763476347634763
総計 : 2368902723689027236890272368902723689027236890272368902723689027
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com