# Server Error Status Code 520 during Auth0 Authentication

**URL:** <https://community.auth0.com/t/server-error-status-code-520-during-auth0-authentication/187512>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [June 3, 2025, 4:28am UTC](https://community.auth0.com/t/server-error-status-code-520-during-auth0-authentication/187512 "2025-06-03T04:28:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssvpdeveloper](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ssvpdeveloper/32/73637_2.png) [@ssvpdeveloper](https://community.auth0.com/u/ssvpdeveloper)\
**Post date:** [June 3, 2025, 4:28am UTC](https://community.auth0.com/t/server-error-status-code-520-during-auth0-authentication/187512/1 "2025-06-03T04:28:46Z")

</div>

After entering credentials in my .net 9 blazor (server) app:

 ![Screenshot 2025-06-02 221434](https://global.discourse-cdn.com/auth0/original/3X/e/6/e61142bbf1d8aff9c2c228b15889f82a1558529d.png)

We get the following error:

 ![Screenshot 2025-06-02 222103](https://global.discourse-cdn.com/auth0/original/3X/c/f/cfd448ce89fc7d7707726137216fdc9943eaa87a.png)

The error in the application event log:  
Faulting application name: w3wp.exe, version: 10.0.20348.1, time stamp: 0x405e4c14  
Faulting module name: pcre.dll, version: 0.0.0.0, time stamp: 0x63b62f6d  
Exception code: 0xc00000fd  
Fault offset: 0x0000000000010cee  
Faulting process id: 0x2010  
Faulting application start time: 0x01dbd43d7c27e0e7  
Faulting application path: c:\windows\system32\inetsrv\w3wp.exe  
Faulting module path: C:\Windows\System32\inetsrv\pcre.dll  
Report Id: a4afff58-86ad-493f-a9f5-b168546e361b

The auth0 logs show:

Successful Login and  
Success Exchange Authorization Code for Access Token

There are no issues when using unauthorized pages, so it’s happening during Authentication.

Any assistance would be greatly appreciated. I will post any updates as they occur.

Thank you!

---

<div class="post-metadata">

**Author:** ![teodor.andrei](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/teodor.andrei/32/75320_2.png) [@teodor.andrei](https://community.auth0.com/u/teodor.andrei)\
**Post date:** [June 3, 2025, 7:29am UTC](https://community.auth0.com/t/server-error-status-code-520-during-auth0-authentication/187512/2 "2025-06-03T07:29:13Z")

</div>

Hi, @ssvpdeveloper, and thank you for your question!

From the nature of the error and the successful login log you received, I would say the error has nothing to do with how you set up authentication with Auth0, and sadly it falls out of the scope of the support I can provide.

What I would do in your situation is check how the Blazor server is configured, adding logs and carefully debugging through the login process.

I wish you a great day!

Sincerely,  
Teodor.

---

<div class="post-metadata">

**Author:** ![ssvpdeveloper](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ssvpdeveloper/32/73637_2.png) [@ssvpdeveloper](https://community.auth0.com/u/ssvpdeveloper)\
**Post date:** [June 3, 2025, 3:51pm UTC](https://community.auth0.com/t/server-error-status-code-520-during-auth0-authentication/187512/3 "2025-06-03T15:51:53Z")

</div>

Thank you for your attention. I believe it is an auth0 config issue as I can use the application when no authorization is required.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 17, 2025, 3:52pm UTC](https://community.auth0.com/t/server-error-status-code-520-during-auth0-authentication/187512/4 "2025-06-17T15:52:46Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
