question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sockjs-client updated -> Incompatibile SockJS! Main site uses: "1.1.0", the iframe: "1.0.1"

See original GitHub issue

sockjs-client has been updated two days ago to 1.1.0

When using a fresh install of webpack-dev-server, it now results in the following message in the browser: Incompatibile SockJS! Main site uses: "1.1.0", the iframe: "1.0.1" (I use npm 3.8.6)

Extract of dependencies:

`-- webpack-dev-server@1.14.1
  +-- sockjs@0.3.17
  +-- sockjs-client@1.1.0
  ...

sockjs@0.3.17 by default use sockjs-client@1.0.1 from a CDN. Maybe webpack-dev-server should pass the option sockjs_url to the SockJS server and so provide the correct version of sockjs-client without relying on a CDN ?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:10
  • Comments:18 (10 by maintainers)

github_iconTop GitHub Comments

4reactions
volkanunsalcommented, Nov 26, 2016

Any chance of releasing this fix for Webpack 1?

1reaction
arianrhodsandlotcommented, May 27, 2017

Hot Module Replacement is still unusable in webpack dev server V1 due to this bug. Will https://github.com/webpack/webpack-dev-server/pull/493 be backported for webpack 1?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Incompatibile SockJS! Main site uses: "1.1.4", the iframe: "1.0.0".
The only thing which I changed - I instructed Spring to load the local JS library: .setClientLibraryUrl("../webjars/sockjs-client/sockjs.min.js") ...
Read more >
Incompatibile SockJS! Main site uses: "1.1.4", the iframe: "1.0.0"
I am constantly getting this issue while trying to use sockjs-client with Waterfox 54.0.0.1 (64-bit) I've noticed that there is an ...
Read more >
Incompatibile SockJS! Main site uses: "1.4.0", the iframe: "1.0 ...
It turned to be the connection from browser to server took too much time, therefore sockjs-client tried to downgrade from websocket to http...
Read more >
Incompatibile Sockjs! Main Site Uses: "1.4.0" The Iframe: "1.0.0"
use of The SockJS client begins by sending GET /info to obtain basic information. kmsockjsclient JS library on Openbase sockjs 1.1.5 MIT 0...
Read more >
“1.5.0“, the iframe: “1.0.0“. at s (VM6 sockjs.min.js:2)版本问题
Incompatibile SockJS ! Main site uses: “1.5.0“, the iframe: “1.0.0“. at s (VM6 sockjs.min.js:2)今天启动服务的时候莫名其妙跳出这个报错, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found