submit post times out

Post Reply
Posts: 106
Joined: Mon Jan 22, 2007 10:30 am

submit post times out

Post by aitchon »

Do you know of any reason why a submit would timeout with a long value for data?

<strfmt '{"properties":{},"routing_key":"langinput","payload":"%B","payload_encoding":"base64"}' $jsonstr>
<urlcp user "guest">
<urlcp pass "guest">
<urlcp header Accept "*/*">
<urlcp header Accept-Encoding "gzip, deflate">
<urlcp header Accept "*/*">
<urlcp header Accept-Language "en-US,en;q=0.8">
<urlcp header Content-Type "application/json">
<urlcp useragent "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36">
<submit URL=$linkurl method=POST CONTENT-TYPE="application/json" DATA=$payload>

If $payload is shorter, the server responds with success. I'm able to make the same call in the Advanced Rest Client App for Google Chrome, with a larger payload. I tried using the same headers that are used in the app, but it still didn't work.
User avatar
Site Admin
Posts: 1263
Joined: Tue Apr 25, 2000 1:27 pm

submit post times out

Post by Kai »

Offhand I'd say maybe the Vortex <submit> is adding other headers behind the scenes that Google Chrome is not, or is otherwise submitting differently in a way that the server dislikes. Try putting a sniffer on both the Vortex and Chrome submits, and see what looks different, and whether the server is late in responding, or is waiting for Vortex, etc.
Post Reply