Code Monkey home page Code Monkey logo

Comments (7)

lolomarx avatar lolomarx commented on August 17, 2024

more details :
5 Apr 12:40:21 - Received: {"channels":["/observer"],"data":{"type":"create","id":"8A3B83FF-78A5-4BCB-BA33-B219D58356AA","klass":"Message","record":{"bo dy":"1111111111111","channel_id":"01DAC934-315B-4FD3-B8DA-D65A55A181FF","created_at":"2011-04-05T04:40:21Z","id":"8A3B83FF-78A5-4BCB-BA33-B219D58356AA", "name":"\u6613\u5f18","updated_at":"2011-04-05T04:40:21Z"}}}
5 Apr 12:40:21 - Publishing to channels: /observer : [object Object]

from holla.

lolomarx avatar lolomarx commented on August 17, 2024

I use two account to login and talk on same channels but can't get any msg from other. The issues is : i can't see the subscribe message on the juggernaut server side . just see the Publishing to channels: /observer : [object Object] when new message created. I thin they can't get the message due to not do subscription. Any suggestion ? Thx

from holla.

lolomarx avatar lolomarx commented on August 17, 2024

the test demo url is http://mchat.bugutang.com:9998/ the account is from www.douban.com

from holla.

lolomarx avatar lolomarx commented on August 17, 2024

I found the reason . The Demo work on firefox 3.6 but not work on firefox 4.0. FF 4.0 can't link with the juggernaut

from holla.

ngzax avatar ngzax commented on August 17, 2024

I am seeing this same issue when setting up Holla + Juggernaut on my internal server here. It worked fine as long as server + clients are all on localhost, but as soon as its a separate server, no one is getting the messages. You have to refresh the browser to see new messages. Errors as follows:

23 Jun 19:41:43 - Serving /application.js - OK
23 Jun 19:41:58 - Received: {"channels":["/observer"],"data":{"type":"create","id":"B1425167-ACFD-458E-A0DD-76F59B07552C","klass":"Message","record":{"body":"from Chrome","channel_id":"438F06F8-7E23-43E9-8C0F-68DFBCF18D75","created_at":"2011-06-23T19:41:58Z","id":"B1425167-ACFD-458E-A0DD-76F59B07552C","name":"Daryl Richter","updated_at":"2011-06-23T19:41:58Z"}}}
23 Jun 19:41:58 - Publishing to channels: /observer : [object Object]

Additionally, I see this error in Safari, which would appear to be related:

Invalid url for WebSocket ws://[object Object]:80/socket.io/websocket
SYNTAX_ERR: DOM Exception 12: An invalid or illegal string was specified. application.js:790

from holla.

ngzax avatar ngzax commented on August 17, 2024

Update on my last comment... that behavior is only seen when using the latest Juggernaut code from Github. When I use a Juggernaut installed by "npm install juggernaut" it works fine.

from holla.

olivierlacan avatar olivierlacan commented on August 17, 2024

Getting the same issue running juggernaut installed from NPM, and running redis, juggernaut & holla on localhost.

If someone connects to my localhost instance of Holla, they can send messages and I will see them appear.
They (remote client) on the other hand don't receive my messages unless they refresh.

from holla.

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.