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

HttpRequestMethodNotSupportedException: Request method 'HEAD' not supported #3711

Open
sentry-io bot opened this issue Mar 18, 2024 · 2 comments · May be fixed by oncokb/oncokb-public#1125 or #3747
Open

HttpRequestMethodNotSupportedException: Request method 'HEAD' not supported #3711

sentry-io bot opened this issue Mar 18, 2024 · 2 comments · May be fixed by oncokb/oncokb-public#1125 or #3747
Assignees
Labels

Comments

@sentry-io
Copy link

sentry-io bot commented Mar 18, 2024

Sentry Issue: ONCOKB-10X

HttpRequestMethodNotSupportedException: Request method 'HEAD' not supported
    at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:204)
    at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:383)
    at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:323)
    at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:62)
    at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:351)
...
(34 additional frame(s) were not displayed)

Request method 'HEAD' not supported
@jfkonecn
Copy link
Contributor

jfkonecn commented Apr 9, 2024

Seems like Onco Core is returning a 405 error to tell the client we support "HEAD" requests which seems like what we want it to do.
It looks like OncoKB Public proxy is throwing an exception which is why we're getting this alert.

@jfkonecn
Copy link
Contributor

jfkonecn commented May 1, 2024

This is a bug with OncoKB Core. HEAD should be a supported HTTP method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants