이슈
- input 값 정상적으로 셋팅후 network > ws 에서 올리는것만 나오고 응답은 안받음
- 다시 보내면 그 다음 응답 받음.
- 그런데 그 후에 이상한 값이 계속 무한대로 떨어짐
해결
맨앞 4바이트의 값이 잘못됬음
정상
0000014931334331202020202020202020202020646f6d202020202057363131325330312020202020202020202020202020202020202020202020202020202020203030302e3030302e3030302e303030203030302e3030302e3030302e3030302030302d30302d30302d30302d30302d3030202020533031383238352020202020202020205748202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020207b7b2268223a2262617365222c2263223a225736313132533031222c226d223a22726563697665227d7d202020202020202020202020202020202020202020202020202020202020202020202020205553444b5257202020202020202020303030303131323032332020202020202033
총길이 : 659 / 2 = 149(hex)
00000149
이상한것
0000025831334320202020202020202020202020646F6D202020202057333335385330312020202020202020203631313020203030302E3030302E3030302E303030203030302E3030302E3030302E3030302030302D30302D30302D30302D30302D303020202053303139373232202020202020202020574820202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020206C67746D202020202020202020206D736964202020202020202020204120454E442020202020202020202020202020202020202020202020202020202020202020202020202020202020204B423020202020202020202020202020202020
총길이 : 601 / 2 = 300 : 12C(hex)
==> 수정
0000012C31334320202020202020202020202020646F6D202020202057333335385330312020202020202020203631313020203030302E3030302E3030302E303030203030302E3030302E3030302E3030302030302D30302D30302D30302D30302D303020202053303139373232202020202020202020574820202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020202020206C67746D202020202020202020206D736964202020202020202020204120454E442020202020202020202020202020202020202020202020202020202020202020202020202020202020204B423020202020202020202020202020202020
'프로그래밍 > Java' 카테고리의 다른 글
spring boot 이용한 JWT 로그인 로그아웃 토큰 유효성 검사 (0) | 2025.01.21 |
---|---|
spring boot gradle REST API 서버 테스트 구축 (1) | 2025.01.17 |
스프링에서 빈(Bean)을 등록하는 두가지 방법 (0) | 2024.12.19 |
vscode 에서 devtools 정상적으로 작동하지 않을때(자동리로드 안될때) (0) | 2024.12.13 |
spring boot 와 java EE(WebSocket API) 통합 방법 (0) | 2024.12.11 |