Troubleshooting MathJax.js Load Error on PF Website

  • #1
KenJackson
63
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?
 
Physics news on Phys.org
  • #2
The .js is loading fine for me, and Latex is rendering properly.
 
  • #3
Works perfectly here.
 
  • #5
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.
 
  • Like
Likes Greg Bernhardt and Tom.G

Similar threads

Replies
4
Views
1K
Replies
13
Views
2K
Replies
11
Views
2K
Replies
3
Views
1K
Replies
25
Views
4K
Replies
8
Views
1K
Replies
17
Views
5K
Back
Top