Page 1 of 1

submit post times out

Posted: Thu Dec 17, 2015 4:19 pm
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>
<$payload=$ret>
<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.

submit post times out

Posted: Thu Dec 17, 2015 5:25 pm
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.