fakeMaster
V2EX  ›  问与答

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

  •  
  •   fakeMaster · Mar 3, 2022 · 2100 views
    This topic created in 1531 days ago, the information mentioned may be changed or developed.

    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  
       Mar 3, 2022
    fakeMaster
        2
    fakeMaster  
    OP
       Mar 4, 2022
    在 nginx 日志中看到了这个问题,目前是先把 gateway 的 Actuator 关闭了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3774 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 10:36 · PVG 18:36 · LAX 03:36 · JFK 06:36
    ♥ Do have faith in what you're doing.