shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

[BUG] <title>When the service is restarted, websocket keeps refreshing the same configuration

Open liufei198613 opened this issue 3 years ago • 1 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current Behavior

When the service is restarted, websocket keeps refreshing the same configuration. The reason seems to be that I changed the second-level path information. For example, change /test1/test2/test3 to /test1/test4/test3

Expected Behavior

No response

Steps To Reproduce

No response

Environment

ShenYu version(s):2.4。2

Debug logs

a1ebdf5ddb55550e94c685f8c4ab9df ed7493ec741e4ddd8b932e663f70f5c

Anything else?

No response

liufei198613 avatar Apr 15 '22 03:04 liufei198613

This is not a bug, because spring cloud uses contextPath&"/**" to match paths, so how many RequestMapping addresses register with shenyu on the same path, which results in the same output in the log. This does not affect the use of shenyu. Thank you.

prFor avatar Apr 27 '22 13:04 prFor