TechPrimers / spring-boot-websocket-example

WebSocket example using Spring Boot
58 stars 69 forks source link

Lost Connection to stompEndPoint #1

Open mastershashi opened 6 years ago

mastershashi commented 6 years ago

Hi ,

Your code is running fine in localhost but I have deployed this application to cloud foundry i am getting this error:

Failed to load resource: the server responded with a status of 404 (Not Found) stomp.min.js:8 Opening Web Socket... abstract-xhr.js:132 GET https://"CF APP URL"/websocket-example/info?t=1536076909829 404 (Not Found) r._start @ abstract-xhr.js:132 (anonymous) @ abstract-xhr.js:21 setTimeout (async) r @ abstract-xhr.js:20 r @ xhr-local.js:8 r @ info-ajax.js:19 r._getReceiver @ info-receiver.js:36 r.doXhr @ info-receiver.js:56 (anonymous) @ info-receiver.js:25 setTimeout (async) r @ info-receiver.js:24 r @ main.js:121 sendName @ app.js:37 (anonymous) @ app.js:63 dispatch @ jquery.min.js:2 y.handle @ jquery.min.js:2 stomp.min.js:8 Whoops! Lost connection to https://"CF APP URL"/websocket-example .

it is not working in cloud foundry, Best Regards, Shashi

ycochoa commented 5 years ago

i have the same error, did you solve it?