Giter VIP home page Giter VIP logo

Comments (8)

mayuan97 avatar mayuan97 commented on July 29, 2024

I met the same issue with node v0.10.x. Additional info, if I use flash builder to execute the client code, everything goes well. But when I put the compiled swf file to the public folder of express, flash socket seems stuck.

I suspect it's an authorization related problem, because executing with flash builder, web browser will not load the cross-domain file and other related files.

from flashsocket.io.

simb avatar simb commented on July 29, 2024

Interesting. I know that you specifically have to turn on flash in the server config now. Do you also have to expressly enable the flash security server? My guess is that the internal security that used to happen automatically is now opt in for 0.10

from flashsocket.io.

funseiki avatar funseiki commented on July 29, 2024

Hmm, I think it might have to do with Chrome/Firefox (as well as potentially needing to opt-in - haven't tried this yet). From the wiki:

flashsocket will not activate on Chrome or other browsers that fully support WebSockets, even if flashsocket is specified as the only transport

from flashsocket.io.

simb avatar simb commented on July 29, 2024

This actually only matters if you are using the socket.io js client. If you are doing it in Flash/AIR then its using its own networking subsystem.

At least that was how it was last time I had to fight with this.

The 1.0 release is a pretty big departure from the 0.9 and previous architecture. So its entirely possible that I may have to write something new to make it work.

from flashsocket.io.

funseiki avatar funseiki commented on July 29, 2024

Oh ok.

Maybe I'm wrong, but it looks like it has more to do with some of the lower level changes in Node's 0.10.x as opposed to socket.io. Keeping both socket.io versions (0.9.16) the same, but upgrading Node reproduces the issue.

from flashsocket.io.

simb avatar simb commented on July 29, 2024

Oh, sorry I missunderstood what the 0.10 version was referencing. I was talking about the socket.io version 1.0 and its move to engine.io. I would not expect things to fail just by updating node. And if that is true its something that will need to be addressed for sure.

I totally misread that and I am very sorry. I'll see if I can get an environment setup to test this and confirm whats going wrong.

from flashsocket.io.

funseiki avatar funseiki commented on July 29, 2024

Ah yeah, no worries - glad I could clarify. Thanks for looking into this (and also for the AS3 library!).

from flashsocket.io.

Shrill avatar Shrill commented on July 29, 2024

I'm getting the same issue described by funseiki and mayuan97. Running Node 0.10.x and socket.io 0.9.16. Works with Adobe AIR and local standalone Flash Players, but stalled after the "handshake authorized" message when running Flash Player in the browser.

Did you guys find a fix in the end?

from flashsocket.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.