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

xhr-polling instead of flash. Unable to make flashsocket working on Firefox... #92

Open
gtournie opened this issue Aug 31, 2011 · 1 comment

Comments

@gtournie
Copy link

Hi,

I tried to set the swf file location:
window.WEB_SOCKET_SWF_LOCATION = "http://localhost:5000/WebSocketMain.swf"

And I started juggernaut like this:
sudo juggernaut --port 5000
(I also tried with a lot of others ports: 443, 843, 8080...).

But it doesn't work. I always have xhr-polling in Firefox (6)...

I heard about a flash policy file but I don't know what to write inside and where to put it...

Any help please?

Thanks!

@gtournie
Copy link
Author

Ok, got it! =)

Seems that in socket.io (/usr/local/lib/node_modules/juggernaut/node_modules/socket.io/lib/manager.js)
var defaultTransports didn't include 'flashsocket'...

I added it and it finally works..!

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

1 participant