We came across it in ApiUrlConfig and couldn't identify what that value does exactly
private const string DefaultHostUrl = "http://localhost:22742/"; //TODO: Replace with PROD url.
I tried looking for tickets referencing it and they seem to suggest that it is used in Xamarin development
We have never changed that value and the project seems to work fine in development and in PROD environments
We are using 8.3.1 Angular/.NETCore application
https://stackoverflow.com/questions/20146410/computer-blocking-cors-options-request https://www.bennadel.com/blog/2559-cisco-anyconnect-vpn-client-may-block-cors-ajax-options-requests.htm
its an issue with the VPN in question - closing ticket
I found these threads outlining our issues when connecting with a VPN to our sites but I am unable to understand what can be done to correct the issue
3 years ago: https://support.aspnetzero.com/QA/Questions/3669 4 years ago: https://support.aspnetzero.com/QA/Questions/701
I am using Angular/.NET Core build 8.3.1
The UI seems to load but no connection is made in an attempt to access the API - just as mentioned in those previous tickets
What needs to be done on our end to ensure our VPN clients are able to use the software?
I can hit the Swagger page from a local browser I can hit the WebUI page from local and external I was never able to ping the API from outside of the virutal machine
there was 2 consistent errors from what I can remember The first was relating to CORS mismatch, the second failed in the first GetAll method like when it can't find the API
to confirm, no one else is reporting SSL issues and you guys are able to test that there is no issue on the application, correct?
I am hosting my Angular/.NETCore 8.3.1 application through an Azure Windows VM hosting the API and WebUI with IIS and attempting to use SSL/HTTPS (port 44301 or any other) and causes application to not respond It would seem that the UI is able to hit the vm-site files (HTTP port 80) but fails to ever attempt to access the API files
Within the VM I can see that using a browser I can hit the API and it does load up (based on system and API logs)
Whenever the WebUI attempts to reach the API it fails to even make the attempt to hit the API (based on server log and API log inactivity)
There was a case during troubleshooting that I can see that the WebUI would attempt to hit the API and it would get rejected due to CORS
Is there any documentation that walks through standing up the site with a wildcard SSL and getting the application to run on HTTPS
what do the API logs say?
is there anything in AbpSession.TenantId variable?
What is your product version? What is your product type (Angular or MVC)? What is product framework type (.net framework or .net core)? Can you share the steps to reproduce the problem?
(Not for me but they're going to ask before answering so figured id give you a heads start)