2023-踩坑记录

@Value没有被注入到Controller中- 2023-12-21

  • 接口写的是private修饰,没有被spring代理到
  • 还有一种原因是application.yml中的定义有特殊字符如%号

Elasticsearch中,整数类型的字段默认值是0 - 2023-12-12

  • 不要把业务字段的值设置为0,不然有冲突

第三方回调泳道问题 - 2023-12-11

pulsar 版本问题

*-third-user-web

从1.1.3-SR2-SNAPSHOT 升级 到 1.1.7-SNAPSHOT,不然泳道有问题

但测试环境还有其他pod使用老版本,这样消息就会重复

泳道排查问题 文档

(相关文档:pulsar泳道)

(相关文档:测试环境常见问题排查)

泳道问题 - 2023-07-27

[no healthy upstream]

[503 Service Unavailable] during [POST] to [http://bi-cosmos-domain.test:9400

1
2023-07-27 09:56:35.070 # business-ai-crm-web #  # http-nio-17444-exec-6 # ERROR # c.h.c.h.GlobalExceptionHandler # /dashboard/departmentRankingList #  # e38161250aa0f2f8 # [未知异常]发生未知异常 message feign.FeignException$ServiceUnavailable: [503 Service Unavailable] during [POST] to [http://bi-cosmos-domain.test:9400/events/listByMaatChatGPTEmployee] [EventsClient#listByMaatChatGPTEmployee(InnerRequest)]: [no healthy upstream] ###        at feign.FeignException.serverErrorStatus(FeignException.java:237) ###        at feign.FeignException.errorStatus(FeignException.java:180) ###        at feign.FeignException.errorStatus(FeignException.java:169) ###        at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:92) ###        at feign.AsyncResponseHandler.handleResponse(AsyncResponseHandler.java:96) ###        at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:138) ###        at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:89) ###        at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:100) ###        at com.sun.proxy.$Proxy150.listByMaatChatGPTEmployee(Unknown Source) ###

原因都是泳道问题,前端header里写死了istio-v