flagflag  

0.9.2 dev fail compiling. (information for solve)

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 .3 .4 .5 .6 .7 .8 .9 | Posted on 2020/4/28 2:47
Luisillo  Just can't stay away From: Spain  Posts: 80
Mocule DTLNSLMoneyModule fail from today 04.27
Can not compile in windows 7 with this error:

"X:\0.9.2\z27\opensim.sln" (default target) (1) ->
"X:\0.9.2\z27\addon-modules\OpenSim.Grid.MoneyServer\MoneyServer.csproj" (defau
lt target) (2) ->
"X:\0.9.2\z27\addon-modules\OpenSim.Modules.Currency\OpenSim.Modules.Currency.c
sproj" (default target) (9:2) ->
(CoreCompile target) ->
DTLNSLMoneyModule.cs(355,63): error CS0234: The type or namespace name 'Regio
nStatsHandler' does not exist in the namespace 'OpenSim.Region.Framework.Scenes
' (are you missing an assembly reference?) [X:\0.9.2\z27\addon-modules\OpenSim.
Modules.Currency\OpenSim.Modules.Currency.csproj]

3 Warning(s)
1 Error(s)

Answer from UbitUmarov:

<cia-opensim> opensim: ajlduarte * r04b28f206ad7 OpenSim/Region/Framework/Scenes (RegionStatsHandler.cs):
<cia-opensim> mantis 8688: put RegionStatsHandler : BaseStreamHandler tempory back, to give time for external modules to update

the module should be changed to use RegionStatsSimpleHandler instead
Votes:48 Average:5.42
Previous post - Next post | Parent - No child | Posted on 2020/4/28 5:52
Luisillo  Just can&#039;t stay away From: Spain  Posts: 80
mantis 8688: put RegionStatsHandler : BaseStreamHandler tempory back, to give time for external modules to update
Votes:36 Average:5.83
Previous post - Next post | Parent - No child | Posted on 2020/5/9 2:34
Luisillo  Just can&#039;t stay away From: Spain  Posts: 80
From UbitUmarov mantis http://opensimulator.org/mantis/view.php?id=8688

"I made more changes that may impact DTL"
"Please look to changes on SampleMoneyModule "
Votes:51 Average:6.86
Previous post - Next post | Parent - Children.1 | Posted on 2020/5/18 14:16 | Last modified
iseki  Home away from home   Posts: 1581
Sorry I am very busy starting my lectures of university using Zoom.
Our university started on 5/11 due to coronavirus
Votes:58 Average:3.10
Previous post - Next post | Parent - No child | Posted on 2020/5/26 23:11 | Last modified
iseki  Home away from home   Posts: 1581
I had a tough job with mono version
I finally worked on mono-6.4.0
I'll merge https://github.com/BigManzai/OpenSimCurrencyServer-2020

Thank you very much!! Luisillo, Manni and UbtiUmarov
Votes:57 Average:4.39
Previous post - Next post | Parent - Children.1 | Posted on 2020/5/27 0:54
Luisillo  Just can&#039;t stay away From: Spain  Posts: 80
Happy to see you again!
Thank you very much for your great work.

Some opensim code updates has been delayed by the last problems.
I am not sure if rev 844 solve all problems with new opensim code.
Please contact with Ubit in mantis or in OsGrid.

Best regards,
Votes:34 Average:7.06
Previous post - Next post | Parent - No child | Posted on 2020/5/28 3:17
iseki  Home away from home   Posts: 1581
Ummmmmm

Client (SIM: Region) Certification does not work with mono-6.4.
Votes:60 Average:4.00
Previous post - Next post | Parent - No child | Posted on 2023/7/14 1:04
Luisillo  Just can&#039;t stay away From: Spain  Posts: 80
Module is not working with new mono versions.

mono --version
Mono JIT compiler version 6.12.0.182 (tarball Thu Jan 19 23:19:38 UTC 2023)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: hybrid
GC: sgen (concurrent by default)


Not start with this error:
2023-07-13 17:40:15,983 ERROR - OpenSim.Grid.MoneyServer.MoneyServerBase [MONEY SERVER]: StartupSpecific: Fail to start HTTPS process
2023-07-13 17:40:15,983 ERROR - OpenSim.Grid.MoneyServer.MoneyServerBase [MONEY SERVER]: StartupSpecific: Please Check Certificate File or Password. Exit
2023-07-13 17:40:15,983 ERROR - OpenSim.Grid.MoneyServer.MoneyServerBase [MONEY SERVER]: StartupSpecific: System.Exception: [MONEY MANAGER]: Error initialising MySql Database:
System.Exception: [MONEY MANAGER]: Connection error while using connection string [Server=192.168.1.9;Port=3306;Database=standalone;UserID=opensim_opensim;Password=xxxxxxxxxx;Pooling=false;] ---> System.Security.Authentication.Authenti
Authentication failed, see inner exception. ---> Mono.Btls.MonoBtlsException: Ssl error:1000042e:SSL routines:OPENSSL_internal:TLSV1_ALERT_PROTOCOL_VERSION
at /builddir/build/BUILD/mono-6.12.0.182/external/boringssl/ssl/tls_record.c:462
at Mono.Btls.MonoBtlsContext.ProcessHandshake () [0x00064] in <e25e9a0d30aa4f2ba79defcd613b88ec>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status, System.Boolean renegotiate) [0x00106] in <e25e9a0d30aa4f2ba79defcd613b88ec>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus,bool)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <e25e9a0d30aa4f2ba79defcd613b88ec>:0
at Mono.Net.Security.AsyncProtocolRequest.ProcessOperation (System.Threading.CancellationToken cancellationToken) [0x0012a] in <e25e9a0d30aa4f2ba79defcd613b88ec>:0
--- End of inner exception stack trace ---
at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates,
System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00058] in <e25e9a0d30aa4f2ba79defcd613b88ec>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient(string,System.Security.Cryptography.X509Certificates.X509CertificateCollection,System.Security.Authentication.SslProtocols,bool)
at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates,
System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <e25e9a0d30aa4f2ba79defcd613b88ec>:0
at MySql.Data.MySqlClient.NativeDriver.StartSSL () [0x0005d] in <27e5c3ed78eb46aa9cd5940a180a729f>:0
at MySql.Data.MySqlClient.NativeDriver.Open () [0x002ce] in <27e5c3ed78eb46aa9cd5940a180a729f>:0
at MySql.Data.MySqlClient.Driver.Open () [0x0000b] in <27e5c3ed78eb46aa9cd5940a180a729f>:0
at MySql.Data.MySqlClient.Driver.Create (MySql.Data.MySqlClient.MySqlConnectionStringBuilder settings) [0x0004e] in <27e5c3ed78eb46aa9cd5940a180a729f>:0
at MySql.Data.MySqlClient.MySqlConnection.Open () [0x0016d] in <27e5c3ed78eb46aa9cd5940a180a729f>:0
at OpenSim.Data.MySQL.MySQLMoneyDataWrapper.MySQLMoneyManager.Initialise (System.String connect) [0x0001b] in <0b396697f1604bae868d6e9b931a32e8>:0
--- End of inner exception stack trace ---

Best regards,
Luisillo
Votes:54 Average:2.41
Previous post - Next post | Parent - No child | Posted on 2023/7/27 19:13 | Last modified
iseki  Home away from home   Posts: 1581
Hi,
I'm sorry ...
I'm busy right now, so it will be mid-August.

PS.
I recently found out that client authentication failures are was a bug in mono after all.
Votes:10 Average:8.00
Previous post - Next post | Parent - No child | Posted on 2023/8/11 15:11 | Last modified
iseki  Home away from home   Posts: 1581
Hello.

I finally had time to check, but I was also using mono-6.12.0.182.
No particular error on my part.

I can't seem to start the HTTPS process to connect to the database, is the Certificate File setting OK?

My MoneyServer.ini is as follows.



[Startup]
;
; Place to create a PID file
; PIDFile = "/tmp/money.pid"

NoVerifyCertChain = true
NoVerifyCertHostname = true


[MySql]
;
;Connection parameters of MySQL
hostname = localhost        ; Name of MySQL Server
database = jogrid_db
username = ***********
password = ***********

pooling  = false
port = 3306

;
; Max DB connections kept by money server.
MaxConnection = 30


[MoneyServer]
; Port No. of this Server
ServerPort = 8008

;
; If the user is not found in database,he/she will be created with the default balance.
DefaultBalance = 1000

; Name of this Server
;HostName = localhost

;
; If "00000000-0000-0000-0000-000000000000" is specified, all avatars can get money from system.
; If "" is specified, nobody can get money.
;BankerAvatar = "00000000-0000-0000-0000-000000000000"
BankerAvatar = "64bdf6f6-f5f3-4bea-9ca2-dd763a19b68a"

;
; If you want to use llGiveMoney() function normally even when payer doesn't login to OpenSim,
; please set true to this valiable
EnableForceTransfer = true

EnableAmountZero = true

;
; send money to avatar by MoneyScript (for Bonus)
EnableScriptSendMoney = true
MoneyScriptAccessKey  = "***********            ;; specify same secret key in include/config.php or WI(XoopenSim/Modlos)
MoneyScriptIPaddress  = "202.26.159.210"        ;; not use 127.0.0.1

;
; for HG/Guest Avatar. Foreign Avatar is always false
;EnableHGAvatar = false
EnableGuestAvatar = true
;HGAvatarDefaultBalance = 0
GuestAvatarDefaultBalance = 300

;

[Certificate]
;
; Certification Configuration
;

; CA Cert to check Client/Server Cert
CACertFilename = "jogrid_cacert.crt"

;
; HTTPS Server Cert (Server Mode)
ServerCertFilename = "server_cert.p12"
ServerCertPassword = ""

; Client Authentication from Region Server
CheckClientCert = true     ; client cert
ClientCrlFilename = "clientcrl.crt"

;
; XML RPC to Region Server (Client Mode)
;;CheckServerCert = false                       ;; check Region Server
;;ClientCertFilename = "client_cert.p12"
;;ClientCertPassword = ""
Votes:32 Average:4.69
Previous post - Next post | Parent - No child | Posted on 2023/8/11 20:21
iseki  Home away from home   Posts: 1581
Umm....

0.9.3 with .NET6 instead of mono, I get an error with HTTPS connections.
I'll research it.
Votes:41 Average:1.71
Previous post - Next post | Parent - No child | Posted on 2023/8/12 13:14
iseki  Home away from home   Posts: 1581
Hi,

In my case, it was the length of the private key in the certificate. In .NET6, 1024 bit was not enough.
I recreated it to a 2048 bit certificate and it connected properly.
Luisillo, is there a problem with the server certificate on your MySQL server?
Is it possible to connect without encryption?
Votes:20 Average:6.50

  Advanced search


Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
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
Today

Who's Online

55 user(s) are online (2 user(s) are browsing Forum)

Members: 0
Guests: 55

more...

Access Counter

Today : 8736873687368736
Yesterday : 1406514065140651406514065
Total : 2334975823349758233497582334975823349758233497582334975823349758
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com