Duende.IdentityServer.Admin icon indicating copy to clipboard operation
Duende.IdentityServer.Admin copied to clipboard

Unable to start admin

Open Fabio7586 opened this issue 3 years ago • 6 comments

Hello, i cannot able to start Admin proj.

Swagger and sts works flawless but when start Admin in iis express this is result.

2022-02-08_151200

What am I doing wrong?

Thank you

Fabio7586 avatar Feb 08 '22 14:02 Fabio7586

Please check the ports and processes that are running on them. Most likely the admin project tries to find the sts on a port that is not listening (you can't just start admin alone, it needs the sts)

rpbrongers avatar Feb 10 '22 17:02 rpbrongers

Please check the ports and processes that are running on them. Most likely the admin project tries to find the sts on a port that is not listening (you can't just start admin alone, it needs the sts)

indicating admin in the subdomain, i typed "admn" instead admin and it didn't wrong. Anyway Thank you for support.

Fabio7586 avatar Feb 10 '22 21:02 Fabio7586

I have the same issue, but with deployed in the Azure project. Locally everything works fine, but when I deployed sts and admin projects to Azure, I started to receive such kind of error. In addition, I have this issue not only with the admin project. For other Clients connected to the identity server, I'm getting access tokens, but through validating this token in my .net core project, I'm getting this issue. Might it be connected with token singing or whatever? I use the Azure web app on Linux.

Diponchik avatar Mar 17 '22 09:03 Diponchik

I found a solution for my case. The reason was VPN restrictions, which blocked access from the admin to the STS project. So I just added IPs addresses to the whitelist and it begin working. So, if you encountered this problem, firstly check access between apps.

Diponchik avatar Mar 18 '22 08:03 Diponchik

@Diponchik can you elaborate how you fixed the VPN restrictions? Did you deploy the apps inside K8S or simple Azure App Services? I am using Azure K8S with Docker deployed containers and I am facing the same issue with sts service not being reachable from admin service.

apetrut avatar Mar 01 '23 13:03 apetrut

@apetrut I had a service plan with a few service apps on it. But for the admin APP, I added a few restrictions in the network configuration, to make it work under VPN only. Therefore IS app couldn't get access to the Admin app. So I added a couple of IPs to the white list and resolved the issue.

Diponchik avatar Mar 06 '23 13:03 Diponchik