Code Monkey home page Code Monkey logo

Comments (8)

kevinpreynolds avatar kevinpreynolds commented on June 7, 2024

I configured and ran the browsertests page too just now and Safari on the iPad passed 24 out of 24 tests. Even Chrome on the desktop didn't do that well.

from stomp-websocket.

jmesnil avatar jmesnil commented on June 7, 2024

you are browsing on the iPad and connecting to ActiveMQ on localhost? I don't understand...

from stomp-websocket.

kevinpreynolds avatar kevinpreynolds commented on June 7, 2024

Sorry, I changed the real IP address to localhost in the example I posted above. They're on the same network and it really said "Whoops! Lost connection to ws://10.10.1.10:61614/stomp".

from stomp-websocket.

higgspa avatar higgspa commented on June 7, 2024

I have seen the "Whoops!" in a few situations. One was fixed in AMQ 5.7 and it was related to using "localhost" so that should not be it. What are your message sizes? If they are large you may want to increase the max size.

Below is an example AMQ configuration:

from stomp-websocket.

kevinpreynolds avatar kevinpreynolds commented on June 7, 2024

Can you try posting that configuration again? The messages are maybe 1000 characters or less. It will disconnect though even if no incoming messages have been received.

from stomp-websocket.

higgspa avatar higgspa commented on June 7, 2024

transportConnector name="websocket" uri="ws://0.0.0.0:61614?websocket.maxTextMessageSize=999999&websocket.maxIdleTime=60000&websocket.bufferSize=32536"

It filtered the XML so I just removed the angle brackets and it went through.

from stomp-websocket.

kevinpreynolds avatar kevinpreynolds commented on June 7, 2024

I tried that configuration on both 5.7 and 5.8 and got the same results. Still works fine in Chrome on the desktop.

from stomp-websocket.

jmesnil avatar jmesnil commented on June 7, 2024

I checked and the chat example is working fine on my iPhone and iPad both with the latest iOS release (6.1.3 (10B329).
On the server-side, I used the ActiveMQ Apollo 1.5 broker.

I'll close this issue as it's not in the JavaScript client side and let you open one in ActiveMQ issue tracker

from stomp-websocket.

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.