0

On one of our staging/testing server (ngnix/apache config tried with both) for every PUT request to Php Laravel app, i'm getting 504 Gateway Time-out while the rest of the requests are working correctly. When testing locally there are no errors. No modification were made to the code and it was working just fine few weeks ago.

Interestingly PUT request is working just fine for my teammates. is it something to do with my ISP OR something is wrong at our staging server ?

NOTE: PUT request is working just fine for me at our Production server (ngnix config)

  • Same configuration for production and testing servers? – molivier Aug 12 '16 at 09:32
  • yes kind of same configuration but not totally same, at Production we have auto-scaling enabled but we are using nginx at both staging and production. – Hammad Hassan Aug 12 '16 at 10:22
  • Did you try to increase timeout values for testing server? : https://www.scalescale.com/tips/nginx/504-gateway-time-out-using-nginx/. May be this one is less powerfull and take too much time to respond to specific queries. – molivier Aug 12 '16 at 11:26
  • yes tried that too, but why it's working just fine for others? that is weird ! – Hammad Hassan Aug 12 '16 at 12:39
  • Header issue?: http://stackoverflow.com/a/36589120/2269979 – molivier Aug 12 '16 at 13:55

0 Answers0