Jump to content

llHTTPRequest from one prim to HTTP-in server in another prim gets 504 timeout?


JohnQ Ballyhoo
 Share

Recommended Posts

Fails every time if sent from inworld prim using llHTTPRequest.  Works every time using external browser.

I'm just guessing on it being related to the port number, but the 504 error is a gateway/proxy timeout.

Script excerpt is:

_url = "http://sim2556.agni.lindenlab.com:12046/cap/a21e6222-97be-2e73-b920-65823372d300/?";
_method = [HTTP_METHOD, "POST", HTTP_MIMETYPE, "application/x-www-form-urlencoded"];
_key = llHTTPRequest(_url , _method, "cmd=" + _cmd + "&o=" + _p1 + "&u=" + _p2);

Link to comment
Share on other sites

you using a post request to feed a form?... that doesn't seem right...

but at any rate I see that your body is not escaped with llEscapeURL, you also have a seach indicator in your address but no search string.

if encoding the body doesn't work, and and ditching the search string doesn't help, try reformatting your call as a get, change the mimetype back to text, and move the encoded body into the url line (after you put back the search indicator) and then process the seach string on the other end instead of the body....

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...