bug:post-url gets timeout when running long time

Q&A's, tips, howto's
Post Reply
csfreebird
Posts: 107
Joined: Tue Jan 15, 2013 11:54 am
Location: China, Beijing
Contact:

bug:post-url gets timeout when running long time

Post by csfreebird »

recently, I observed my newlisp app reports timeout error when post message to rest server. We have a few different rest servers. The status of servers are fine when getting timeout error in newlisp. If I stop the newlisp process and restart it, all get back to work fine.

My friend who is using newlisp in her projects told me she ran into same trouble before, she used curl command to bypass this.

So I thinks it is a bug in newlisp post-url function.
To reproduce this, I suggest setting up a rest server and let newlisp code keep posting over one or more days.

For now, I have to call (exit) to quit the process when timeout occurs and re-launch it using jenkins or other monitor script.

Post Reply