Bobcares

Fix Magento 401 Unauthorised Access error easily

by | May 22, 2020

Hi, I am receiving a Magento 401 unauthorized access error on the  Web Setup Wizard. Can you please look into this immediately?

Our Support engineers receive a number of Magento related requests from webmasters, web hosts, and other online service providers as a part of our Magento Hosting Support. The request above is among them.

Magento 401 Unauthorised Access error is triggered due to a variety of reasons. It includes SSL settings conflicts, browser incompatibilities, etc. Today let’s look at the possible reasons for this error and its fixes.

 

What causes Magento 401 unauthorized access error?

The Setup Wizard helps to install and uninstall components, modules, and extensions, manage modules, upgrade your installation, and make changes to the Web setup of your Magento installation. But, at times users face “401 Unauthorised Access” while accessing the Setup Wizard due to a number of reasons. The common reasons to point out are:

  • Magento version incompatibilities.
  • Incompatibilities with SSL settings in Magento Configuration
  • Alternate reasons

Let us discuss in detail about each of these scenarios and how to fix them.

 

How to fix Magento 401 unauthorized access error?

Adjusting a few settings in the Magento configuration file can fix the Magento 401 unauthorized access error easily. This depends on the exact reason that triggered the error. The solution for each case is listed below:

 

Incompatibilities with SSL settings in Magento Configuration

The recommended and safe configuration for Magento is to enable SSL for Magento admin. However, at times, when we access the Web Setup wizard from the Magento Admin, it triggers a “401 unauthorized access” error. The URL redirects from https:// to http:// which triggers this error.

Adjusting the Magento Configuration using the steps below can fix this error.

    • Login to Magento Admin and Navigate to Configuration option in Store.

 

Magento 401 Unauthorised Access

 

    • While in the Configurations page, click on the Web section and then on  Base URLs (Secure) option.

 

Magento 401 Unauthorised Access

 

    • Once in the Base URLs (Secure) option, search for the Use Secure URLs on Storefront and Use Secure URLs in Admin options. Magento 401 Unauthorised Access

 

    • Uncheck the Use system value checkbox next to them.
    • Next update the following settings to the one given in the image.

Magento 401 Unauthorised Access

 

Finally, do not forget to Flush Magento Cache and Flush Cache Storage from Magento Admin. The Web Setup Wizard will be accessible now without any error message.

[Need help to fix Magento 401 Unauthorised Access error? We are available 24×7]

 

Magento version incompatibilities

At times, there can be incompatibilities with the Magento version installed. As a result, it can trigger the error “401 Unauthorised Access”.

For instance, recently we came across such an issue where the user was using a pretty old Magento version. A reinstallation to a much latest stable version fixed the issue here.

 

Alternate reasons

Apart from the reasons above, some conventional reasons can trigger the  Magento 401 unauthorized access error.

For example, at times it may be a simple browser incompatibility. If you are receiving the error on Google Chrome, simply try switching to the Firefox browser.

Surprisingly clearing the browser cache and cookies can also help in resolving the error message at times.

Therefore it is not a bad idea to use the common fixes that we try for any issue, like the ones mentioned above in this case as well.

 

Conclusion

In short, the Magento 401 Unauthorised Access error is triggered due to various reasons. Today we discussed some of the common reasons for this error and how our Support Engineers fix them.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF