bug:post-url gets timeout when running long time

Q&A's, tips, howto's

bug:post-url gets timeout when running long time

Postby csfreebird » Wed Aug 10, 2016 12:11 pm

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.
csfreebird
 
Posts: 107
Joined: Tue Jan 15, 2013 11:54 am
Location: China, Beijing

Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 2 guests

cron