man-group / arctic

High performance datastore for time series and tick data
https://arctic.readthedocs.io/en/latest/
GNU Lesser General Public License v2.1
3.05k stars 583 forks source link

Library was not correctly initialized in Arctic #965

Open tomnewg opened 2 years ago

tomnewg commented 2 years ago

Hi guys,

I have been using the free mongodb version for over a year together with arctic and everything was working fine. I recently upgraded my mongodb from a shared to a dedicated service. From my personal machine and a server everything is running f. I have a second server and I get the following error message arctic.exceptions.LibraryNotFoundException: Library X was not correctly initialised in <Arctic at xxxxx... .. the error message goes on talking about SSL: CERTIFICATE_VERIFY_FAILED

I have the server IP on the white list. The weird thing is the code is working from my laptop and the other server but not on the second server i.e. I can rule out something is wrong with the code or the databases in mondodb.

Any idea what I could do?

Many thanks

Tom

tomnewg commented 2 years ago

I don't think it is worth spending time on this issue. I moved the database back to a shared one

dunckerr commented 2 years ago

Hi Tom - can you give us a precise description of your environment, old and new please? from the error message snippet in your email I'd guess you have a credentials problem. Probably worth checking you can login to the new server from wherever you're running the python. Cheers Duncan

On Jul 4, 2022, at 4:37 PM, Tom Neugebauer @.***> wrote:



Closed #965https://github.com/man-group/arctic/issues/965 as completed.

— Reply to this email directly, view it on GitHubhttps://github.com/man-group/arctic/issues/965#event-6928972948, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA7RFW4AOW3WVAXQDYCGBWDVSMAJXANCNFSM52SOPOUQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>

tomnewg commented 2 years ago

Hi @dunckerr

After downsizing the mongodb to the exact setting it was before I still get this error message. I can run the script (I even created one just connecting and selecting a database) from anywhere else just not this server (it used to work up until 2 weeks ago). The server IP is on the IP access list. I was told nothing has changed with this server.

What information about the environment do you need?

Cheers

Tom