GitHub Pages Can not access

Hello, why can’t the connection generated after the current github build completes github pages be accessed?

I’m not quite sure what you mean. Are you having trouble loading a GitHub Pages site? If so, can you send a link to the page/repository you’re having trouble with?

GitHub Pages cannot be accessed

Generate static access resources. I don’t know what happened. It seems that all GitHub Pages are not accessible anymore.

My GitHub username:Thomasvader
project address:https://github.com/Thomasvader/YuXin

Attach a picture

Thanks for posting the link! I took a look at your site and it seems like it’s now loading the HTML content, but isn’t loading any CSS, JS, or other assets.

This looks like it’s happening because all of your asset links have /yuxin/ prepended to their links. For example, looking at the link to your main.css file:

GitHub Pages file servers are case sensitive so the case for these links needs to match the case or your repository name. As your repository is called YuXin any links that contain yuxin will lead to a 404.

Looking at how your site is built it seems like these links may be generated from a configuration file so you may want to update the url and root values here to match your site’s full URL and character case then redeploy your site:

1 Like

I changed the configuration file to reproduce the compilation, and it seems that the effect has not changed and it is not accessible.

Pages sites can take around 10 minutes to finish deploying after you make a push so if you visited your site too quickly after making that change then it’s likely you were still seeing the older version. Looks like it’s working now though!

https://thomasvader.github.io/YuXin/

1 Like

Does Github not support GitHub Pages?

I use Windows Ping to access thomasvader.github.io this URL returns 127.0.0.1.

20200819212002

From those results it looks like something is routing any requests to your site back to your local machine. Here’s what I get when I do the same:

% ping thomasvader.github.io
PING thomasvader.github.io (185.199.110.153): 56 data bytes
64 bytes from 185.199.110.153: icmp_seq=0 ttl=56 time=15.847 ms
64 bytes from 185.199.110.153: icmp_seq=1 ttl=56 time=22.277 ms
64 bytes from 185.199.110.153: icmp_seq=2 ttl=56 time=19.472 ms
64 bytes from 185.199.110.153: icmp_seq=3 ttl=56 time=22.716 ms

You may want to check if there’s something on your network that’s blocking access to github.io domains, or check you’ve not routed this domain to 127.0.0.1 in your hosts file.

Sorry, China has banned DNS, which is really troublesome!