fakeMaster
V2EX  ›  问与答

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

  •  
  •   fakeMaster · Mar 3, 2022 · 2554 views
    This topic created in 1714 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)
    
    fakeMaster
    fakeMaster
    OP
    Mar 4, 2022
    2
    在 nginx 日志中看到了这个问题,目前是先把 gateway 的 Actuator 关闭了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4371 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 07:01 · PVG 15:01 · LAX 23:01 · JFK 02:01
    ♥ Do have faith in what you're doing.