Skip to content

No enum constant org.springframework.messaging.simp.stomp.StompCommand.  #37

@mrharel

Description

@mrharel

We are using stomp-websocket with spring on the server (RabbitMQ) in a react-native project.
Everything was working on ios but on android it was not connecting. We found this related issue with this suggestion to be implemented on the backend: facebook/react-native#12731 (comment)

After this suggested patch, it was connected on android but then we started to get this messages both on ios and android:

>>> CONNECT
login:
passcode:
accept-version:1.2,1.1,1.0
heart-beat:10000,10000

<<< CONNECTED
server:RabbitMQ/3.7.4
session:session-lxopMotP6ERQq_z-is_ksw
heart-beat:10000,10000
version:1.2

connected to server RabbitMQ/3.7.4
send PING every 10000ms
check PONG every 10000ms
>>> SUBSCRIBE
id:sub-0
destination:/user/queue/messages

<<< PONG
>>> PING
<<< PONG
 >>> PING
 <<< PONG
 <<< ERROR
message:No enum constant org.springframework.messaging.simp.stomp.StompCommand.�
content-length:0

Unhandled frame: 
content-length:84

RROR
message:No enum constant org.springframework.messaging.simp.stomp.StompCommand.
Unhandled frame: content-length:0

any idea what could it be?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions