504其他服务的帖子呼叫中的网关超时

问题描述 投票:0回答:0

504Gateway_TimeOut错误在呼叫Servicea的SpringbootMicroserviceb发布通话。

Servicea使用org.springframework.web.reactive.function.function.client.webclient用于邮政通话,其中邮政呼叫返回类型为无效(Mono

)。 Servicea没有任何回应,但有时会抛出504 the是例外快照< Void >

Error: org.springframework.web.reactive.function.client.WebClientResponseException$GatewayTimeout: 504 Guteway Timeout frue POST SpringbootMicroserviceB at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebclientResponseException.java:335)

我的问题是,然后没有被称为服务的响应,有超时错误即将到来吗?这是握手问题吗?解决方案是什么? thanks

venkatamadhu
    

diD您检查两个服务器之间的连接是否正确打开?通常,超时错误表示网络流问题。

spring-boot spring-webflux spring-restclient
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.