You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2024. It is now read-only.
I was running this just fine against a test project and then one morning, it just quit working. It has to be something I've done, but I'm having trouble debugging it.
I launch the site in debug mode - the site comes up fine. I publish the site to Azure - the site comes up fine. But if I launch in debug mode and attempt to access it via an ngrok tunnel, my site just does nothing. The Inspect web page shows the call coming in and it looks find to me. Just nothing goes out.
I tried routing other sites using ngrok and they work fine.
I've tried using the VS2017 extension and the CLI launch - same each way.
I noticed when testing the other sites that I didn't have to grant permissions using netsh to handle those incoming requests and they still worked fine. I tried deleting the permissions for the site in question and it didn't help.
Ever hear of anything like this?
TIA
The text was updated successfully, but these errors were encountered:
Oh, I forgot. No exceptions showing the Output window, either. It's just silent. I'm not even sure where to put in the debugger to see what's not working.
Ok, after a ton of trial and error (because I don't know enough), it turns out to be an IIS problem, probably having to do with SSL.
Since it's a ASP.NET Core project, I simply launched it in self hosted mode and everything is back working. I don't have it in me to troubleshoot this anymore, so if you want to close it, that's fine.
It is true if you were hosting the app with SSL turned on, ngrok would not be able to tunnel to it. When I launch ngrok, I'm launching it with http mode, so it's not expecting SSL. If this becomes more common of an issue, we could look at having an option to launch ngrok in tls mode.
This is the oddest thing.
I was running this just fine against a test project and then one morning, it just quit working. It has to be something I've done, but I'm having trouble debugging it.
I launch the site in debug mode - the site comes up fine. I publish the site to Azure - the site comes up fine. But if I launch in debug mode and attempt to access it via an ngrok tunnel, my site just does nothing. The Inspect web page shows the call coming in and it looks find to me. Just nothing goes out.
I tried routing other sites using ngrok and they work fine.
I've tried using the VS2017 extension and the CLI launch - same each way.
I noticed when testing the other sites that I didn't have to grant permissions using netsh to handle those incoming requests and they still worked fine. I tried deleting the permissions for the site in question and it didn't help.
Ever hear of anything like this?
TIA
The text was updated successfully, but these errors were encountered: