当前位置:网站首页>Problems encountered in using openfeign to realize remote call in Webflux
Problems encountered in using openfeign to realize remote call in Webflux
2022-07-22 18:56:00 【Enter the sky with one hand】
First, get a piece of console information reporting errors :
feign.FeignException$MethodNotAllowed: status 405 reading UserFeignService#getByUserName(String)
at feign.FeignException.clientErrorStatus(FeignException.java:167) ~[feign-core-10.4.0.jar:na]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ⇢ org.springframework.cloud.gateway.filter.WeightCalculatorWebFilter [DefaultWebFilterChain]
|_ checkpoint ⇢ HTTP GET "/getByUserName?username=liqiye" [ExceptionHandlingWebHandler]
Stack trace:
at feign.FeignException.clientErrorStatus(FeignException.java:167) ~[feign-core-10.4.0.jar:na]
at feign.FeignException.errorStatus(FeignException.java:141) ~[feign-core-10.4.0.jar:na]
at feign.FeignException.errorStatus(FeignException.java:133) ~[feign-core-10.4.0.jar:na]
at feign.codec.ErrorDecoder$Default.decode(ErrorDecoder.java:92) ~[feign-core-10.4.0.jar:na]
at feign.SynchronousMethodHandler.executeAndDecode(SynchronousMethodHandler.java:151) ~[feign-core-10.4.0.jar:na]
at feign.SynchronousMethodHandler.invoke(SynchronousMethodHandler.java:80) ~[feign-core-10.4.0.jar:na]
at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:103) ~[feign-core-10.4.0.jar:na]
at com.sun.proxy.$Proxy146.getByUserName(Unknown Source) ~[na:na]
at com.liqiye.springcloud.controller.Controller.hello(Controller.java:29) ~[classes/:na]
边栏推荐
猜你喜欢
Leetcode 105. constructing binary trees from preorder and inorder traversal sequences
sql 语法中 join 的所有用法总结(简单例子)
Over the weekend, I had a dinner with the technology gurus and talked about the "golden nine and silver ten" peak of the software testing industry [the trend of involution has been formed]
There is no session in the tensorflow module
在各類數據庫中隨機查詢n條數據
1. Closeable of qtablewidget, 2.pro/build_ pass、member,3.QString&&
Thymeleaf中一个页面怎么嵌套另一个页面,关于页面嵌套,标签告诉你应该知道的
Interrogation aléatoire de n données dans diverses bases de données
PTA basic questions 7-28 monkeys choose the king (simple method)
Caching-sha2-password problem occurred when connecting mysql8.0
随机推荐
(c语言)数组是一种特殊的指针?
消息中间件
IP address, CIRD format URL, hostname regular expression
解决不能维持IntelliJ 之 Target bytecode Version版本号
PTA 6-11 求自定类型元素序列的中位数 (25 分)
QT的sprintf重写;qt下内容按界面的缩放而缩放(不改变字体大小)
PTA搜索树判断
LeetCode 654. 最大二叉树
LeetCode: 185. 部门工资前三高的所有员工
Go memory model
Flink学习笔记(五)DataStream API
LeetCode 116. 填充每个节点的下一个右侧节点指针
【QT源代码复用】模拟QCompleter的弹窗方式
PTA 6-11 find the median of self-determined type element sequence (25 points)
在各类数据库中随机查询n条数据
1.moveToThread的一个完整实例,2.qt表达式求值
Six dimensional space
1. A complete instance of movetothread, 2. QT expression evaluation
PAT基础习题集7-26 单词长度(精简代码)
bjyx