We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the metadata register to consule successfully
ShenYu version(s): 2.6.1
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "PUT /v1/kv/shenyu/metaData/%2Fhttp%2Frequest%2F** HTTP/1.1[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 180[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: text/plain; charset=UTF-8[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: localhost:8500[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.5.14 (Java/18.0.2.1)[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "{"id":"1778380375135666176","appName":"http","path":"/http/request/**","rpcType":"http","serviceName":"org.apache.shenyu.examples.http.controller.RequestController","enabled":true}" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 301 Moved Permanently[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Location: /v1/kv/shenyu/metaData/http/request/%2A%2A[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Sat, 13 Apr 2024 02:39:04 GMT[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 0[\r][\n]" 2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]"
No response
The text was updated successfully, but these errors were encountered:
fix consul sync problem (apache#5545)
dffbbdf
ba68086
f26f953
95d404d
fix consul sync problem (#5545) (#5546)
7cef16b
Co-authored-by: 王一飞 <wangyf662@chinauncom.cn> Co-authored-by: xiaoyu <xiaoyu@apache.org>
No branches or pull requests
Is there an existing issue for this?
Current Behavior
register metadata info to consul, the URLEncoder.encode will cause http 301 , and the metadata will register failExpected Behavior
the metadata register to consule successfully
Steps To Reproduce
Environment
Debug logs
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "PUT /v1/kv/shenyu/metaData/%2Fhttp%2Frequest%2F** HTTP/1.1[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Length: 180[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Content-Type: text/plain; charset=UTF-8[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: localhost:8500[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.5.14 (Java/18.0.2.1)[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "{"id":"1778380375135666176","appName":"http","path":"/http/request/**","rpcType":"http","serviceName":"org.apache.shenyu.examples.http.controller.RequestController","enabled":true}"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 301 Moved Permanently[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Location: /v1/kv/shenyu/metaData/http/request/%2A%2A[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Sat, 13 Apr 2024 02:39:04 GMT[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 0[\r][\n]"
2024-04-13 10:39:04 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]"
Anything else?
No response
The text was updated successfully, but these errors were encountered: