How to findout more about 404 error from Github pages? - fiddler

I have created a simple web page on GitHub and here is the url. I am now using fiddler to load it, and every time I load the page, I get a 404 error as well as a successful connection and download of the page, and I do not know why I get the 404 error. When I am logged into GitHub, and click on the clone button of my repo, the url is: https://github.com/InfosecureIT/InfosecureIT.github.io.git
How can I know what file the GitHub server is referring to when it says file can not be found?
# jpvillaisaza - Sure, the error is 404 file not found. is a picture, which would describe the error better.

The error you're getting is related to a missing favicon.ico file. Even though your HTML code doesn't specify a favicon, browsers can request it and display an error. This shouldn't be a problem with loading everything else, but you might want to either add a favicon picture, which will probably be better for your site, or find a way to avoid the favicon request (see How to prevent favicon.ico requests?, for example).

Related

Can't upload files to github - HTTP ERROR 400, crbug/1173575

I'm trying to upload some images to my github repo. In Firefox and Firefox developer edition, I'm getting a blank screen after I click "Commit changes", with an error in the console:
The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
In Chrome and in Edge, I get a mostly blank page with:
This page isn’t working. If the problem continues, contact the site owner. HTTP ERROR 400
And in the console:
Failed to load resource: the server responded with a status of 400 ()
VM9:7146 crbug/1173575, non-JS module files deprecated.
I can't find any information about what might be causing this and it doesn't seem to be happening to anyone else - it was working fine this morning, but is now failing in all browsers.
Edit: This is happening in both my Github accounts, so is not account specific.

Can not host a webpage on Github

I have a javascript and html snake game and I want to host it on github I do All the steps and make a gh-pages But I get this error 404 File not found ?when I search Username.github.io/repository-name
Any idea why and how I can fix it? Should I wait for github email After I do the commands??
Most web servers have a "default" page, e.g. index.html, that will be shown when the user doesn't request a particular page. GitHub Pages is no different.
Your repository contains a single file called snakeGame.html, which works just fine if you request it. Unfortunately, GitHub Pages doesn't know that this page should be shown by default. As far as it knows that file has no special meaning.
To get your page to show up at http://peggykh.github.io/Snake/ instead of http://peggykh.github.io/Snake/snakeGame.html, you should rename your file to index.html.

There is some errors releved from my GWT account

The GWT has sent the bellow message:
Dear webmaster,
Your smartphone users will be happier if they don’t land on error- or non-existent pages, so we recommend you make sure that your pages return the appropriate HTTP code. Currently, Googlebot for smartphones detects a significant increase in URLs returning a 200 (available) response code, but we think they should return an HTTP 404 (page not found) code.
Recommended actions
Check the Smartphone Crawl Errors page in Webmaster Tools.
Return a 404 (page not found) or 410 (gone) HTTP response code in response to a request for a non-existent URL.
Improve the user experience by configuring your site to display a custom 404 page when returning a 404 response code.
Now how to resolved this?
Have you made any significant changes lately? Like changing URLs to all pages?
First of, make sure your pages are available and working with the URLs. Try searching yourself on google with "site:yourdomain.com". Are these pages correct or do they not exist?
You should also check that IF your page does not exist (yourdomain.com/blahblah), it will return HTTP404 (Not found) and not HTTP200 (OK). You can see this in Chrome Developer Tools. Go to Network tab, reload the page, check the Status column for your HTML page.
How you change the HTTP code depends on your web server and language. In PHP you can use header().

Access Denied from aweber redirect

One of my pages in my domain is set up as a redirect from aweber, so when I confirm on the link on an email optin from aweber it redirects to this page MyPage.html and includes a welcome message with the name I signed up with.
Now granted I am not sure if this is something to do with aweber set up for redirect although it's very easy to do (basically paste the URL in settings you want to redirect to) and I have double/triple checked it. I also contacted aweber support who said it can be the javascript for personalisation embedded in the Head section of the redirect page that can cause this error. I have removed this code and can confirm it is not the javascript or redirect causing it hence my appearance here.
I also have another portion of the site using this redirect and personalisation and it works fine.
Now when I click on the link in my email from aweber it gives me this error:
Forbidden
You don't have permission to access /mypage.html on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an >ErrorDocument to handle the request.
And the redirect URL is below so I can see it is redirecting with my details ok but failing to give me access to the page.
mysite.com/mypage.html?email=myemail%40yahoo.co.uk&from=myemail%40yahoo.co.uk&meta_adtracking=my_web_site&meta_message=1001&name=MyName&unit=MyAweberListName&add_url=http%3A%2F%2Fwww.MySite.com%2FthankyouPage.html&add_notes=xx.xx.xx.xxx
All my pages have access permission 644 and the page is a copy of one of my other pages, which works fine, I've not added anything, changed anything, only removed text lines and graphics.
I just also tried remaking the landing page and it failed once more. Funnily enough though when I manually type the page into the URL bar up it comes; this worked before with the original page as well!
This works:
mysite.com/mypage.html
This [redirect] doesn't and gives the error described above
mysite.com/mypage.html?email=myemail%40yahoo.co.uk&from=myemail%40yahoo.co.uk&meta_adtracking=my_web_site&meta_message=1001&name=MyName&unit=MyAweberListName&add_url=http%3A%2F%2Fwww.MySite.com%2FthankyouPage.html&add_notes=xx.xx.xx.xxx
Any ideas on getting to the bottom of this would be greatly appreciated.
Host is hostgator

URL unreachable without error

I've updated my site with OG meta information, but it's not working perfectly. On this portal some article is unreachable for Facebook (Comments say about it). But when I paste URL in FB status, it can't load initial image and teaser for this article. This problem is not permanent, but too often to make me sad. Clicking on the link takes me to the developers.facebook.com/tools/lint? page, and can't say any error, everything seems to be fine. What can I do, can anybody help me?
Some URLs for checking (clicking on the debug page the error message disappear, and everything will be fine):
http://www.femcafe.hu/cikkek/celeb/jessica-simpson-2-millio-dollaros-szulese
http://www.femcafe.hu/cikkek/celeb/nem-haragszom-markra-interju-eden-kiraval
If you need more URLs, I can send more.
The new link for lint is :
http://developers.facebook.com/tools/debug
Make sure you don't have any redirects on your pages/links, it will scrape the last/final url.
Check if you have any cache issues etc.
I don't see any errors