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
Percy
Percy14mo ago
Project ID: eda27a88-d8f4-495f-b917-1fd2269f5764,1f6a6169-ee36-4d5c-b276-8ef180149200
Brody
Brody14mo ago
BIGHOUSE OG
BIGHOUSE OGOP14mo ago
awesome
Brody
Brody14mo ago
whats with all the numbers im also not seeing any errors, or even warnings at all
BIGHOUSE OG
BIGHOUSE OGOP14mo ago
those numberrs are the data i'm calculating
Brody
Brody14mo ago
you print your entire mongodb or something lol
BIGHOUSE OG
BIGHOUSE OGOP14mo ago
xD
Brody
Brody14mo ago
well, if theres no errors (i actually see success messages) then theres not much we can do for you here
BIGHOUSE OG
BIGHOUSE OGOP14mo ago
Ok, Brody, I will give it a think, thanks again bro! ❤️
BIGHOUSE OG
BIGHOUSE OGOP14mo ago
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?
No description
Brody
Brody14mo ago
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
BIGHOUSE OG
BIGHOUSE OGOP14mo ago
Ok, thanks! I don't know if its a code issue beucase its running locally. But I appreciate your atention Brody Gody.
Brody
Brody14mo ago
unfortunately that doesn't rule out this being a code issue
BIGHOUSE OG
BIGHOUSE OGOP14mo ago
No problem, thanks again! Any way I can mimic railway development enviroment so I wont run into this spongebobdeformed i disable private netowrking?
Brody
Brody14mo ago
you can try
Want results from more Discord servers?
Add your server