Navigation Menu

Skip to content
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

NOTICE: SockJS CDN will be retired on 1 Dec 2014 #198

Closed
brycekahle opened this issue Sep 25, 2014 · 15 comments
Closed

NOTICE: SockJS CDN will be retired on 1 Dec 2014 #198

brycekahle opened this issue Sep 25, 2014 · 15 comments

Comments

@brycekahle
Copy link
Contributor

This is a public notice that the SockJS CDN (cdn.sockjs.org) will be retired once SockJS v1.0 is released. The release date is currently unknown, but it will be at least later than Oct 9 2014 (2 weeks from today). You are advised to transition as soon as possible.

SockJS is currently available on the following public CDNs:

v1.0 will NOT be available on the SockJS CDN.

Discuss.

@3rd-Eden
Copy link

@brycekahle might be smart to release a version in the CDN which simply adds a console.log message stating that the CDN will be retired with a reference to this issue.

@brycekahle
Copy link
Contributor Author

@3rd-Eden That sounds like a good idea. Thanks.

@rstoyanchev
Copy link
Contributor

I quite like having the CDN option. Currently a SockJS server requires 0 configuration. Without it a SockJS URL would have to be configured, e.g. for the iframe_htmlfile transport, which is needed with Java servers (for the jsessionid cookie). Not a big deal but a very convenient default.

@brycekahle
Copy link
Contributor Author

@rstoyanchev We can easily switch the default to one of the CDNs listed above. It is quite expensive to have a custom CDN just for this.

@rstoyanchev
Copy link
Contributor

Right, I see. Are you actually pulling the plug in 2 weeks? We'll update the Spring Framework and fortunately we have releases next week but not everyone will upgrade within 2 weeks. A little extra time would go pretty far in causing the least disruption.

@brycekahle
Copy link
Contributor Author

How much more time do you need?

@majek
Copy link
Member

majek commented Sep 26, 2014

@rstoyanchev We will try to keep cdn.sockjs.org running at least to 1st Dec.

@rstoyanchev
Copy link
Contributor

sounds good thanks.

bclozel added a commit to spring-projects/spring-framework that referenced this issue Sep 26, 2014
This commit updates the default location of the SockJS' client library.
The previous location is being retired by the project maintainers.

The new default location is backed by several CDN providers:
* https://cdn.jsdelivr.net/sockjs/0.3.4/sockjs.min.js

See sockjs/sockjs-client#198

Issue: SPR-12254
bclozel added a commit to spring-projects/spring-framework that referenced this issue Sep 26, 2014
This commit updates the default location of the SockJS' client library.
The previous location is being retired by the project maintainers.

The new default location is backed by several CDN providers:
* https://cdn.jsdelivr.net/sockjs/0.3.4/sockjs.min.js

See sockjs/sockjs-client#198

Issue: SPR-12254
(cherry picked from commit a6e1c53)
@brycekahle
Copy link
Contributor Author

Warning added to CDN hosted versions for 0.3 (alias to 0.3.4), 0.3.2, and 0.3.4.

@brycekahle brycekahle changed the title NOTICE: SockJS CDN will be retired once version 1.0 is released NOTICE: SockJS CDN will be retired on 1 Dec 2014 Oct 21, 2014
@ryanjbaxter
Copy link

I assume this effects the websocket multiplex JS as well since it is also hosted in the same CDN server? In fact I am already getting a 403 for that file. What is the new CDN to use for that file?

@brycekahle
Copy link
Contributor Author

@ryanjbaxter I've posted the file in the releases. It is probably best if you host it yourself. I can see about getting that on jsDelivr if you like.

@bbigras
Copy link

bbigras commented Dec 29, 2014

I can see about getting that on jsDelivr if you like.

@brycekahle: It seems cdn.jsdelivr.net is listed on hosts-file.net as an "Ad/tracking server" and is therefore blocked by default by µMatrix.

@jimaek
Copy link

jimaek commented Dec 29, 2014

Going to contact them to change the classification.

@jimaek
Copy link

jimaek commented Dec 29, 2014

@BrunoQC cdn.jsdelivr.net was removed and got white-listed, meaning it wont happen again.
Really sorry about that

@bbigras
Copy link

bbigras commented Dec 29, 2014

@jimaek No problem. Thanks for the quick fix 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants