backend-tech-forge / benchmark

A enterprise level performance testing solution. Taking inspiration from nGrinder, this project aims to develop a Spring Boot application mirroring nGrinder's functionality as closely as feasible.
MIT License
4 stars 0 forks source link

핫스팟으로 로컬작업 시, eureka service discovery 주소에러 #79

Closed ghkdqhrbals closed 7 months ago

ghkdqhrbals commented 7 months ago

현재 기차에서 핫스팟키고 로컬에서 유레카와 bm-controller, agent 를 전부 띄우고 작업중입니다.

다만, http://Gyuminui-MacBookAir.local:8081/api/status 이와 같은 주소를 webClient 가 읽지 못하는 문제가 발생했습니다ㅜㅜ

org.springframework.web.reactive.function.client.WebClientRequestException: Failed to resolve 'Gyuminui-MacBookAir.local' [A(1)]
    at org.springframework.web.reactive.function.client.ExchangeFunctions$DefaultExchangeFunction.lambda$wrapException$9(ExchangeFunctions.java:136) ~[spring-webflux-6.1.4.jar:6.1.4]
    Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
Error has been observed at the following site(s):
    *__checkpoint ⇢ Request to GET http://Gyuminui-MacBookAir.local:8081/api/status [DefaultWebClient]

실제로 요청했을 때는 아래와 같이 잘 받는 모습이 확인되었습니다.

image

아래는 eureka 서버입니다.

image