stomp-js / stompjs

Javascript and Typescript Stomp client for Web browsers and node.js apps
Apache License 2.0
742 stars 80 forks source link

In React native @stomp/stompjs installed and trying to connect with the wss URL but not able to connect, stuck at the Opening Web Socket... #555

Open cbpanchal opened 1 year ago

cbpanchal commented 1 year ago

Please see FAQs at https://stomp-js.github.io/faqs/2019/05/20/faqs.html before reporting.

I added debug callback and it is stuck at the Opening Web Socket... no any other call backs such as onConnect, onStompError, onWebSocketError, onDisconnect are trigger, just stuck on the Opening Web Socket...

Can someone look into this, do we required to install any other libraries or something to achieve this?

jbagaresgaray commented 1 year ago

I encounter this issue under Android React native and not on iOS React Native

seetharampullela commented 4 months ago

I too am getting the same issue in both android and iOS. Is there any clue on how to resolve this? @jbagaresgaray How is it working in iOS and not on Android? Is there any change of code for that?

kum-deepak commented 3 months ago

I assume that you have already followed guidelines from https://stomp-js.github.io/workaround/stompjs/rx-stomp/react-native-additional-notes.html