-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Incompatible SockJS! Main site uses: "1.4.0", the iframe: "1.3.0". #7782
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
Comments
what's your webserver? I had this today as well and solved it by adding these 3 lines to my nginx.conf file:
|
Hey @EmEmGee, For dev we are using the default webpack dev server with an nginx reverse proxy. Thanks for your advice on this! |
I'm also using nginx (to reverse proxy requests to an Apollo server) and am seeing the same issue in the development server only. I also tried using those three lines in the nginx conf to no avail. |
Update: Had a miscommunication with my back-end dev and those three lines were added outside the location object. The below settings fixed the issue (apologies for poor formatting). Thanks @EmEmGee for your original suggestion!
|
I'm having the same issue but we're not running on nginx. Can |
We are having the same issue and are using nginx with same config already. |
I closed this because my issue was resolved via the nginx fix but can reopen if needed. |
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs. |
This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue. |
Hi there,
I just upgraded to

react-scripts
v3.2.0 and am now see the below error in the console in my dev server:Seems the issue is coming from the
sockjs-client
package. Tracking it down in my package-lock,react-scripts
requireswebpack-dev-server
which in turn requiressockjs-client v1.3.0
.react-scripts
also requiresreact-dev-utils
, which requiressockjs-client v1.4.0
. I think that's where the mismatch is coming from.Do you have any advice moving forward?
Thank you.
The text was updated successfully, but these errors were encountered: