简体   繁体   中英

User is not getting authenticated via Login Control ASP .NET

Infra Details:

We have a enterprise level .net application deployed on the AWS EC2 instances behind the load balancers (AWS ELB) and all the traffic is routed via F5 and AWS Route53.

Issue:

The issue I am facing is whenever a user with valid credentials tries to login into my application the user is getting error message - "User could not be authenticated" and somehow the username is getting replaced with unknown string 'hsilver'. this issue goes away if user clears his cookies / cache

I am more curious to know how can the username be replaced with unknown string (we do not have any code for setting the username in login control on login page.)

I could see some logs at IIS level which says - "Event code: 4005 Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired."

Still not able to relate from where the request is being returned to the browser and how the username getting replaced by unknown string 'hsilver'

我们可以确定根本原因,服务器在生产池中的时间之一由于某种原因不同步,因此ASP.NET无法解密从客户端收到的身份验证票证。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM