SlideShare a Scribd company logo
1 of 13
9 Most Common HTTP
Errors Explained
Created By: Amit Kute (Quality Analyst)
Introduction
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 2
Apart from the 404 error, how many other HTML error pages do you know about? Have you ever thought about what happens in the
background when you seeanyofthese HTMLerror pageson your screen?
Thosecodesaremeantto conveyimportant information to the user.It canbeuseful to know them better, especially ifyou are awebsite
owner. Usingthem properly reducesyour bounce rate, improves your searchengine ranking andgivesyou knowledgeon the performanceof
your site.
UnderstandingStatusCodes
Behind every error pageyou seeon the webthere isanHTTPstatuscodesent by the web server.Statuscodescomein the format of 3 digit
numbers.Thefirst digit marksthe classof the status code:
 1XXstatuscodeshaveinformationalpurposes
 2XXindicatessuccess
 3XXisforredirection
Noneof these three classesresult in anHTMLerror pageasin this casesthe client knowswhat to do andgoeson with the task without
hesitation. What we usuallyseeare the 4XXand5XXkind:
 4XXrepresent client-sideerrors
 5XXsindicate problems on the serverside
HTML error pages are displayed in these cases because the client has no idea about what how to move on. Let’s see what happens in the
background when something goessouth andwhat you cando about it.
Client-Side Errors (4XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 3
400–BadRequest
Whenever the client sendsarequest the server isunable to understand, the 400Bad Requesterror pageshowsup. It usually happenswhen the
data sentby the browserdoesn’t respect the rulesof the HTTPprotocol, sothe webserver iscluelessabout how to processa request containinga
malformedsyntax.
When you seea400error pagethe reasonismost likely that there’s
something unstable on the client side: anot sufficientlyprotected
operating system,aninstableinternet connection,a
defective browseror acachingproblem. Soit’s alwaysagood idea to
test abityour own PCbefore youcontact the owner ofthe website.
Openthe samewebpagein adifferent browser,clearthe cache,and
checkif youare due with security updates. If you regularly meet the
400error on different sites, your PCor Macis awaiting athorough
securitycheckup.
Client-Side Errors (4XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 4
401–AuthorizationRequired
When there’s apassword-protectedweb pagebehind the client’s request, the server responds with a401Authorization requiredcode. 401doesn’t
return aclassicalerror messageat once, but apopup that asksthe userto provide alogin-passwordcombination.
If youhavethe credentials, everything isall right, and youcangoon withoutanyproblem and get
accessto the protected site. Otherwise youare redirected to the Authorization
Requirederror page.
If youare awebsiteowner, youcanaddthe samepassword-protection to your site or apart of it
through your cPanelaccount.
Clickon the “PasswordProtect Directories”
submenuinsidethe “Security“menu boxand
choosethe web folder you want to protect. It
canbe agoodsecurity layer to restrict accessto
your admin arealike the wp-admin folder ina
WordPresssite.
Client-Side Errors (4XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 5
403–Forbidden
Youcanencounter the 403Forbiddenerror pagewhen the server understands the
client’s request clearly, but for somereasonsrefusesto fulfil it. Thisisneither a
malformation nor an authorization problem. Byreturning the 403status codethe
server basicallyrejects the client with abig loud “No” withoutanyexplanation
Themost commonreasonisthat the websiteowner doesn’t permit visitors to browse
the file directory structure of the site. Whenthis kind of protection isenabledyou
can’t accessfolders directly onthe website.Theother frequent reasonisthat the
specificfile the client
requested doesn’t havethe permissionto be viewed from the web.
Youcanset 403protection for security reasonson your own site. It canbeuseful
to harden your site againstbeing hacked by hiding the directory structure or
files that contain vulnerable information.
Luckilymanyweb hostsprovide this serviceto their clientsby default, but if you
want to addan extra security layer,openyour cPanelaccount, navigateto the
Advanced menu box,andclick on Index Manager.
Hereyou cancustomize how your visitors view aspecificdirectory on your
site. If you chooseNoIndexing the client will receivean403error pageif it
tries to accessthe given directory.
Client-Side Errors (4XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 6
404– Not Found
404isthe most well-known HTTPstatuscodeout there, andyou havesurely read manygreat posts about how to customize 404pages.The
browser returns a404HTMLpagewhen the server doesn’t find anything on the requestedlocation.
Thereare two main scenariosthat canresult in a404NotFound page.Eitherthe
visitor mistyped the URL,or the permalink structure of the site hasbeenchangedandthe
incoming links point to pagesthat were moved to different locations.404error pages sometimescanappearon top level URLstoo. It usually
happens when asite hasrecently moved to another webserver andthe DNSstill points to the old location. Thiskind of problem usually
Youcanfind SEOexperts on the web who claim too many404shavea
negative effect onyour site’ssearchengine ranking, but Googleclaims
that “404 errors don’t impact your site’sranking in Google,andyou
cansafely ignore them” as404sare seenasanormal part of the webby
the searchengine.
Youmaywant toreduce the number of your 404sbecausethey increase
the bounce
rate (people wholeaveimmediately) of your site. Themostcommon
solution for this isusing 301redirects for permanently removed
pages,and302sfor those that are temporarily unavailable.
Client-Side Errors (4XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 7
408–RequestTime-Out
When the request of the client takestoo long, the servertimes out, closesthe connection,and the browserdisplaysa408RequestTime-Outerror
message.Thetime-out happensbecausethe server didn’t receive acomplete request from the client within the timeframe it wasprepared to
wait. Persistent408errors canoccur becauseof the heavyworkload on either the server or on the client’ssystem.
In somecasesboth endsof the connectionworkproperly but atemporary
internet surgeslows down the delivery of the message.Biggerwebsites tend
to customize408error pagesjust like mostof youdo, in caseof 404s.408
errors canusually be fixed by reloading the pagewith the help of the F5
button.
Client-Side Errors (4XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 8
410–Gone
The410Goneerror pageisvery closeto the well-known 404. Both meanthat the server doesn’t find the requested file, but while 404 suggests
that the target file maybeavailable somewhere on the server, 410indicates apermanentcondition.
410showsthe client that the resource wasmadeintentionally unavailable, andthe website owner wants incoming linksto be removed from
the Web. 404isusedwhen the server is unsure if the unavailability of the file ispermanent, but 410alwaysindicates acomplete certainty.
If you are in chargeof your own server, it’s important to understand how
404sand410sare treated differently byGooglecrawlers.In this video Matt
Cutts, Google’sheadof searchspam explains the gist of this distinction. It’s a
goodidea to distinguish between 404and410to enhanceyour Google-
friendliness.
Server-Side Errors (5XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 9
500–Internal ServerError
Internal ServerError isthe most well-known server error, asit’s usedwhenever the server encounters anunexpected condition that prevents it
fromfulfilling the client’s request. The500 error codeisageneric one,it’s returned when no other server-side 5XXerror codesmakeany sense.
Althoughin this casethe problem isnot on your end, youcando
somethings to resolve it such asreload the page(asthe error maybe
temporary), clearyour browser’s cache(asthe issue mayoccur with
the cachedversion of the site), anddelete your browser’s cookies
andrestart the browser.
Youcanalsocontact the webmaster (like in caseof anyother server-
side problems) –they may be grateful for your contribution but
there’s alsoachancethat they are aware of the problem and already
working onit.
If youencounter the 500error pageon your ownsite, it will be
wiseto contact yourhosting provider. Thereasonismost likely a
permissionerror, acorrupt .htaccessfile or atoo low memory
limit. If you haveaWordPresssite, the 500error canalsocaused
by athird party plugin; you cantest this by deactivating your
plugins,oneby one,until the culprit isfound.
Server-Side Errors (5XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 10
502–BadGateway
The502error messagerepresents acommunicationproblem between two servers.It occurs when the client connectsto aserver acting asa
gateway or aproxy that needsto accessan upstream server that provides additional serviceto it. Theother server islocatedhigher in the
server hierarchy.It canbefor exampleanApacheweb server that’s
accessedby aproxyserver, or the nameserver of alarge internet
serviceprovider that’s accessedby alocal nameserver.
When youencounter the BadGatewayerror pagethe server
receivesaninvalid responsefrom anupstream server.
In most casesit doesn’t meanthat the upstream server isdown but
that the two communicating serversdon’t agreeon the protocol
about how toexchangedata. Thisusually happenswhen oneof the
machinesisincorrectly configured or programmed. Contact your
hosting provider if you see502on your ownsite.
Server-Side Errors (5XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 11
503–ServiceTemporarily Unavailable
Youseethe ServiceTemporarilyUnavailable (sometimesOutofResources)messageanytime there’s atemporary overload on the server, or when it’s
goingthrough ascheduled maintenance. The503error codemeansthat the web server iscurrently not available. Thisis usually atemporary
condition that will be resolved aftersomedelay.
If you are awebsite owner it’s important to haveappropriate
knowledgeabout the 503status codeto properly handle scheduled
maintenance.If youdon’t handlescheduled maintenance in the
correct way,you mayhurt the searchengine ranking of your site.
Learnhow to dothis viathis tutorial onYoast’sSEOblog or this one
on moz.com.
Server-Side Errors (5XX)
CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 12
504–GatewayTime-Out
Thereisaserver-server communicationproblem behind the Gateway Time-Outerror message, just like behindthe 502 BadGateway error code.
When the 504statuscodeisreturned there’s alsoahigher-levelserver in the background that issupposedto senddata to the server that is
connectedto our client. In this casethe lower-level server doesn’t receiveatimely response from the upstream serveritaccessed.
Thisisthe sametime-out problem that occursin caseof the 408RequestTime-Outstatuscode, but here it doesn’t happen between the client and
the server but between two serversin the backend. TheGateway Time-Outerror pageusually indicates slowcommunicationbetween the two
servers,andit canalsohappenthat the higher-levelserver iscompletely down.
As504isanetwork problem in the background only people who haveaccessto
that network cansolveit. Aswith other server-side HTTPerrors, sometimes
it’s enoughto refreshthe pagea few minutes later to tackle the issue–of
courseonly if the serviceproviderswork on the problem meanwhile.
Thank You…..!
CREATED BY: AMIT KUTE (QUALITY ANALYST) 13

More Related Content

Similar to 9 Most Common HTTP Errors Explained

Information on Various HTTP Error Codes
Information on Various HTTP Error CodesInformation on Various HTTP Error Codes
Information on Various HTTP Error CodesHTS Hosting
 
How to fix 504 Gateway Timeout Error on your WordPress Website?
How to fix 504 Gateway Timeout Error on your WordPress Website?How to fix 504 Gateway Timeout Error on your WordPress Website?
How to fix 504 Gateway Timeout Error on your WordPress Website?Anny Rathore
 
Starting with varnish cache
Starting with varnish cacheStarting with varnish cache
Starting with varnish cacheRobert Richelieu
 
Crud tutorial en
Crud tutorial enCrud tutorial en
Crud tutorial enforkgrown
 
How to Fix Error 404 in Wordpress
How to Fix Error 404 in WordpressHow to Fix Error 404 in Wordpress
How to Fix Error 404 in WordpressAnny Rathore
 
Comparative Development Methodologies
Comparative Development MethodologiesComparative Development Methodologies
Comparative Development Methodologieselliando dias
 
How to know if your WordPress Website is hacked Get the Inside Story.ppt
How to know if your WordPress Website is hacked Get the Inside Story.pptHow to know if your WordPress Website is hacked Get the Inside Story.ppt
How to know if your WordPress Website is hacked Get the Inside Story.pptSaurabh Srivastava
 
Tips to improve word press security ppt
Tips to improve word press security pptTips to improve word press security ppt
Tips to improve word press security pptCheap SSL Coupon Code
 
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...Jeremiah Grossman
 
CBT_Guidelines
CBT_GuidelinesCBT_Guidelines
CBT_GuidelinesZakia Taqi
 
Magento security best practices magento's approach to pci compliance
Magento security best practices  magento's approach to pci complianceMagento security best practices  magento's approach to pci compliance
Magento security best practices magento's approach to pci complianceRitwik Das
 
SCWCD : Handling exceptions : CHAP : 5
SCWCD : Handling exceptions : CHAP : 5SCWCD : Handling exceptions : CHAP : 5
SCWCD : Handling exceptions : CHAP : 5Ben Abdallah Helmi
 
How to fix error 404 not found on word press
How to fix error 404 not found on word pressHow to fix error 404 not found on word press
How to fix error 404 not found on word pressAnny Rathore
 
SSL and Wordpress
SSL and WordpressSSL and Wordpress
SSL and WordpressPeg Perry
 
Creating a Custom 404 Error Page
Creating a Custom 404 Error PageCreating a Custom 404 Error Page
Creating a Custom 404 Error Pageronintampabay
 
Online Bank Hack
Online Bank HackOnline Bank Hack
Online Bank HackCaleb Sima
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014Judy Wilson
 
Citrix Store front planning guide
Citrix Store front planning guideCitrix Store front planning guide
Citrix Store front planning guideNuno Alves
 

Similar to 9 Most Common HTTP Errors Explained (20)

Information on Various HTTP Error Codes
Information on Various HTTP Error CodesInformation on Various HTTP Error Codes
Information on Various HTTP Error Codes
 
Apache error
Apache errorApache error
Apache error
 
How to fix 504 Gateway Timeout Error on your WordPress Website?
How to fix 504 Gateway Timeout Error on your WordPress Website?How to fix 504 Gateway Timeout Error on your WordPress Website?
How to fix 504 Gateway Timeout Error on your WordPress Website?
 
Starting with varnish cache
Starting with varnish cacheStarting with varnish cache
Starting with varnish cache
 
Crud tutorial en
Crud tutorial enCrud tutorial en
Crud tutorial en
 
How to Fix Error 404 in Wordpress
How to Fix Error 404 in WordpressHow to Fix Error 404 in Wordpress
How to Fix Error 404 in Wordpress
 
Comparative Development Methodologies
Comparative Development MethodologiesComparative Development Methodologies
Comparative Development Methodologies
 
How to know if your WordPress Website is hacked Get the Inside Story.ppt
How to know if your WordPress Website is hacked Get the Inside Story.pptHow to know if your WordPress Website is hacked Get the Inside Story.ppt
How to know if your WordPress Website is hacked Get the Inside Story.ppt
 
Tips to improve word press security ppt
Tips to improve word press security pptTips to improve word press security ppt
Tips to improve word press security ppt
 
Class 38
Class 38Class 38
Class 38
 
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
Identifying Web Servers: A First-look Into the Future of Web Server Fingerpri...
 
CBT_Guidelines
CBT_GuidelinesCBT_Guidelines
CBT_Guidelines
 
Magento security best practices magento's approach to pci compliance
Magento security best practices  magento's approach to pci complianceMagento security best practices  magento's approach to pci compliance
Magento security best practices magento's approach to pci compliance
 
SCWCD : Handling exceptions : CHAP : 5
SCWCD : Handling exceptions : CHAP : 5SCWCD : Handling exceptions : CHAP : 5
SCWCD : Handling exceptions : CHAP : 5
 
How to fix error 404 not found on word press
How to fix error 404 not found on word pressHow to fix error 404 not found on word press
How to fix error 404 not found on word press
 
SSL and Wordpress
SSL and WordpressSSL and Wordpress
SSL and Wordpress
 
Creating a Custom 404 Error Page
Creating a Custom 404 Error PageCreating a Custom 404 Error Page
Creating a Custom 404 Error Page
 
Online Bank Hack
Online Bank HackOnline Bank Hack
Online Bank Hack
 
WordPress Resources Nov 2014
WordPress Resources Nov 2014WordPress Resources Nov 2014
WordPress Resources Nov 2014
 
Citrix Store front planning guide
Citrix Store front planning guideCitrix Store front planning guide
Citrix Store front planning guide
 

Recently uploaded

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 

Recently uploaded (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

9 Most Common HTTP Errors Explained

  • 1. 9 Most Common HTTP Errors Explained Created By: Amit Kute (Quality Analyst)
  • 2. Introduction CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 2 Apart from the 404 error, how many other HTML error pages do you know about? Have you ever thought about what happens in the background when you seeanyofthese HTMLerror pageson your screen? Thosecodesaremeantto conveyimportant information to the user.It canbeuseful to know them better, especially ifyou are awebsite owner. Usingthem properly reducesyour bounce rate, improves your searchengine ranking andgivesyou knowledgeon the performanceof your site. UnderstandingStatusCodes Behind every error pageyou seeon the webthere isanHTTPstatuscodesent by the web server.Statuscodescomein the format of 3 digit numbers.Thefirst digit marksthe classof the status code:  1XXstatuscodeshaveinformationalpurposes  2XXindicatessuccess  3XXisforredirection Noneof these three classesresult in anHTMLerror pageasin this casesthe client knowswhat to do andgoeson with the task without hesitation. What we usuallyseeare the 4XXand5XXkind:  4XXrepresent client-sideerrors  5XXsindicate problems on the serverside HTML error pages are displayed in these cases because the client has no idea about what how to move on. Let’s see what happens in the background when something goessouth andwhat you cando about it.
  • 3. Client-Side Errors (4XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 3 400–BadRequest Whenever the client sendsarequest the server isunable to understand, the 400Bad Requesterror pageshowsup. It usually happenswhen the data sentby the browserdoesn’t respect the rulesof the HTTPprotocol, sothe webserver iscluelessabout how to processa request containinga malformedsyntax. When you seea400error pagethe reasonismost likely that there’s something unstable on the client side: anot sufficientlyprotected operating system,aninstableinternet connection,a defective browseror acachingproblem. Soit’s alwaysagood idea to test abityour own PCbefore youcontact the owner ofthe website. Openthe samewebpagein adifferent browser,clearthe cache,and checkif youare due with security updates. If you regularly meet the 400error on different sites, your PCor Macis awaiting athorough securitycheckup.
  • 4. Client-Side Errors (4XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 4 401–AuthorizationRequired When there’s apassword-protectedweb pagebehind the client’s request, the server responds with a401Authorization requiredcode. 401doesn’t return aclassicalerror messageat once, but apopup that asksthe userto provide alogin-passwordcombination. If youhavethe credentials, everything isall right, and youcangoon withoutanyproblem and get accessto the protected site. Otherwise youare redirected to the Authorization Requirederror page. If youare awebsiteowner, youcanaddthe samepassword-protection to your site or apart of it through your cPanelaccount. Clickon the “PasswordProtect Directories” submenuinsidethe “Security“menu boxand choosethe web folder you want to protect. It canbe agoodsecurity layer to restrict accessto your admin arealike the wp-admin folder ina WordPresssite.
  • 5. Client-Side Errors (4XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 5 403–Forbidden Youcanencounter the 403Forbiddenerror pagewhen the server understands the client’s request clearly, but for somereasonsrefusesto fulfil it. Thisisneither a malformation nor an authorization problem. Byreturning the 403status codethe server basicallyrejects the client with abig loud “No” withoutanyexplanation Themost commonreasonisthat the websiteowner doesn’t permit visitors to browse the file directory structure of the site. Whenthis kind of protection isenabledyou can’t accessfolders directly onthe website.Theother frequent reasonisthat the specificfile the client requested doesn’t havethe permissionto be viewed from the web. Youcanset 403protection for security reasonson your own site. It canbeuseful to harden your site againstbeing hacked by hiding the directory structure or files that contain vulnerable information. Luckilymanyweb hostsprovide this serviceto their clientsby default, but if you want to addan extra security layer,openyour cPanelaccount, navigateto the Advanced menu box,andclick on Index Manager. Hereyou cancustomize how your visitors view aspecificdirectory on your site. If you chooseNoIndexing the client will receivean403error pageif it tries to accessthe given directory.
  • 6. Client-Side Errors (4XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 6 404– Not Found 404isthe most well-known HTTPstatuscodeout there, andyou havesurely read manygreat posts about how to customize 404pages.The browser returns a404HTMLpagewhen the server doesn’t find anything on the requestedlocation. Thereare two main scenariosthat canresult in a404NotFound page.Eitherthe visitor mistyped the URL,or the permalink structure of the site hasbeenchangedandthe incoming links point to pagesthat were moved to different locations.404error pages sometimescanappearon top level URLstoo. It usually happens when asite hasrecently moved to another webserver andthe DNSstill points to the old location. Thiskind of problem usually Youcanfind SEOexperts on the web who claim too many404shavea negative effect onyour site’ssearchengine ranking, but Googleclaims that “404 errors don’t impact your site’sranking in Google,andyou cansafely ignore them” as404sare seenasanormal part of the webby the searchengine. Youmaywant toreduce the number of your 404sbecausethey increase the bounce rate (people wholeaveimmediately) of your site. Themostcommon solution for this isusing 301redirects for permanently removed pages,and302sfor those that are temporarily unavailable.
  • 7. Client-Side Errors (4XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 7 408–RequestTime-Out When the request of the client takestoo long, the servertimes out, closesthe connection,and the browserdisplaysa408RequestTime-Outerror message.Thetime-out happensbecausethe server didn’t receive acomplete request from the client within the timeframe it wasprepared to wait. Persistent408errors canoccur becauseof the heavyworkload on either the server or on the client’ssystem. In somecasesboth endsof the connectionworkproperly but atemporary internet surgeslows down the delivery of the message.Biggerwebsites tend to customize408error pagesjust like mostof youdo, in caseof 404s.408 errors canusually be fixed by reloading the pagewith the help of the F5 button.
  • 8. Client-Side Errors (4XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 8 410–Gone The410Goneerror pageisvery closeto the well-known 404. Both meanthat the server doesn’t find the requested file, but while 404 suggests that the target file maybeavailable somewhere on the server, 410indicates apermanentcondition. 410showsthe client that the resource wasmadeintentionally unavailable, andthe website owner wants incoming linksto be removed from the Web. 404isusedwhen the server is unsure if the unavailability of the file ispermanent, but 410alwaysindicates acomplete certainty. If you are in chargeof your own server, it’s important to understand how 404sand410sare treated differently byGooglecrawlers.In this video Matt Cutts, Google’sheadof searchspam explains the gist of this distinction. It’s a goodidea to distinguish between 404and410to enhanceyour Google- friendliness.
  • 9. Server-Side Errors (5XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 9 500–Internal ServerError Internal ServerError isthe most well-known server error, asit’s usedwhenever the server encounters anunexpected condition that prevents it fromfulfilling the client’s request. The500 error codeisageneric one,it’s returned when no other server-side 5XXerror codesmakeany sense. Althoughin this casethe problem isnot on your end, youcando somethings to resolve it such asreload the page(asthe error maybe temporary), clearyour browser’s cache(asthe issue mayoccur with the cachedversion of the site), anddelete your browser’s cookies andrestart the browser. Youcanalsocontact the webmaster (like in caseof anyother server- side problems) –they may be grateful for your contribution but there’s alsoachancethat they are aware of the problem and already working onit. If youencounter the 500error pageon your ownsite, it will be wiseto contact yourhosting provider. Thereasonismost likely a permissionerror, acorrupt .htaccessfile or atoo low memory limit. If you haveaWordPresssite, the 500error canalsocaused by athird party plugin; you cantest this by deactivating your plugins,oneby one,until the culprit isfound.
  • 10. Server-Side Errors (5XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 10 502–BadGateway The502error messagerepresents acommunicationproblem between two servers.It occurs when the client connectsto aserver acting asa gateway or aproxy that needsto accessan upstream server that provides additional serviceto it. Theother server islocatedhigher in the server hierarchy.It canbefor exampleanApacheweb server that’s accessedby aproxyserver, or the nameserver of alarge internet serviceprovider that’s accessedby alocal nameserver. When youencounter the BadGatewayerror pagethe server receivesaninvalid responsefrom anupstream server. In most casesit doesn’t meanthat the upstream server isdown but that the two communicating serversdon’t agreeon the protocol about how toexchangedata. Thisusually happenswhen oneof the machinesisincorrectly configured or programmed. Contact your hosting provider if you see502on your ownsite.
  • 11. Server-Side Errors (5XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 11 503–ServiceTemporarily Unavailable Youseethe ServiceTemporarilyUnavailable (sometimesOutofResources)messageanytime there’s atemporary overload on the server, or when it’s goingthrough ascheduled maintenance. The503error codemeansthat the web server iscurrently not available. Thisis usually atemporary condition that will be resolved aftersomedelay. If you are awebsite owner it’s important to haveappropriate knowledgeabout the 503status codeto properly handle scheduled maintenance.If youdon’t handlescheduled maintenance in the correct way,you mayhurt the searchengine ranking of your site. Learnhow to dothis viathis tutorial onYoast’sSEOblog or this one on moz.com.
  • 12. Server-Side Errors (5XX) CREATED BY: AMIT KUTE (QUALITY ANALYST)Slide No. 12 504–GatewayTime-Out Thereisaserver-server communicationproblem behind the Gateway Time-Outerror message, just like behindthe 502 BadGateway error code. When the 504statuscodeisreturned there’s alsoahigher-levelserver in the background that issupposedto senddata to the server that is connectedto our client. In this casethe lower-level server doesn’t receiveatimely response from the upstream serveritaccessed. Thisisthe sametime-out problem that occursin caseof the 408RequestTime-Outstatuscode, but here it doesn’t happen between the client and the server but between two serversin the backend. TheGateway Time-Outerror pageusually indicates slowcommunicationbetween the two servers,andit canalsohappenthat the higher-levelserver iscompletely down. As504isanetwork problem in the background only people who haveaccessto that network cansolveit. Aswith other server-side HTTPerrors, sometimes it’s enoughto refreshthe pagea few minutes later to tackle the issue–of courseonly if the serviceproviderswork on the problem meanwhile.
  • 13. Thank You…..! CREATED BY: AMIT KUTE (QUALITY ANALYST) 13