Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat Sample does not seem to work with Firefox 14.0.1 #541

Closed
ghillert opened this issue Jul 28, 2012 · 5 comments
Closed

Chat Sample does not seem to work with Firefox 14.0.1 #541

ghillert opened this issue Jul 28, 2012 · 5 comments

Comments

@ghillert
Copy link

I am running the Atmosphere Chat sample on Tomcat 7.0.29. Connecting with Firefox 14.0.1, I get:

Atmosphere Chat. Default transport is WebSocket, fallback is long-polling
Detecting what the browser and server are supporting

jsonp supported: true
long-polling supported: true
streaming supported: true
ajax supported: true
websocket supported: true
sse supported: true

The Connecting... never goes away.

On the contrary, the sample works fine on: Google Chrome 20.0.1132.57 and Opera 12.00 (Atmosphere connected using sse)

Platform: Mac OS X, 10.6.8
Using the latest Atmosphere code with commit: 056ea61

jfarcand added a commit that referenced this issue Jul 28, 2012
@jfarcand
Copy link
Member

Salut, it works for me. See this screen shot.

jfarcand:7.0.29 jfarcand$ ./bin/catalina.sh jpda run
Using CATALINA_BASE:   /containers/7.0.29
Using CATALINA_HOME:   /containers/7.0.29
Using CATALINA_TMPDIR: /containers/7.0.29/temp
Using JRE_HOME:        /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/
Using CLASSPATH:       /containers/7.0.29/bin/bootstrap.jar:/containers/7.0.29/bin/tomcat-juli.jar
Listening for transport dt_socket at address: 9009
Jul 28, 2012 4:54:24 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
Jul 28, 2012 4:54:24 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Jul 28, 2012 4:54:24 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Jul 28, 2012 4:54:24 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Jul 28, 2012 4:54:24 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 629 ms
Jul 28, 2012 4:54:24 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jul 28, 2012 4:54:24 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.29
Jul 28, 2012 4:54:24 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /Users/jfarcand/workspace/containers/shared_webapps/atmosphere-chat.war
20 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Atmosphere is using org.atmosphere.cpr.DefaultAnnotationProcessor for processing annotation
33 [localhost-startStop-1] INFO org.atmosphere.cpr.DefaultAnnotationProcessor - Found Annotation in org.atmosphere.samples.chat.ChatAtmosphereHandler being scanned: interface org.atmosphere.config.service.AtmosphereHandlerService
37 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Installed AtmosphereHandler org.atmosphere.samples.chat.ChatAtmosphereHandler mapped to context-path: /chat
131 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Auto detecting WebSocketHandler in /WEB-INF/classes/
141 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Atmosphere is using async support: org.atmosphere.container.Tomcat7AsyncSupportWithWebSocket running under container: Apache Tomcat/7.0.29
142 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Installed WebSocketProtocol org.atmosphere.websocket.protocol.SimpleHttpProtocol 
149 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Installed Default AtmosphereInterceptor [Android Interceptor Support, SSE Interceptor Support, JSONP Interceptor Support]. Set org.atmosphere.cpr.AtmosphereInterceptor.disableDefaults in your xml to disable them.
149 [localhost-startStop-1] WARN org.atmosphere.cpr.AtmosphereFramework - No BroadcasterCache configured. Broadcasted message between client reconnection will be LOST. It is recommended to configure the HeaderBroadcasterCache.
150 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - HttpSession supported: false
150 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Using BroadcasterFactory: org.atmosphere.cpr.DefaultBroadcasterFactory
150 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Using WebSocketProcessor: org.atmosphere.websocket.DefaultWebSocketProcessor
150 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Using Broadcaster: org.atmosphere.cpr.DefaultBroadcaster
152 [localhost-startStop-1] INFO org.atmosphere.cpr.AtmosphereFramework - Atmosphere Framework 1.1-SNAPSHOT started.
Jul 28, 2012 4:54:25 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory /Users/jfarcand/workspace/containers/shared_webapps/.autodeploystatus
Jul 28, 2012 4:54:25 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Jul 28, 2012 4:54:25 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Jul 28, 2012 4:54:25 PM org.apache.catalina.startup.Catalina start
INFO: 

@ghillert
Copy link
Author

Interesting problem (on my side) - It turns out that in "Private Browsing" mode everything works but it normal mode (even with all add-ons disabled, cache cleaned etc. it does not work.) Need to investigate further. Thanks for your response.

@jfarcand
Copy link
Member

Your welcome. Just add your finding here (I will let the issue opened for now). I will be OO a couple of weeks BWT :-) A+

@jodonya
Copy link

jodonya commented Apr 19, 2013

Hello ghillet did you get this resolved? I am using basically the chat application but cannot get it to work in firefox, am using firefox 4.0b12, but I have no problem in chrome - looks like GET is not working

It is stuck here
GET http://localhost:8080/chat?X-Atmosphere-tracking-id=307f817b-bb6b-45df-9ed9-69f5df256e52&X-Atmosphere-Framework=1.1.0&X-Atmosphere-Transport=long-polling&X-Atmosphere-TrackMessageSize=true&X-Cache-Date=0&Content-Type=application/json&X-atmo-protocol=true&_=1366395184932

which is the ajaxRequest.send method call in jquery.atmosphere

Will appreciate any help

@jfarcand
Copy link
Member

Can you try 1.0.12? For me both versiion works fine, but just to make sure. Also please use the mailing list for the follw up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants