Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fragile routing and no debug help #31

Open
davidmw opened this issue Oct 30, 2023 · 1 comment
Open

Fragile routing and no debug help #31

davidmw opened this issue Oct 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@davidmw
Copy link

davidmw commented Oct 30, 2023

When the proxies.json becomes longer than just a few routes it is quite difficult to identify and fix routing problems.

Seems like any error in any route will keep all routes from functioning. For one example, I had "backendUri": "https:/www....." missing a backslash in the URL. All routes stopped working until fixing this and the errored route was at the bottom of the file.

It would be great to have some debugging support but this isn't working:

By adding the flag "debug":true to any proxy in your proxies.json, you'll enable debug logging. Logs are stored in D:\home\LogFiles\Application\Proxies\DetailedTrace and accessible through the advanced tools (kudu). Any HTTP responses will also contain a Proxy-Trace-Location header with a URL to access the log file.

As far as I've been able to determine, the extension isn't generating any logs with visibility in Kudu and all errors / failures are silent so it is pretty tedious to determine if and which route is broken.

@davidmw
Copy link
Author

davidmw commented Oct 30, 2023

That quote above is from Microsoft documentation.

@shibayan shibayan added the enhancement New feature or request label Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants