Answer the question
In order to leave comments, you need to log in
How to bypass the 55 second limit (websockets burst) on heroku with gorilla/websocket?
Deployed a simple chat to heroku https://github.com/Delgus/simple-chat
I use gorilla/websocket
The problem arises in the fact that after 55 seconds the connection is terminated (
I look at the example in heroku. it is quite complicated. they also screwed a radish there.
https:/ /devcenter.heroku.com/articles/go-websocket...
But I can't find how they bypassed the 55 second limit.The
client does not understand at all that the connection was cut off.At least this thing does not work on js
ws.onerror = function() {
alert("WEBSOCKET SERVER DOESN'T WORK!");
};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question