WebFaction
Community site: login faq

Basically, I need an external server to be able to send a POST to my application at a certain URL. The problem is that my application code doesn't seem to run. Instead, the frontend log just shows a 499 return code.

Can anybody help me? Thanks.

asked 06 Jan '11, 06:50

jenga
1112
accept rate: 0%

edited 06 Jan '11, 06:50


This error code is returned when the client (i.e. the external server you are using) closes the connection before Nginx has a chance to reply back. You can find a discussion of a similar situation here. http://marc.info/?l=nginx&m=120127275109824&w=2

I would suggest to look for a fix on the server that generates the POST request.

permanent link

answered 06 Jan '11, 06:59

tie
1.4k13
accept rate: 44%

Thanks. Unfortunately, I don't have any control over the other server. I'll have to ask them to look into it.

I can get the frontend to log a 499 error by connecting and disconnecting quickly from my own PC, but when I do that, it still shows up in the Django logs. When the external server connects there's no message in the Django logs. Shouldn't my Django app at least be called before nginx errors out?

(06 Jan '11, 11:02) jenga

Depends on how fast the connections is dropped. If it is fast enough, Nginx will give up on the request even before it is passed on the the backend (Django) server.

(06 Jan '11, 11:08) tie

Thanks. Unfortunately, I don't have any control over the other server. I'll have to ask them to look into it.

I can get the frontend to log a 499 error by connecting and disconnecting quickly from my own PC, but when I do that, it still shows up in the Django logs. When the external server connects there's no message in the Django logs. Shouldn't my Django app at least be called before nginx errors out?

permanent link

answered 03 May '11, 00:08

john310
1
accept rate: 0%

Your external server maybe dropping the connection much faster than you can emulate it yourself in a browser.

(03 May '11, 00:16) neeravk
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×108
×28
×4

question asked: 06 Jan '11, 06:50

question was seen: 18,249 times

last updated: 03 May '11, 00:16

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM