Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Mojolicious connection to Atlas ssl cluster fails: "Premature connection close"

by alexander_lunev (Pilgrim)
on Mar 03, 2022 at 13:41 UTC ( [id://11141798]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Mojolicious connection to Atlas ssl cluster fails: "Premature connection close"
in thread Mojolicious connection to Atlas ssl cluster fails: "Premature connection close"

One more check: the only thing that differs between OK and FAIL tests - is SSL? Or there are different MongoDB versions? MongoDB is not friendly to community, and I think there could be changes in versions which will break compatibility, so versions of servers is important (at least to know it they differs or same).

If I were you, first thing to do is to search call stack sub by sub to find where this error comes from, placing debugging prints everywhere. Then I would try to file an issue (https://github.com/oliwer/mango/issues). If filing an issue will not resolve the problem, try to reach Sebastian Riedel himself on mojo IRC (https://web.libera.chat/#mojo) and ask him what to do. I've done it myself when stuck in Mojolicious. He have sharp tongue, but what could you do? And then, if nothing helps, you can always return to call stack one more time, and try to find the cause yourself. Who knows, where this adventure will lead you to?

  • Comment on Re^3: Mojolicious connection to Atlas ssl cluster fails: "Premature connection close"

Replies are listed 'Best First'.
Re^4: Mojolicious connection to Atlas ssl cluster fails: "Premature connection close"
by jjmoka (Beadle) on Mar 03, 2022 at 16:26 UTC
    Ah ah, yes tracing & debugging is what I've been doing and I'll keep doing.
    It's just that after a while I also opted to share and increase the chances to reach a solution.
    I've read this when Sebastian Riedel gave up with Mango develop
    and I also know that Mongo no more officially supports Perl.
    I had a chance to guess about the 'sharp tongue' reading both the discussion on issue 1223 and the following PR's review, but that is fine.

    Yes, the versions of the old MongoDB cluster and the new Atlas one are different. It does seem, as you suggest, there is some incompatibility server side to also figure out.

    Thanks for the advises and for your time.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11141798]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-04-25 15:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found