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
Oct 4, 2022 10:24 AM UTC
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

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.
SantoshSai
SantoshSaiAccepted solution
New Participant
Nov 27, 2022 10:17 PM UTC

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

1 reply

SantoshSai
SantoshSaiAccepted solution
New Participant
Nov 27, 2022 10:17 PM UTC

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

Translate
Santosh Sai