Python urllib2. URLError:

后端 未结 1 1407
执念已碎
执念已碎 2020-12-21 03:42

I\'m making multiple connection to API. Making delete query. I got that error on a 3000\'th query.

Something like this:

 def delete_request(self,pat         


        
相关标签:
1条回答
  • 2020-12-21 04:33

    The error comes from Windows itself, see Avoiding TCP/IP Port Exhaustion. To fix the error close your connection, you are not calling opener.close() hence leaking sockets.

    0 讨论(0)
提交回复
热议问题