stomp-js / stompjs

Javascript and Typescript Stomp client for Web browsers and node.js apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rx-Stomp Invalid frame header Error

igushkin opened this issue · comments

Issue with Stomp.js Library

Description

I am encountering issues with the Stomp.js library in my project. The console is flooded with errors indicating incorrect headers being sent, and these errors seem to occur after a period of inactivity in the browser tab.

Screenshot 2024-05-03 153821

Screenshot 2024-05-03 1556451

Environment

  • Spring Boot Broker
  • Angular Client
  • Rx-Stomp Library

Additional Information

  • Both the server and client have specified heartbeat intervals set to 10 seconds.
  • I found a similar issue reported on GitHub (#335), but the resolution wasn't clear to me.

Any guidance or assistance in resolving this issue would be greatly appreciated.