We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I do get more errors in the last time about "Unhandled exception in router".
I added logging:
router.route().failureHandler(routingContext -> { Throwable failure = routingContext.failure(); if (failure != null) { failure.printStackTrace(); } else { Server.log("A failue without throwable has occured:"); Server.log("RequestURL: " + routingContext.request().absoluteURI()); Server.log("Requested URL: " + routingContext.request().path()); Server.log("HTTP-Method: " + routingContext.request().method()); Server.log("Header: " + routingContext.request().headers()); Server.log("Body: " + routingContext.body().asString()); if (routingContext.request().authority() != null) { WebSK.log("Host: " + routingContext.request().authority().host()); } } routingContext.response().setStatusCode(404).end(); });
A failue without throwable has occured: RequestURL: http://example.com:443example.com:443 Requested URL: example.com:443 HTTP-Method: CONNECT Header: Host=example.com:443 User-Agent=Go-http-client/1.1 Body: null Host: http://example.com
Any ideas how to supress them (or correct this issue, its kind of annoying)...
The text was updated successfully, but these errors were encountered:
And why is routingContext.request().absoluteURI() doubled: "http://example.com:443example.com:443/"? Shouldn't that be "http://example.com:443"?
routingContext.request().absoluteURI()
http://example.com:443example.com:443/
http://example.com:443
Sorry, something went wrong.
Perhaps it is the client that is not working well? Can you enable traffic logging or capture it with Wireshark?
I cant reproduce that - I dont make the requests.
No branches or pull requests
I do get more errors in the last time about "Unhandled exception in router".
I added logging:
A failue without throwable has occured:
RequestURL: http://example.com:443example.com:443
Requested URL: example.com:443
HTTP-Method: CONNECT
Header: Host=example.com:443
User-Agent=Go-http-client/1.1
Body: null
Host: http://example.com
Any ideas how to supress them (or correct this issue, its kind of annoying)...
The text was updated successfully, but these errors were encountered: