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

flashsocket doesn't work on firefox 3.68 (ubuntu 10.04) #41

Closed
danielzzz opened this issue Sep 10, 2010 · 10 comments
Closed

flashsocket doesn't work on firefox 3.68 (ubuntu 10.04) #41

danielzzz opened this issue Sep 10, 2010 · 10 comments

Comments

@danielzzz
Copy link

hi, flashsocket transport doesnt work on my firefox.

When I load WebSocketMain.swf (I tried it also with WebSocketMainInsecure.swf) I get the following error from flash:
Verify Error: Error #1033: Cpool entry 42 is wrong type

then after clicking at continue:
Reference Error: Error #1065: Variable WebSocketMain is not defined

Firebug doesn't return any errors.

thanks! best, danielzzz

@danielzzz
Copy link
Author

btw. it doesn't work with opera either, so I guess it must be some problem with the swf file...

@rauchg
Copy link
Contributor

rauchg commented Sep 10, 2010

What version are you using?
You shouldn't load WebSocketMain.swf yourself, that's done by socket.io

@danielzzz
Copy link
Author

hi, I use 0.5.4
yes, it's socket.io that loads it.

@rauchg
Copy link
Contributor

rauchg commented Sep 10, 2010

Please try with master

@danielzzz
Copy link
Author

Hi, I tried it from a freshly downloaded and compiled master, but it still gives the same error. the same happens on the latest opera.

I use socket.io with express on nodejs on a nonstandard 25038 port. maybe I should configure it in a special way? but from the messages it gives to me it looks like it is a problem in the flash.

best, danielzzz

@danielzzz
Copy link
Author

hi, ok, I found the problem - I haven't run the server as root. Now it works, anyway my flash player in debug mode still returns those errors (it's not a problem for a "normal" user though).

I thought the policy file could be served from the same port as the app, but it seems it's not (or maybe flash is looking for it in some other place than the site root (http://myserver.com/crossdomain.xml)?

Anyway, I guess I have learn't about rtfm the hard way...

thx anyway, danielzzz

@danielzzz
Copy link
Author

grr, sorry for the mess, but it is still NOT working with flash. I switched to xhr-polling and this worked when starting the server as root. flash is still not working, though...

@mrbrdo
Copy link

mrbrdo commented Sep 22, 2010

flash policy is served on port 843. socket.io server does that when u run in as root.
i doubt running the server as root affects xhr-polling at all...

@ehsanul
Copy link

ehsanul commented Oct 3, 2010

This issue is also reported at the Socket.iO-node repository, in more detail: http://github.com/LearnBoost/Socket.IO-node/issues/#issue/63

And I've had the same issue.

@rauchg
Copy link
Contributor

rauchg commented Mar 6, 2011

Fixed

This issue was closed.
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

4 participants