Coder Social home page Coder Social logo

Comments (10)

danielzzz avatar danielzzz commented on May 21, 2024

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

from socket.io-client.

rauchg avatar rauchg commented on May 21, 2024

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

from socket.io-client.

danielzzz avatar danielzzz commented on May 21, 2024

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

from socket.io-client.

rauchg avatar rauchg commented on May 21, 2024

Please try with master

from socket.io-client.

danielzzz avatar danielzzz commented on May 21, 2024

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

from socket.io-client.

danielzzz avatar danielzzz commented on May 21, 2024

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

from socket.io-client.

danielzzz avatar danielzzz commented on May 21, 2024

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...

from socket.io-client.

mrbrdo avatar mrbrdo commented on May 21, 2024

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...

from socket.io-client.

ehsanul avatar ehsanul commented on May 21, 2024

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.

from socket.io-client.

rauchg avatar rauchg commented on May 21, 2024

Fixed

from socket.io-client.

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.