I want to make an outgoing request from my Heroku server to a server on OVH. Unfortunately Heroku closes my request and returns a 503 status. How can I fix that?
Asked
Active
Viewed 210 times
1 Answers
0
@nickdbush the href is "http://static.lookaforeigner.com/upload.php" so I don't understand.
- It works: local -> "http://static.lookaforeigner.com/upload.php"
- It doesn't work: heroku -> "http://static.lookaforeigner.com/upload.php"

Charly berthet
- 1,178
- 5
- 15
- 31
-
Sorry, I was ready the hostname and not looking at the pathname as well. It works for me - it says ```Sorry, there was an error uploading your file.``` – nickdbush Nov 15 '15 at 21:22
-
1Then there must be no way to POST ```/upload.php```. When you request it from your browser it GETs and that works but your request from Heroku is making a POST request which fails. Maybe? – nickdbush Nov 15 '15 at 21:37
-
Exactly !! Why heroku close POST request ? How fix that ? Because POST request from my local node.js app works. – Charly berthet Nov 15 '15 at 21:51
-
Could it be a problem with your server code? Could we see some of it? – nickdbush Nov 15 '15 at 22:54