-
Updated
May 14, 2020 - Java
springcloud
Here are 673 public repositories matching this topic...
-
Updated
May 5, 2020 - Java
-
Updated
May 13, 2020 - Java
-
Updated
Mar 21, 2020 - Java
-
Updated
Apr 18, 2020 - Java
问题描述
前端项目登陆的时候,报错500。
原因分析
是因为feign获取user的时候,超时,然后走的是降级的代码。
本质就是因为feign请求的时候,超时。
在这个项目里,feign请求超时。
而且,自己写的简单demo ( https://gitee.com/52itstyle/Spring-Cloud-Alibaba.git ), 专门用于测试nacos和feign,也是超时。一模一样的错误。
所以,应该不是这个项目的原因,而是我的电脑(mac),只要是nacos和feign,都是超时。
2020-02-24 20:58:21.938 ERROR [authorization-server,b6ed6d23d9efe8e5,b6ed6d23d9efe8e5,true] 20465 --- [nio-8000-exec-1]
-
Updated
Mar 7, 2020 - Java
Field registration in org.springframework.cloud.client.serviceregistry.ServiceRegistryAutoConfiguration$ServiceRegistryEndpointConfiguration required a single bean, but 2 were found:
- nacosRegistration: defined by method 'nacosRegistration' in class path resource [com/alibaba/cloud/nacos/NacosDiscoveryAutoConfiguration.class]
- eurekaRegistration: defined in BeanDefinition defined in class pa
-
Updated
Apr 17, 2020 - Java
-
Updated
Apr 5, 2020 - Java
-
Updated
Apr 27, 2020 - Java
如下问题是基于soul-master代码分支发现的:
场景一
dubbo单参数,方法参数为Java基本类型,代码如下:
@override
@SoulClient(path = "/findById", desc = "根据用户查询")
public DubboTest findById(final String id) {
DubboTest dubboTest = new DubboTest();
dubboTest.setId(id);
dubboTest.setName("hhah");
return dubboTest;
}
调用网关,http://localhost:9195/dubbo/findById body设置:{"id":"1"
-
Updated
Oct 3, 2019 - Java
-
Updated
Nov 19, 2019 - Java
-
Updated
Dec 4, 2019 - Java
-
Updated
Jul 13, 2019 - Java
-
Updated
Jan 10, 2020 - Java
-
Updated
May 19, 2017 - Java
-
Updated
Mar 16, 2020 - Java
-
Updated
Oct 29, 2019 - Java
-
Updated
May 2, 2020
-
Updated
Nov 29, 2019 - Java
-
Updated
Nov 19, 2019 - Java
Improve this page
Add a description, image, and links to the springcloud topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the springcloud topic, visit your repo's landing page and select "manage topics."