Spring 服务测试和线上同时出现 500

2022-03-03 14:40:11 +08:00
 fakeMaster

Spring Cloud Gateway 突然报错,重启后恢复正常,有大神知道什么原因嘛?

 [DiscoveryClient-CacheRefreshExecutor-0] ERROR [com.netflix.discovery.DiscoveryClient] DiscoveryClient.java:1532 - Cannot fetch registry from server
reactor.core.Exceptions$ErrorCallbackNotImplemented: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'regexp' to java.lang.String
Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'regexp' to java.lang.String
...

Caused by: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.UNIXProcess] to type [java.lang.String]
	at org.springframework.core.convert.support.GenericConversionService.handleConverterNotFound(GenericConversionService.java:321)
	at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:194)
1194 次点击
所在节点    问与答
2 条回复
laiyifa
2022-03-03 17:07:48 +08:00
fakeMaster
2022-03-04 10:56:51 +08:00
在 nginx 日志中看到了这个问题,目前是先把 gateway 的 Actuator 关闭了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/837695

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX