Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : Caravelnet connectivity issues (client login)
New Topic New Poll Post Reply
Poster Message
Syntax
Level: Smitemaster
Rank Points: 1218
Registered: 05-12-2005
IP: Logged
icon Caravelnet connectivity issues (client login) (0)  
This is moving on from this Site post. However, I now believe it to be a client-side bug within DROD.

Symptoms

It affects Caravelnet login within DROD. Once you've selected a player or after entering a new key in Settings, the screen hangs for a while and no connection is made to Caravelnet (ie Red Cross of Death).

My theory

For some reason, this was only happening to my user account (the other 1 was fine and could connect in-game) so I did some packet sniffing, and it seems the DROD client doesn't handle "HTTP/1.1 100 Continue" as it should (probably should ignore it).

After 15 secs, Apache sends out a 100 which makes the client actually reset and repost the same auth attempt. 15 secs later, Apache drops the connection (default timeout I believe).

The reason I'm the only noticing this is probably that whatever "game30.php?action=getholdlist" is doing, it needs to scan more stuff for me than for others (I have downloaded and played every hold including lots of betas and other random ones). Recently though, the 15 second threshold for it terminating has been exceeded for me.

Fix would probably be client side. Not sending 100s could be a temporary hack.

Examples

Successful auth:
3219	1390.653072	192.168.0.194	72.232.206.138	HTTP	GET /gamenews.php?game=drod&version=3.2.0.83&language=eng&OS=Linux HTTP/1.1 
3216	1390.621901	192.168.0.194	72.232.206.138	HTTP	POST /game30.php?action=getholdlist HTTP/1.1 
3219	1390.653072	192.168.0.194	72.232.206.138	HTTP	GET /gamenews.php?game=drod&version=3.2.0.83&language=eng&OS=Linux HTTP/1.1 
3222	1391.059246	72.232.206.138	192.168.0.194	HTTP	HTTP/1.1 200 OK  (text/html)
3409	1394.825067	72.232.206.138	192.168.0.194	HTTP	HTTP/1.1 200 OK  (text/html)

Unsuccessful auth:
3673	1446.433486	72.232.206.138	192.168.0.194	HTTP	HTTP/1.1 100 Continue 
3675	1446.433628	192.168.0.194	72.232.206.138	HTTP	POST /game30.php?action=getholdlist HTTP/1.1 
3678	1446.496059	192.168.0.194	72.232.206.138	HTTP	GET /gamenews.php?game=drod&version=3.2.0.83&language=eng&OS=Linux HTTP/1.1 
3682	1447.058484	72.232.206.138	192.168.0.194	HTTP	HTTP/1.1 200 OK  (text/html)
3705	1462.761350	72.232.206.138	192.168.0.194	HTTP	HTTP/1.1 100 Continue 
3707	1462.761439	192.168.0.194	72.232.206.138	HTTP	POST /game30.php?action=getholdlist HTTP/1.1 

That last attempt gave up 14 seconds later.
07-17-2008 at 05:21 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
Briareos
Level: Smitemaster
Avatar
Rank Points: 3516
Registered: 08-07-2005
IP: Logged
icon Re: Caravelnet connectivity issues (client login) (0)  
Syntax wrote:
[...]it seems the DROD client doesn't handle "HTTP/1.1 100 Continue" as it should (probably should ignore it).
I'm not so sure on that one, as DROD deliberately sends out "Expect: 100-continue" headers which bit me in conjunction with a Squid proxy here.

Sure, there can still be a bug, but I think the "100 continues" sent by the server are rather deliberate...

np: Epworth Phones - Capital G (Y34RZ3R0R3MIX3D)

____________________________
"I'm not anti-anything, I'm anti-everything, it fits better." - Sole
R.I.P. Robert Feldhoff (1962-2009) :(
07-17-2008 at 06:02 PM
View Profile Send Private Message to User Send Email to User Visit Homepage Show all user's posts Quote Reply
Syntax
Level: Smitemaster
Rank Points: 1218
Registered: 05-12-2005
IP: Logged
icon Re: Caravelnet connectivity issues (client login) (0)  
Yeah... that's why I think it's a client bug. The client resends the whole request. It should just ignore it if the request has been sent.
07-17-2008 at 06:12 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : Caravelnet connectivity issues (client login)
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.