HTTP POST not working (error 408)

I am having trouble trying to get an email request to work from a payment provider (WorldPay) on my host server. Basically, WorldPay executes a script callback on my website if / when the transaction was successful. The problem is that the mail request does not fit my script - we just get 408 timeouts.

This is a request sent from WorldPay below:

POST /index.php?route=payment/worldpay/callback HTTP/1.0
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Host: www.mysite.com
Content-Length: 711
User-Agent: WJHRO/1.0 (WorldPay Java HTTP Request Object)

authAmountString=%26%23163%3B3.49&_SP.charEnc=UTF-8&desc=testItem&authMode=A

And this is the response sent from my host server:

HTTP/1.1 408 Request Timeout
Connection: Close
Pragma: no-cache
cache-control: no-cache
Content-Type: text/html; charset=iso-8859-1

I know this is a long shot, but can anyone see something wrong with something above? To simplify things, I replaced the php script with the basic html output, which returned a welcome world message, and we still have 408, so I'm sure the script is working. We also had this error once or twice:

failed CAUSED BY invalid HTTP status line: >null<

Any help is appreciated

+3
2

HTTP-, , , , 711 , 711 . .

+2

HTTP/1.1 408 ,

, - nginx, "client_body_timeout" nginx.conf

0

All Articles