Hi Support Team,
I have been generated an abp solution with Separated Identity Server. It worked well when launching from VS 2019, but when i tried to hosting all project (Indentity & Api Host) in IIS 8, it did'nt work. When i login from the front end, it returned the page as below
And when i refresh this page, it return to the home page as below
Is there any configuration that i missed when hosting them into IIS?
10 Answer(s)
-
0
-
0
I don't think that 's a problem with hosting Identity Server, because it work well
-
0
So what is the problem now?
-
0
I cannot login from angular site when i was hosting both of them on the IIS.
-
0
What is the error?
Can you share the HTTP request message
-
0
@DRPDEV: you've got the same my issue. And I posted to another thread but still not resolve
https://support.abp.io/QA/Questions/72/Angular-UI-Administration-menus-are-not-showed-abp-version-is-230@liangshiwei: Can you refer to my link above to check ? I provided full of screenshots of the problem
-
0
Can you provide complete steps to reproduce the problem?
-
0
Hi @liangshiwei,
the complete dteps are publish IdentityServer project, publish *.Host project, puslish angular project and then deploy all to 1 server with IIS, configure connection string then browse. Its the common basic steps and I know that. and @DRPDEV got the same problem
If you can check, I will send the package privately to you for checking
-
0
Hi
I find the problem, In a production environment you should use a trusted https certificate.
Check your.Api.Host
logs, you can see theUnable to obtain configuration from: xxx
error message.If your don't have any https certificate, you can use the development certificate provided by ASP.NET Core in IIS :
Open your browser and navigate to
https://localhost
:Now, it's works fine.
-
1
Hi @liangshiwei,
Thanks for your support. This unsecured ssl cause the problem. Now I can fix it