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

Doesn't render in Chrome behind SSL #14

Open
nadeemja opened this issue Sep 22, 2016 · 7 comments
Open

Doesn't render in Chrome behind SSL #14

nadeemja opened this issue Sep 22, 2016 · 7 comments

Comments

@nadeemja
Copy link

Hello,

I've found that Meteor-mathjax fails to render (goes blank) when using SSL/HTTPS with Chrome.

Chrome without SSL works well.

Other browser work with SSL too.

Please help. Really urgent.

@apendua
Copy link
Owner

apendua commented Sep 22, 2016

@nadeemja Can you provide some error logs?

@apendua
Copy link
Owner

apendua commented Sep 22, 2016

@nadeemja Which version of Chrome exactly are you using?

@nadeemja
Copy link
Author

Dear @apendua,

It turned out to be the SSL configuration of CloudFlare that was problematic.
Switching from "Full (strict)" to "Flexible" solved the issue.

The only error was something about "A Parser-blocking, cross-origin script," in the console.
A yellow warning. It was related too a cloudflare.min.js file. I'm using the latest version of Chrome for mac. 53.0.2785.116 (64-bit)

I'm most grateful that you replied so soon. Thank you very much. :)

@apendua
Copy link
Owner

apendua commented Sep 23, 2016

@nadeemja Do you this issue is now solved?

@nadeemja
Copy link
Author

Dear @apendua,

Unfortunately, I was wrong. The SSL is not itself the problem. Rather it's some optimisation that CloudFlare does. SSL in Chrome is working now, however, I've had to turn off CloudFlare for now.

Have you experimented with CloudFlare?

@apendua
Copy link
Owner

apendua commented Sep 24, 2016

@nadeemja Yes, I was using CloudFlare in at least two project and I've never had major problems with their services. One important thing when you're using CloudFlare with a Meteor project is to make sure that the DDP traffic from your application bypasses CloudFlare entirely. Here's a good blog-post explaining the problem and how it can be solved:

https://meteorhacks.com/cloudflare-meets-meteor/

@nadeemja
Copy link
Author

Thank you for the suggestion, @apendua.
Recently, CloudFlare added support for DDP and it works fine.

I'll alert the CloudFlare of this as well. Perhaps they have some idea.

When was the last time you used CloudFlare with meteor-mathjax?

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

2 participants