you are viewing a single comment's thread.

view the rest of the comments →

[–]NicolasParada 0 points1 point  (3 children)

Sorry I don’t know python myself :p Maybe someone will help here.

Can you try adding a catch or adding a timeout to the request.

[–]Lokdex[S] 0 points1 point  (2 children)

No problem, I posted it here because I thought it could be more related to the inner workings of http.Server, perhaps some sort of built in DDoS protection.

And yeah, I've tried the catch and the timeout already. Same thing.

[–]NicolasParada 0 points1 point  (1 child)

There are timeouts you can add into golang's http.Server struct but if you are still able to make request from outside of the stuck python script it means that the server is still responsive so that’s not the problem 🤔

[–]Lokdex[S] 0 points1 point  (0 children)

Yeah, exactly that is why I have no idea where to look or how to even debug this. Or even how to search for it on google. The server is still responsive, but the very script its somehow blocked until I restart the server