The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. January 07, 2009, 01:07:39 PM

Login with username, password and session length


Pages: 1 2 [3]
  Print  
Author Topic: More Details on the 12030 Problem  (Read 4003 times)
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5324


:sniffle: Humor was so much easier before.


View Profile
« Reply #30 on: June 21, 2007, 03:01:04 PM »

Here we go:

http://www.perkiset.org/forum/ajax/it%92s_time_to_dump_xmlhttprequest-t336.0.html

/p
Logged

If I can't be Mr. Root then I don't want to play.
kidplug
Rookie
**
Offline Offline

Posts: 11


View Profile
« Reply #31 on: June 22, 2007, 11:14:18 AM »

I had an idea of how to "beat" the SSL timeout errors.
Before a POST, if I know x seconds has passed since the last POST, do a quick GET request, just as an "are you there", then do the POST.
I haven't built that yet, but I think it would help me avoid the dead connection / timeouts.

And, the discussion on the other thread about converting POST requests to GET got me thinking....

I could actually send some of my current POST requests as GET requests.
You said under 2k will be OK on a GET.

My ajax code was sending any query string over 256 bytes as POST.
I could safely bump that up to 1k-1.5k and probably eliminate 95% of my errors, since I'm not often posting query strings bigger than 1k.

Is the 2k limit pretty safe?  Does it apply to the entire URL or just to the query portion?

Thanks.

Logged
kidplug
Rookie
**
Offline Offline

Posts: 11


View Profile
« Reply #32 on: June 22, 2007, 11:23:40 AM »

MS article says:

SUMMARY
Microsoft Internet Explorer has a maximum uniform resource locator (URL) length of 2,083 characters. Internet Explorer also has a maximum path length of 2,048 characters. This limit applies to both POST request and GET request URLs.

http://support.microsoft.com/kb/208427
Logged
nutballs
Administrator
Lifer
*****
Online Online

Posts: 3525


View Profile
« Reply #33 on: June 22, 2007, 11:41:55 AM »

yea its the entire URL. And i am pretty sure that 2k is actually W3C spec, but dont hold me to that.
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5324


:sniffle: Humor was so much easier before.


View Profile
« Reply #34 on: June 22, 2007, 12:14:51 PM »

Ran a couple tests per the XRPC testing and I found that it worked great up to 2000 bytes, IE, Safari and FF.

/p
Logged

If I can't be Mr. Root then I don't want to play.
Dragonlaird
Rookie
**
Offline Offline

Posts: 15


Working with AJAX before it even had a name...


View Profile
« Reply #35 on: October 19, 2007, 01:51:47 PM »

OK, seems my original post found only ONE possible cause of the problem generating these damned errors, so in a bid to take up the gauntlet, I wrote a small AJAX handler from scratch (again) and discovered one of the main problems causing the problem was using the POST  method. Yeah, OK... so that's old news...

On the server, my 'test' page simply displayed all form and query data and this would be sent back to the requestor... Again, nothing fancy there either...

Then I was struck by a number 10 bus... Or at least I should have been... I'd missed something really obvious...

Of the requests that actually made it through and returned the page results... None of them contained any form data...

Checked my code and it was definitely posting form data... So why wasn't the page displaying it?

I had a play around with the request headers and the format of the posted data until eventually, I found a combination that worked...

To save you reading any more and to put you out of suspense... Take a look here...

http://www.perkiset.org/forum/ajax/xmlhttprequest_ie6_ssl_and_12030_error_what_is_the_solution-t442.0.html;msg37
Logged

I may know what I'm doing but don't call me an expert...

An 'ex' is a has-been and a 'spurt' is a drip under pressure!
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5324


:sniffle: Humor was so much easier before.


View Profile
« Reply #36 on: November 04, 2007, 09:44:30 PM »

Here's an interesting thing:

I received a response notification from a thread I posted in re. 12030 a LONG time ago - the inference by the poster was that the 12030 error might be a problem with the fact that the PREVIOUS request is not closed... and that the problem is not the current request, but a problem with an open connection.

His (I assume it was a he) answer was to add Connection: Close to the response header coming from the server - he was not so verbose nor forthcoming, but this is an interesting possibility.

I'm gonna try it on GP... shittah it'd be funny (in a perverse sort of way) if we were all looking at the wrong end of the tiger for teeth...
Logged

If I can't be Mr. Root then I don't want to play.
pruzze
n00b
*
Offline Offline

Posts: 4


View Profile WWW
« Reply #37 on: December 05, 2007, 08:37:49 AM »

Please look here for a good explination of the problem: danweber dot blogspot dot com/2007/04/ie6-and-error-code-12030.html

/Fredrik Prüzelius
www dot dse dot se

No urls like that please
« Last Edit: December 06, 2007, 04:42:20 PM by perkiset » Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5324


:sniffle: Humor was so much easier before.


View Profile
« Reply #38 on: December 06, 2007, 04:43:21 PM »

Pruzze - you might try reading some of the threads here before claiming that your teensy little blog entry (that really doesn't fix the problem at all) claims to solve it.

Lotsa smart folks here man...
/p

Logged

If I can't be Mr. Root then I don't want to play.
pruzze
n00b
*
Offline Offline

Posts: 4


View Profile WWW
« Reply #39 on: December 10, 2007, 05:21:30 AM »

Pruzze - you might try reading some of the threads here before claiming that your teensy little blog entry (that really doesn't fix the problem at all) claims to solve it.

Thanks for the welcome... The "teensy" blog I was refering to ain't mine. I just thought that it explained the problem well. I just tried to help! I'm very sorry if that disturbed "all smart folks"...

/Fredrik
Logged
perkiset
Olde World Hacker
Administrator
Lifer
*****
Online Online

Posts: 5324


:sniffle: Humor was so much easier before.


View Profile
« Reply #40 on: December 10, 2007, 02:33:33 PM »

Sorry man, was a bad day and I was grumpy.
Logged

If I can't be Mr. Root then I don't want to play.
Pages: 1 2 [3]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!