Bruce Liebknecht
Resident-
Posts
22 -
Joined
-
Last visited
Content Type
Forums
Blogs
Knowledge Base
Everything posted by Bruce Liebknecht
-
How to get agent's name given the UUID (outside SL)
Bruce Liebknecht posted a topic in LSL Scripting
I store agent UUIDs in my database and want to show the current agent legacy or display names on my website given the agent UUID. Is there a way to do this? I searched a lot but can't find a way. Thanks! I have found how to work around this problem by storing and updating agent's names in my database as well but it is very inefficient this way. -
Thanks a lot! Problem solved! It was the secure vs insecure URL. When Hostgator stopped working for me I tried everything including I changed llRequestURL() to llRequestSecureURL(). When I moved to Bluehost things were not working either. Now I changed back to llRequestURL() and Bluehost works yay. OMG this was terribly frustrating. Thanks all for the discussion. It helped a lot.
-
The hosting companies keep asking me what are the SL requirements for incoming HTTP requests. All I can tell them is open ports 12043, 12046 and enable curl.... That's why I wonder if there is anything else I am missing. Hostgator stopped working for me and they have no clue why. Now I tried dedicated server on Bluehost, doesn't work either...
-
I am transferring my PHP scripts (that send HTTP requests to SL) to another host. The new host has curl enabled and ports 12043 and 12046 for outgoing HTTP requests. Still my LSL scripts do not receive the HTTP requests. The same PHP and LSL scripts worked fine for years until last Wednesday. Are there any other requirements for the settings of the external server? Thanks!
-
HTTP requests from outside stopped working
Bruce Liebknecht replied to Bruce Liebknecht's topic in LSL Scripting
Thank you very much! Is there a list of web hosting providers who are confirmed to be working well with SL? Meaning, that are confirmed to be able to send HTTP requests to SL? -
HTTP requests from outside stopped working
Bruce Liebknecht replied to Bruce Liebknecht's topic in LSL Scripting
Thanks! I've asked them and they have been working on it for hours now....... Is there any other PHP example out there I can try, for sending an HTTP request to SL? -
HTTP requests from outside stopped working
Bruce Liebknecht replied to Bruce Liebknecht's topic in LSL Scripting
Or did LL firewalled something yesterday? -
HTTP requests from outside stopped working
Bruce Liebknecht replied to Bruce Liebknecht's topic in LSL Scripting
Thank you, Jenna! Do you mean that my web host has disabled HTTP requests on port 12043? This port 12043 comes from the SURL granted to my object in SL that receives the HTTP requests. The original address is https://simhost-00a87dc0fe6fa060a.agni.secondlife.io:12043/cap/8b3ebe81-2ecc-d90c-ec74-fae3689e91cf/ The function above takes the port 12043 from it and sends a request to ssl://simhost-00a87dc0fe6fa060a.agni.secondlife.io -
HTTP requests from outside stopped working
Bruce Liebknecht replied to Bruce Liebknecht's topic in LSL Scripting
A little update. I replaced by curl request by the simpler request from the SL wiki: function Advanced_HTTP_Request($Host, $PostData = "") { $Method = "POST"; if (empty($PostData)) {$Method = "GET";} $Port = 80; if (strtolower(substr($Host, 0, 5)) == "https") {$Port = 443;} $Host = explode("//", $Host, 2); if (count($Host) < 2) {$Host[1] = $Host[0];} $Host = explode("/", $Host[1], 2); if ($Port == 443) {$SSLAdd = "ssl://";} $Host[0] = explode(":", $Host[0]); if (count($Host[0]) > 1) { $Port = $Host[0][1]; $Host[0] = $Host[0][0]; } else {$Host[0] = $Host[0][0];} $Socket = fsockopen($SSLAdd.$Host[0], $Port, $Dummy1, $Dummy2, 10); if ($Socket) { fputs($Socket, "$Method /$Host[1] HTTP/1.1\r\n". "Host: $Host[0]\r\n". "Content-type: application/x-www-form-urlencoded\r\n". "User-Agent: Opera/9.01 (Windows NT 5.1; U; en)\r\n". "Accept-Language: de-DE,de;q=0.9,en;q=0.8\r\n". "Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1\r\n". "Content-length: ".strlen($PostData)."\r\n". "Connection: close\r\n". "\r\n". $PostData); $Tme = time(); while(!feof($Socket) && $Tme + 30 > time()) {$Res = $Res.fgets($Socket, 256);} fclose($Socket); } $Res = explode("\r\n\r\n", $Res, 2); return $Res[1]; } ?> This is from https://wiki.secondlife.com/wiki/LSL_HTTP_server/examples. In this function fsockopen fails and the parameters it is called with are: $Host = ssl://simhost-00a87dc0fe6fa060a.agni.secondlife.io $Port = 12043 $Dummy1 = 111 $Dummy2 = Connection refused -
HTTP requests from outside stopped working
Bruce Liebknecht replied to Bruce Liebknecht's topic in LSL Scripting
I should add, these are curl HTTP requests I am sending from outside. -
HTTP requests from outside stopped working
Bruce Liebknecht replied to Bruce Liebknecht's topic in LSL Scripting
Thank you! I'll try to find a better forum. -
Hi All, I have a system in which scripts in SL receive HTTP requests from PHP scripts outside SL. All has been working fine for years until yesterday when it suddenly stopped. My LSL scripts stopped receiving http requests sent to them. Is there something going on that I am not aware of?
-
Incoming HTTP requests stopped working
Bruce Liebknecht replied to Bruce Liebknecht's topic in LSL Scripting
Sorry, it was a problem on my side, which I fixed.- 1 reply
-
- 1
-
Hello, my curl HTTP requests from outside to SL suddenly stopped working. Does anybody know if SL has made any changes to incoming HTTP requests today or yesterday?
-
Marketplace doesn't let me in
Bruce Liebknecht replied to Bruce Liebknecht's topic in General Discussion Forum
I am premium but the alt I am trying to shop with is not. I wonder if I can ask for premium support for it... -
Hi, I'm trying to shop with an alt on the MP and I keep getting "So sorry to keep you waiting. We'll be right back!" for a week or so. What should I do? Thanks!
-
Today I bought something on the MP. For some reason, in my basket I had an old item of mine which is no longer listed. I did not pay attention, I hit pay and I did pay for both items. I was charged for my old non existing product and I was not refunded. My order history says that I bought my item from myself. It was undelivered and it was unpaid. BUT the money was withdrawn from my account. Who should I talk to about this? Where did the money go?
-
Support the Japan Earthquake & Pacific Tsunami Relief with Linden Dollars
Bruce Liebknecht commented on Kim Linden's blog entry in Featured News
PlantPets is holding a 3-day sale of rare plantpets all the money of which will be donated to the Japan earthquakke & tsunami relief by purchasing Linden bears! The sale is at http://slurl.com/secondlife/Koala%20dAlliez/139/196/21.