-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
inline flash policy request broken #448
Comments
Might this be connected to the fact I'm running nodejs on a high port behind haproxy on port 80? If so then an option to override the port io.connect passes in its policy information for other proxy users. |
If I connect directly to node.js then I get a different error:
from socket.io.js 2479. It seems flash might still be broken.. but an option to override the port sent in the security information would be needed to avoid the first error for proxy users. |
Okay I have a flash socket policy file now being served on port 843 (proxying from haproxy through to node). Don't get the websocket security error but do get the above error about node not being found and then timeout and fallback to xhr-polling |
This might help with your issue until I can figure out what is going on: socketio/socket.io-client#273 |
That doesn't help. Perhaps the bug title is now misleading.. flash sockets just seem broken in general (at least in firefox 4 and 5). |
The flashsocket works fine here in Firefox 3, 4 and 5. So please provide us with a failing testcase where we can reproduce your findings. |
@tuxjay, make sure you actually rebuild the client after applying the patch above. I've made the same changes to one of my installs, which runs on a server with only port 80 open. |
I have almost the same problem, but with diffeernce - socket.io tryes connect via flashsocket, after few seconds it switchs to xhr-polling, BUT after 5-6 xhr requests in switchs to flashsockets, so question - why does it want connect at beggining via flashsockets? I have node.js server on another subdomain - This may be due to the fact that the flash file does not have time to boot? |
`http.ServerRequest` did refer to the HTTP API of Nodejs prior to v0.10
Using flashsocket and get the usual error about not being run as root so having to serve the flash policy file requests inline. However when trying to use flashsockets in a browser.. it just causes the connection attempt to pause for a few seconds before falling back to xhr-polling. Flashbug shows the following error:
I'm using flash 10.3.181.34
The text was updated successfully, but these errors were encountered: