Problem with Asyncio + Python code inserting data into MongoDb
Hello, there!
project id : eda27a88-d8f4-495f-b917-1fd2269f5764/service/1f6a6169-ee36-4d5c-b276-8ef180149200
I have a code that inserts data into a MongoDB database. I'm using pymongo.
The code is running locally fine, but isnt working on Railway CLI or in Railway. I tried checking packages versions on railway x in my project, but I don't know how to do that exactly.
Can you guys please help? I really appreciate
17 Replies
Project ID:
eda27a88-d8f4-495f-b917-1fd2269f5764,1f6a6169-ee36-4d5c-b276-8ef180149200
please provide any error logs https://bookmarklets.up.railway.app/log-downloader/
awesome
whats with all the numbers
im also not seeing any errors, or even warnings at all
those numberrs are the data i'm calculating
you print your entire mongodb or something lol
xD
well, if theres no errors (i actually see success messages) then theres not much we can do for you here
Ok, Brody, I will give it a think, thanks again bro!
❤️
Brody, sorry for bothering again. I got the message logs from MongoDb. Do you think this Interrupted operations as its client disconnected can be causing the issue?
hmmm not at that much to go off still, and I'd like like to note that these help threads are typically not for code issues
Ok, thanks! I don't know if its a code issue beucase its running locally. But I appreciate your atention Brody Gody.
unfortunately that doesn't rule out this being a code issue
No problem, thanks again!
Any way I can mimic railway development enviroment so I wont run into this i disable private netowrking?
you can try