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

Some problems and suggestions

このトピックの投稿一覧へ

なし Some problems and suggestions

msg# 1
depth:
0
前の投稿 - 次の投稿 | 親投稿 - 子投稿.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 0.8.2.1 (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
https://letsencrypt.org/
https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-14-04
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 :
http://i66.tinypic.com/ap9vmp.jpg

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
PLEASE WAIT FOR LOGINS TO BE ENABLED ON REGIONS ONCE SCRIPTS HAVE STARTED. Non-script portion of startup took 0m 0s.
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 : http://62.194.6.113:7876/index.html?account=NXT-BNZB-9V8M-XRPW-3S3WD

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 :
https://nxtwiki.org/wiki/The_Nxt_API
https://nxtwiki.org/wiki/The_Nxt_API_Examples

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 @++
投票数:86 平均点:3.72

投稿ツリー

  条件検索へ


サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2020年 2月翌月
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
<今日>

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 5217521752175217
昨日 : 1502515025150251502515025
総計 : 1360603013606030136060301360603013606030136060301360603013606030
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com