Code Monkey home page Code Monkey logo

Comments (7)

gimite avatar gimite commented on June 29, 2024

Hmm no idea... Some hints to debug:

  • Make sure Flash Player is installed and works normally (also check version of Flash Player).
  • Try installing debug version of Flash Player as described in "How to debug" section of README.txt
  • Insert console.log() in various location in web_socket.js to see where it stops execution.

from web-socket-js.

gimite avatar gimite commented on June 29, 2024

Also please make sure you don't provide anything at port 843. If you already provide Flash socket policy file there, you must allow access to 10081 there.

from web-socket-js.

etm avatar etm commented on June 29, 2024
  1. all needed files are accessible an loaded (apache log)
  2. http://localhost:843/ yields,

which should be fine.
3) Flash player is installed and fine: Shockwave Flash 10.0 r42

i will try inserting console.log and then install flash debug player next.

from web-socket-js.

etm avatar etm commented on June 29, 2024

p.s. github stripped out the stars between the apostrophes for allow-access-from.

from web-socket-js.

gimite avatar gimite commented on June 29, 2024

Flash socket policy file at port 843 must be provided as raw TCP response, not with HTTP. See
http://www.lightsphere.com/dev/articles/flash_socket_policy.html
for details. If you don't use Flash socket anywhere else in your host (anyway it should not work right now), easy solution is to stop providing the policy file at port 843, so that web-socket-ruby handles it itself. Note that you should stop listening at port 843, not returning HTTP response 404.

from web-socket-js.

etm avatar etm commented on June 29, 2024

Okay, that was the problem, thanks for your help. Kudos, web-socket-js is a great intermediate solution.

from web-socket-js.

afshinm avatar afshinm commented on June 29, 2024

Hi,

I'm using websocket.js and it worked good in Chrome but in Firefox and IE, WebSocket object created but it not connected to server ...

When i start FireBug, i see some errors:

[WebSocket] cannot connect to Web Socket server at ws://localhost:12345/ (SecurityError) make sure the server is running and Flash socket policy file is correctly placed webSocketError(Object { name="message"})web_socket.js (line 311)
[Break on this error] console.error(decodeURIComponent(message));\n

Whats the problem?

Thanks.

from web-socket-js.

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.