Open Konstantin-seo opened 2 years ago
@kelunik Can you explain why these 2 errors occur and where should I dig to avoid them?
For example, error 1006 occurs for me more than 100 times a day. For some reason, I immediately raise a new connection, but I want to understand the reason for their appearance. Is it my server? library settings?
What options need to be changed heartbeat?
Hi @Konstantin-seo, sorry that I forgot to answer this long. Is this still something you're interested in?
Hi @Konstantin-seo, sorry that I forgot to answer this long. Is this still something you're interested in?
It would be great. Now, as a solution, I catch the break, and again, via goto, start listening on the socket
Is the server also something you control and have access to? Is that server also AMPHP based?
Is the server also something you control and have access to? Is that server also AMPHP based?
No
Periodically, 5-10 times per hour, my script crashes into a fatal error. Here is the log:
How can I rewrite the code so that the script does not fall into a fatal error, but just let's say it sleeps for 30 seconds? or maybe there is another way so that this error does not occur and the script runs forever. I'll attach the code, can you help write the correct workaround for this error?
I will be very grateful!
MyCode: