On EC2 instance I am giving wrong credentials for Basic Auth but getting 200 code and with same scenario while doing on local machine it is giving unauthorized exception | Community
Skip to main content
Level 2
October 4, 2022
Solved

On EC2 instance I am giving wrong credentials for Basic Auth but getting 200 code and with same scenario while doing on local machine it is giving unauthorized exception

  • October 4, 2022
  • 1 reply
  • 500 views

Please find the scenario below:

 
 
 

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SantoshSai

Hi @vandana_ratnaparkhi,

I'm not sure to what server you are accessing to, but looks like it's not AEM instance(which runs by default on port 4502) - unless you have configured custom port. Please check with the proper vendor to which you are trying to access server, that should solve your problem.

Hope that helps!

Regards,
Santosh

1 reply

SantoshSai
Community Advisor
SantoshSaiCommunity AdvisorAccepted solution
Community Advisor
November 27, 2022

Hi @vandana_ratnaparkhi,

I'm not sure to what server you are accessing to, but looks like it's not AEM instance(which runs by default on port 4502) - unless you have configured custom port. Please check with the proper vendor to which you are trying to access server, that should solve your problem.

Hope that helps!

Regards,
Santosh

Santosh Sai