728x90
반응형
Error 내용
2022-07-25 01:02:53.066 INFO 32748 --- [nio-8080-exec-2] o.apache.coyote.http11.Http11Processor
: Error parsing HTTP request header
Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level.
java.lang.IllegalArgumentException: Invalid character found in method name
[0x160x030x010x000xca0x010x000x000xc60x030x03_.60x170xf30xb00xd00xee0xa70x1b0x8b0xf70x7
f0x1e0xb2!0xe5k0xba0xea0xcd0xd70x850xfe0xb6-$0x9db0xb7K0xab0x000x00h0xcc0x140xcc0x130xc
0/0xc0+0xc000xc0,0xc00x110xc00x070xc0'0xc0#0xc00x130xc00x090xc0(0xc0$0xc00x140xc00x0a0x
cc0x150x000x9e0x000x9f0x00g0x00k0x0030x0090x000x9c0x000x9d0x000x050x000x040x00<0x00=0x0
0/0x0050xc00x120x000x160x000x0a0x000x030x000x080x000x060x000x140x000x110x000x190x000x17
0x0020xc00x080x000x120x000x130x000x150x0080x00@0x00f0x00j0x000xa20x000xa30x010x000x0050
x000x050x000x050x010x000x000x000x000x000x0a0x000x080x000x060x000x170x000x180x000x190x00
0x0b0x000x020x010x000x000x0d0x000x0c0x000x0a0x040x010x040x030x020x010x020x030x020x020xf
f0x010x000x010x000x000x0f0x000x010x01...]. HTTP method names must be tokens
at org.apache.coyote.http11.Http11InputBuffer.parseRequestLine(Http11InputBuffer.java:419)
~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:271)
~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:
890) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1787)
~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1191) ~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
~[tomcat-embed-core-9.0.64.jar!/:na]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
~[tomcat-embed-core-9.0.64.jar!/:na]
at java.base/java.lang.Thread.run(Thread.java:833) ~[na:na]
문제 인식
- HTTPS로 접근했기 때문 HTTP로 접근해야합니다.
-> 근데 API를 호출하지 않은 시간에 로그 생성 되었기 때문에 이 문제는 아닐 것이라고 생각했습니다. - server.ssl 설정을 해줘야한다.
-> AWS EC2 서버에서 기존의 사용하고 있지 않은 HTTPS를 설정하라고 로그로 알림을 해주는 것?
-> HTTPS 설정을 한다면 로그가 멈출 것인가?
server.ssl 설정 방법
해결
알아보는중
728x90
반응형
'Project > Todo' 카테고리의 다른 글
[AWS EC2 ubuntu] Mac에서 서버 접속 설정 (2) | 2022.07.28 |
---|---|
[AWS EC2 Ubuntu] Spring Boot Timezone Change (0) | 2022.07.27 |
[Refactoring] RequestBody Null or Empty 예외 처리 (0) | 2022.07.27 |
[Git] update gitignore (2) | 2022.07.24 |
[AWS EC2 ubuntu] Todo 프로젝트 .jar 배포 (1) | 2022.07.21 |