[WinError 10054] An existing connection

I am receiving this error randomly. I have used the same code and same python environment for years. I recently moved to a new computer and have to believe something has changed? firewall type thing. anyways has anyone seen this before?

[WinError 10054] An existing connection was forcibly closed by the remote host

What is the

if a shared M0, M2 or M5 cluster, then hosts are not necessarily up all the time.

image

Its really weird. I will run the code and it will work, then when it runs later it errors out. from I can tell its totally random, super frustrating lol

for anyone with this issue, it was being caused because I was trying to drop a collection that didnt exist. somehow a collection that I drop each morning and completely repopulate was deleted. so when it went to go drop the collection that wasnt there it popped that error.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.