一、该问题的重现步骤是什么?
在biz创建了一个服务,大部分接口都有返回值,但是有些接口可以访问,打印出来的有返回值,但是前端接收不到返回值,比如list 查询列表(代码生成的,有些模块list可以访问),select 下拉数据接口
控制台报错提示:
2024-11-19 11:34:54.492 WARN 22148 --- [ XNIO-1 task-4] .c.RetryAwareServiceInstanceListSupplier : No instances found after removing previously used service instance from the search (com.alibaba.cloud.nacos.NacosServiceInstance@78ada8d8). Returning all found instances.
2024-11-19 11:34:54.539 WARN 22148 --- [ XNIO-1 task-5] .c.RetryAwareServiceInstanceListSupplier : No instances found after removing previously used service instance from the search (com.alibaba.cloud.nacos.NacosServiceInstance@78ada8d8). Returning all found instances.
2024-11-19 11:34:59.601 WARN 22148 --- [ XNIO-1 task-6] .c.RetryAwareServiceInstanceListSupplier : No instances found after removing previously used service instance from the search (com.alibaba.cloud.nacos.NacosServiceInstance@78ada8d8). Returning all found instances.
2024-11-19 11:34:59.601 WARN 22148 --- [ XNIO-1 task-3] .c.RetryAwareServiceInstanceListSupplier : No instances found after removing previously used service instance from the search (com.alibaba.cloud.nacos.NacosServiceInstance@78ada8d8). Returning all found instances.
2024-11-19 11:35:03.470 INFO 22148 --- [ XNIO-1 task-7] c.a.c.s.e.SentinelHealthIndicator : Find sentinel dashboard server list: [Endpoint{protocol=HTTP, host='192.168.1.6, port=8858}]
或者提示
For 'blade-system' URL not provided. Will try picking an instance via load-balancing.
2024-11-19 11:19:54.937 WARN 21872 --- [ XNIO-1 task-3] .c.RetryAwareServiceInstanceListSupplier : No instances found after removing previously used service instance from the search (com.alibaba.cloud.nacos.NacosServiceInstance@78ada8d8). Returning all found instances.
2024-11-19 11:19:54.951 WARN 21872 --- [ XNIO-1 task-2] .c.RetryAwareServiceInstanceListSupplier : No instances found after removing previously used service instance from the search (com.alibaba.cloud.nacos.NacosServiceInstance@78ada8d8). Returning all found instances.
2024-11-19 11:20:04.955 INFO 21872 --- [ XNIO-1 task-3] o.s.core.log.aspect.RequestLogAspect :
二、你期待的结果是什么?实际看到的又是什么?
后台返回值前端可以正常接收。但是目前前端接受到的是无法加载响应数据
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
blade 4.2.0 win
扫一扫访问 Blade技术社区 移动端