Can't load MathJax.js

61
10
The web pages at PF include this script, which won't load, so latex is not rendered:
https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js

When I try to fetch it with curl, I get an error:
"Failed to connect to cdnjs.cloudfare.com port 443: Connection refused"

Am I the only one? Is latex being rendered for anyone right now? If it is, why can you access the script, but I can't?
 

Nugatory

Mentor
12,329
4,807
The .js is loading fine for me, and Latex is rendering properly.
 

Borek

Mentor
28,043
2,557
Works perfectly here.
 
17,540
7,142
Hopefully just a connection glitch. Any luck now ken?
 
61
10
Solved the problem. It was only on my PCs.

Over the years, I've been annoyed by various online ads, some that even seem to get through adblock plus. So I find the offending URL and define it to 127.0.0.1 in /etc/hosts. As it turned out, cdnjs.cloudflare.com must have hosted an annoying ad at some point because I had it in /etc/hosts.

I removed it and now everything is fine.
 

Want to reply to this thread?

"Can't load MathJax.js" You must log in or register to reply here.

Related Threads for: Can't load MathJax.js

  • Posted
Replies
6
Views
4K
  • Posted
Replies
1
Views
3K
  • Posted
Replies
4
Views
4K
  • Posted
Replies
5
Views
2K
  • Posted
Replies
15
Views
4K
  • Posted
Replies
3
Views
1K
  • Posted
Replies
15
Views
2K
  • Posted
Replies
7
Views
3K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top