0

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?

log

JAL
  • 41,701
  • 23
  • 172
  • 300
Charly berthet
  • 1,178
  • 5
  • 15
  • 31

1 Answers1

0

@nickdbush the href is "http://static.lookaforeigner.com/upload.php" so I don't understand.

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
  • 1
    Then 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