GitHub Pages Can not access #22693
-
Hello, why can’t the connection generated after the current github build completes github pages be accessed? |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
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? |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
My GitHub username:Thomasvader Attach a picture |
Beta Was this translation helpful? Give feedback.
-
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 Thomasvader/YuXin/blob/3e47c77d20fd2dd6a9a6c82bb2b9e6ec8e5c91b4/index.html#L60
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 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 Thomasvader/YuXin/blob/0637eeb3480714e192bd767a43f15643ed9c8848/_config.yml#L17
|
Beta Was this translation helpful? Give feedback.
-
I changed the configuration file to reproduce the compilation, and it seems that the effect has not changed and it is not accessible. |
Beta Was this translation helpful? Give feedback.
-
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! |
Beta Was this translation helpful? Give feedback.
-
Does Github not support GitHub Pages? |
Beta Was this translation helpful? Give feedback.
-
I use Windows Ping to access thomasvader.github.io this URL returns 127.0.0.1. |
Beta Was this translation helpful? Give feedback.
-
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:
You may want to check if there’s something on your network that’s blocking access to |
Beta Was this translation helpful? Give feedback.
-
Sorry, China has banned DNS, which is really troublesome! |
Beta Was this translation helpful? Give feedback.
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
github.com/yuxin/
prepended to their links. For example, looking at the link to yourmain.css
file:Thomasvader/YuXin/blob/3e47c77d20fd2dd6a9a6c82bb2b9e6ec8e5c91b4/index.html#L60