How to fix HTTPConnectionError

Hi

I send JSON format data to server on Raspberry Pi by using http requests.post.
But it sometimes occurs HTTPConnectionError. When this error occurs, it persists unless the board is restarted.

How can I fix this issue without restarting of the board?
Thanks in advance.

hi @Anatoli_Juny
Could you tell me when does this error occur?
when you power the board or randomly?
Is there a certain behavior that triggers this error?

Sorry for late response
I have already fixed this issue.
Thanks for your help