-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chrome70 + stompjs + sockjs-client + java spring boot 2.0 connect too slow #470
Comments
I cannot debug your performance issues for you. I suggest you add timing along your request path to find out where the latency is coming from. |
@brycekahle |
@xzzh999 The problem is likely your server, not the client. |
@brycekahle In client side (fast)
In client side (slow or failed)
In server side (spring boot application.properties)
I use vue.js 2.0 and webpack. |
@brycekahle |
@xzzh999 You might want to fix the obvious error shown in your log. |
@brycekahle |
chrome: 70.0.3538.67
stompjs: "^2.3.3",
sockjs-client: "^1.3.0",
spring boot use websocket: 2.0.2.RELEASE
As the title say, when i print the timestamp of connect function, it takes nearly 6 or 12 seconds or even failed to establish the connection, why it's so slow?
Here is the client side code:
Need u help, thanks!
The text was updated successfully, but these errors were encountered: