删除实例都提示DEBUG org.apache.http.wire - http-outgoing-0 << "ok"了。
10:42:05.907 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "DELETE /nacos/v1/ns/instance?serviceName=orderservice&ip=192.168.188.1&port=8080 HTTP/1.1[\r][\n]"
10:42:05.907 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: 127.0.0.1:8848[\r][\n]"
10:42:05.907 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
10:42:05.907 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_341)[\r][\n]"
10:42:05.907 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]"
10:42:05.907 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 200 [\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Vary: Origin[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Vary: Access-Control-Request-Method[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Vary: Access-Control-Request-Headers[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Security-Policy: script-src 'self'[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Type: text/plain;charset=UTF-8[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Content-Length: 2[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Date: Wed, 31 Aug 2022 02:42:05 GMT[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Keep-Alive: timeout=60[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "Connection: keep-alive[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "[\r][\n]"
10:42:05.910 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "ok"
10:42:05.912 [main] DEBUG org.apache.http.headers - http-outgoing-0 << HTTP/1.1 200
删除服务却会提示500报错
10:45:12.645 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> DELETE /nacos/v1/ns/service?serviceName=orderservice HTTP/1.1
10:45:12.645 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Host: 127.0.0.1:8848
10:45:12.645 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Connection: Keep-Alive
10:45:12.645 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_341)
10:45:12.645 [main] DEBUG org.apache.http.headers - http-outgoing-0 >> Accept-Encoding: gzip,deflate
10:45:12.645 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "DELETE /nacos/v1/ns/service?serviceName=orderservice HTTP/1.1[\r][\n]"
10:45:12.645 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Host: 127.0.0.1:8848[\r][\n]"
10:45:12.645 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Connection: Keep-Alive[\r][\n]"
10:45:12.646 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "User-Agent: Apache-HttpClient/4.5.13 (Java/1.8.0_341)[\r][\n]"
10:45:12.646 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "Accept-Encoding: gzip,deflate[\r][\n]"
10:45:12.646 [main] DEBUG org.apache.http.wire - http-outgoing-0 >> "[\r][\n]"
10:45:12.648 [main] DEBUG org.apache.http.wire - http-outgoing-0 << "HTTP/1.1 500 [\r][\n]"
|