XML-RPC problems
|
|
Oblivion Kaos
0z0ne Bringer
Join date: 28 Sep 2005
Posts: 17
|
10-08-2005 01:42
Hello all, I'm having some strange behaviour tryin to open xmlrpc data channels. As I open the channel, I send an email to tell the open channel to my Perl application that will manage it. I got three of this emails in two minutes, and Ive just called the open data channel once. Or it can be worst, I get an email every 2-5 minutes ?? My first idea was a problem in the logic of my application as I take the decission not to use states, so I changed my idea and rewrited enterely with states. But the same is happening, and Im getting lost with this. I reported this to support but I need to keep working on my scripts, so I need a quick response somehow. To save time: a) Yes, I verified my source code (around twenty times and twenty versions) b) Yes, I verified the remote smtp server (Im the technical manager so I have full control) c) YEs, I verified my Perl script, if I send email with llEmail, I get just one. Please help 
|
|
Rathe Underthorn
Registered User
Join date: 14 May 2003
Posts: 383
|
10-08-2005 02:06
Imagine if you will that external communication to and from Second Life is like a train. Your data waits for the train. Sometimes its on time. Sometimes its late. Sometimes its very late. The train arrives and the whistle blows. Sometimes your data fell asleep waiting for the train and doesn't hear the whistle. If you're lucky your data gets on the train. On the train with your data is a bunch of other transient data. Data you don't know. Data that looks dangerous but could very well be your next door neighbors data. Your data squishes into the last seat in the back of the last car at the back of the train. Sitting next to it is a much larger piece of data. So large it could have its own parcel. In fact it probably does. Your data sits back and tries to relax given the circumstances but the smell on the train is overwhelming. Sometimes your data gets sick. Sometimes it gets so sick it pulls the emergancy break and demands to get off the next hop, which is never its destination. If your lucky though and you have strong data it holds its breath and the train makes its first stop at Agniville. Agniville is a very crowded place overrun by far too many other transients moving about their business all day long. Your data sits tight, grabs nervously at the arm cushion of its chair and waits for the train to start moving again. This is where things go bad. Sometimes random debris ends up on the tracks. This is a low budget train without any fancy cattle pushers or anything like that so it just chugs along and if it hits even a twig on the tracks it derails topples over sixty eight times sending all five cars spiraling into seperate directions in a firey blaze full of epic movie like explosions that send the last car of the train into the air before it comes crashing down on a mine killing all the workers inside, a small nest of bats, and the coal mine's manager's daughter who goes into a violent vengance driven rage and grabs his shot gun headed towards the new twisted metal door of the car and starts shooting killing all the remaining living bits of data except yours, which it yanks out of the car by the collar, ties up, stuffs in a barrel, rolls down the hill into the river and lights on fire. Thats the last you ever hear of your data. But sometimes, on a full moon, after a fresh rainfall with two parallel rainbows, and the birth of a unicorn your data will make it home, safe and sound.
|
|
Oblivion Kaos
0z0ne Bringer
Join date: 28 Sep 2005
Posts: 17
|
lol
10-08-2005 02:37
After reading your response I'm not sure if I should dedicate to see more westerns or to design a Ranger to protect my data in this dangerous train  Reading this I think I'll try the email to object way instead of XML-RPC.
|
|
Rathe Underthorn
Registered User
Join date: 14 May 2003
Posts: 383
|
10-08-2005 02:42
It's the same. Except it's a bullet train. Beeeeelieve me.  Sorry, not to be unhelpful. But it's a fact that XML-RPC and email are extremely unreliable and flakey.
|
|
Oblivion Kaos
0z0ne Bringer
Join date: 28 Sep 2005
Posts: 17
|
strategies
10-08-2005 04:24
So, is there any tutorial or example with strategies to bypass all this documented behaviour? I think i'll have to develop such a protocol based on ACKs in both sides, do you know is someone has circunvented the problem in any way? I mean, how all these GOM cash machines work? will the rely on this "stable" protocols??? My plea to the gods, a good XML-RPC initiator from Second Life to First Life, please my lords, hear my plea 
|
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
10-08-2005 06:47
You have great code snippets on the wiki... and we cant tell you whats wrong with your code without seeing it. 
|
|
Malachi Petunia
Gentle Miscreant
Join date: 21 Sep 2003
Posts: 3,414
|
10-08-2005 07:19
From: someone I mean, how do all these ... cash machines work? Do they rely on this "stable" protocol??? Poorly; that's part of the problem that Rathe described so poetically.
|
|
RyeDin Meiji
Reluctant Entrepeneur
Join date: 15 Mar 2005
Posts: 124
|
10-08-2005 07:28
Rathe, that was quite possibly the best post I've seen here so far. Also, checked out ROAM... very cool!
_____________________
if (!you) { who(); }
|
|
Huns Valen
Don't PM me here.
Join date: 3 May 2003
Posts: 2,749
|
10-08-2005 15:26
kfgjldfkgjl
|
|
Travis Lambert
White dog, red collar
Join date: 3 Jun 2004
Posts: 2,819
|
02-03-2007 16:02
From: Rathe Underthorn Imagine if you will that external communication to and from Second Life is like a train. Your data waits for the train. Sometimes its on time. Sometimes its late. Sometimes its very late. The train arrives and the whistle blows. Sometimes your data fell asleep waiting for the train and doesn't hear the whistle. If you're lucky your data gets on the train.
On the train with your data is a bunch of other transient data. Data you don't know. Data that looks dangerous but could very well be your next door neighbors data. Your data squishes into the last seat in the back of the last car at the back of the train. Sitting next to it is a much larger piece of data. So large it could have its own parcel. In fact it probably does.
Your data sits back and tries to relax given the circumstances but the smell on the train is overwhelming. Sometimes your data gets sick. Sometimes it gets so sick it pulls the emergancy break and demands to get off the next hop, which is never its destination. If your lucky though and you have strong data it holds its breath and the train makes its first stop at Agniville.
Agniville is a very crowded place overrun by far too many other transients moving about their business all day long. Your data sits tight, grabs nervously at the arm cushion of its chair and waits for the train to start moving again. This is where things go bad.
Sometimes random debris ends up on the tracks. This is a low budget train without any fancy cattle pushers or anything like that so it just chugs along and if it hits even a twig on the tracks it derails & topples over sixty eight times sending all five cars spiraling into seperate directions in a firey blaze full of epic movie like explosions that send the last car of the train into the air before it comes crashing down on a mine killing all the workers inside, a small nest of bats, and the coal mine's manager's daughter who goes into a violent vengance driven rage and grabs his shot gun headed towards the new twisted metal door of the car and starts shooting killing all the remaining living bits of data except yours, which it yanks out of the car by the collar, ties up, stuffs in a barrel, rolls down the hill into the river and lights on fire.
Thats the last you ever hear of your data. But sometimes, on a full moon, after a fresh rainfall with two parallel rainbows, and the birth of a unicorn your data will make it home, safe and sound. Sorry for the Necro-bump. I stumbled upon this whilst searching for something else. This gem is so priceless, and true - it deserves to be read again 
_____________________
------------------ The ShelterThe Shelter is a non-profit recreation center for new residents, and supporters of new residents. Our goal is to provide a positive & supportive social environment for those looking for one in our overwhelming world.
|