V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
fakeMaster
V2EX  ›  问与答

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

  •  
  •   fakeMaster · 2022-03-03 14:40:11 +08:00 · 1180 次点击
    这是一个创建于 784 天前的主题,其中的信息可能已经有所发展或是发生改变。

    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)
    
    laiyifa
        1
    laiyifa  
       2022-03-03 17:07:48 +08:00
    fakeMaster
        2
    fakeMaster  
    OP
       2022-03-04 10:56:51 +08:00
    在 nginx 日志中看到了这个问题,目前是先把 gateway 的 Actuator 关闭了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1473 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:21 · PVG 01:21 · LAX 10:21 · JFK 13:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.