@BestHTTP I am using the stable scripting backend not the experimental. and here are the logs what i got from the log function you mentioned. I know now how I can fix it, in the log I saw that besthttp automatically put a port number at the end of the url 80 for http and 443 for https. This is the problem because the router of heroku assigns the port automatically. My question is now is there an option that prevents besthttp to put a port at the end of the url?