Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Wed Nov 14, 2018 10:43 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Debug web in Firefox 11
PostPosted: Sun Mar 18, 2012 9:35 am 
Offline

Joined: Tue Jan 24, 2006 11:04 am
Posts: 119
Location: Singapore
Firefox 11 does not work when debugging. I get an "application has gone off-line" message.

Reverting to Firefox 10.0.2 works, as do Safari and Explorer.

I tried this on Windows 7 64bit and Mac OSX Lion.

Could someone else confirm please? Thanks.

_________________
RealStudio Enterprise Latest Version Windows 7 64bit sp1
http://www.sorted.com.sg


Top
 Profile  
Reply with quote  
 Post subject: Re: Debug web in Firefox 11
PostPosted: Sun Mar 18, 2012 1:23 pm 
Offline

Joined: Wed Mar 22, 2006 11:15 am
Posts: 712
Location: Southern California
It's been confirmed. There was a short discussion about it on the mailing list this weekend.

It's apparently a problem with WebSockets. FF11 and FF12b take 20-25s to load a WE app, and then behave normally. Real is aware of it, but no word on when a fix might come.

Note that this does not affect CGI builds.

_________________
Daniel L. Taylor
Custom Controls for Real Studio WE!
Visit: http://www.webcustomcontrols.com/


Top
 Profile  
Reply with quote  
 Post subject: Re: Debug web in Firefox 11
PostPosted: Sun Mar 18, 2012 1:24 pm 
Offline

Joined: Wed Mar 22, 2006 11:15 am
Posts: 712
Location: Southern California
One more note: this does affect stand alone apps, which is why it affects the debugger. So if you have a deployed, public WE stand alone app this could be a problem for your users.

_________________
Daniel L. Taylor
Custom Controls for Real Studio WE!
Visit: http://www.webcustomcontrols.com/


Top
 Profile  
Reply with quote  
 Post subject: Re: Debug web in Firefox 11
PostPosted: Sun Mar 18, 2012 1:51 pm 
Offline

Joined: Wed Mar 22, 2006 11:15 am
Posts: 712
Location: Southern California
OK, one more post 8)

This work around fixes the problem with FireFox until Real releases a permanent fix. Note that this completely disables WebSockets, so Safari and Chrome might run a bit slower, and the Safari busy wheel will spin just like with a WE CGI.

viewtopic.php?f=23&t=41023&p=228545&hilit=websockets#p228545

_________________
Daniel L. Taylor
Custom Controls for Real Studio WE!
Visit: http://www.webcustomcontrols.com/


Top
 Profile  
Reply with quote  
 Post subject: Re: Debug web in Firefox 11
PostPosted: Mon Mar 19, 2012 1:45 am 
Offline

Joined: Tue Jan 24, 2006 11:04 am
Posts: 119
Location: Singapore
Hi Daniel,

I see that you opened FB case 20675. Thanks for the info and workaround.

Patrick

_________________
RealStudio Enterprise Latest Version Windows 7 64bit sp1
http://www.sorted.com.sg


Top
 Profile  
Reply with quote  
 Post subject: Re: Debug web in Firefox 11
PostPosted: Thu Mar 22, 2012 10:39 pm 
Offline
User avatar

Joined: Sun Aug 12, 2007 10:10 am
Posts: 1086
Location: Boiling Springs, SC
Here is your solution :-)

HOW TO FIX MOZILLA NOT RUNNING WEBAPPS

1) Open Mozilla
2) In the address bar, type 'about:config' and press enter/Go
3) Agree that you will be Careful :-)
4) In the search bar (NOTE THE WORD SEARCH NEXT TO IT!) type 'pipe'
5) The following items appear.
network.http.pipelining False (set to true)
network.http.pipelining.maxrequests 4 (set to 1000)
network.http.pipelining.ssl False (set to true)
network.http.proxy.pipelining False (set to true)

6) Now in the search bar (SAME ONE THAT SAYS 'SEARCH' NEXT TO IT!) type 'network.websocket'
7) Find the following values and set them accordingly
network.websocket.enabled True (set to false)
**(NOTE WE ARE USING THE BROWSER's HTTP-WEBSOCKET NOT THE NETWORK DHCP ASSIGNED IP BASED SOCKET SETS...why mozilla did you change this?!?!!?)
network.websocket.timeout.close 20 (set to 50 OR higher...but NOT MORE THAN 200[HTTP REQUEST timeout..some are 300)
**(NOTE REAL STUDIO TAKES APPROXIMATELY 50 MILLISECONDS TO SEND THE REQUEST TO THE BROWSER, MEANWHILE MOZILLA HAS TESTED PIPING AND ALREADY CLOSED THE CONNECTION...THE FIRST SET OF RULES PREVENTS THE TIMEOUT AND DISABLING THE NETWORK-BASED WEBSOCKET ALLOWS RS AND MOZILLA TO MEET HALF WAY BEFORE THE HTTP REQUEST CLOSES :-))

Glad I could help :-) If you miss seeing the RS Web App loading screen during testing...decrease the maxrequests between 100-500ish...that will create enough lag to allow RS to displace the "Loading Application..." window. Plus side...enjoy how much quicker Mozilla will now respond to all web requests :-)

One last thing..if your app is still hanging... don't forget to clear your cache or press (CTRL+F5) once..and Mozilla will be back in business for Web apps. Close mozilla completely for setting changes to take effect.

_________________
Matthew A. Combatti
Real Studio 2012 r1.2

Visit Xojo Developer's Spot!
Systems I Use:
Windows XP/Windows Vista/Windows Server 2008 r2/Windows 7/Windows 8
Mac OSX 10.5/Mac OSX 10.6/Mac OSX Server/Ubuntu/Debian/Suse/Red Hat/
Windows Server 2011/CentOS 5.4 /ReactOS/SimOS

~All Xojo Compatible~


Top
 Profile  
Reply with quote  
 Post subject: Re: Debug web in Firefox 11
PostPosted: Wed May 23, 2012 8:03 pm 
Offline

Joined: Wed Mar 22, 2006 11:15 am
Posts: 712
Location: Southern California
I have a new post up on the Web Custom Controls blog about this issue. The fix I've posted is more specific than the prior one, i.e. it only disables WebSockets for FireFox and not for other browsers. I felt this was important because WE apps run so well via WebSockets.

http://webcustomcontrols.com/?p=276

_________________
Daniel L. Taylor
Custom Controls for Real Studio WE!
Visit: http://www.webcustomcontrols.com/


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group