question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Question] Local Deployment error: can not match selector data: divide

See original GitHub issue

Question

Run directly using the source code.

When the client register, the BootstrapApplication has an error log:

2022-07-01 10:30:16 [parallel-1] ERROR org.apache.shenyu.plugin.api.utils.WebFluxResultUtils - can not match selector data: divide
2022-07-01 10:30:16 [parallel-2] ERROR org.apache.shenyu.plugin.api.utils.WebFluxResultUtils - can not match selector data: divide
2022-07-01 10:30:16 [parallel-3] ERROR org.apache.shenyu.plugin.api.utils.WebFluxResultUtils - can not match selector data: divide
2022-07-01 10:30:16 [parallel-4] ERROR org.apache.shenyu.plugin.api.utils.WebFluxResultUtils - can not match selector data: divide
2022-07-01 10:30:16 [parallel-5] ERROR org.apache.shenyu.plugin.api.utils.WebFluxResultUtils - can not match selector data: divide
2022-07-01 10:30:16 [parallel-6] ERROR org.apache.shenyu.plugin.api.utils.WebFluxResultUtils - can not match selector data: divide
2022-07-01 10:30:16 [parallel-7] ERROR org.apache.shenyu.plugin.api.utils.WebFluxResultUtils - can not match selector data: divide
2022-07-01 10:31:50 [WebSocketConnectReadThread-48] INFO  org.apache.shenyu.plugin.sync.data.websocket.client.ShenyuWebsocketClient - handleResult({"groupType":"PLUGIN","eventType":"UPDATE","data":[{"id":"5","name":"divide","config":"{\"multiSelectorHandle\":\"1\",\"multiRuleHandle\":\"0\"}","role":"Proxy","enabled":true,"sort":200}]})
2022-07-01 10:31:50 [WebSocketConnectReadThread-48] INFO  org.apache.shenyu.web.handler.ShenyuWebHandler - shenyu use plugin:[divide]

In admin, can not found register info.

image

image

How to resolve this, need help, thanks

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:19 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
stulzqcommented, Jul 1, 2022

解决了,我的锅,我写成了 9195

0reactions
stulzqcommented, Jul 1, 2022

Go client log

2022-07-01 11:38:07 [INFO] [/Users/lzq/OpenSource/shenyu/incubator-shenyu-client-golang/clients/admin_client/shenyu_admin_client.go:51] Get ShenYu Admin response, body is -> {200 login dashboard user success {1 admin 1 true 2022-05-25 18:02:52 2022-05-25 18:02:52 eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTmFtZSI6ImFkbWluIiwiZXhwIjoxNjU2NzMzMDg3fQ.brpziZowe5MCMGhXwzlhMI2oNscF2m0i4jlON6Xl1f4}}
2022-07-01 11:38:07 [INFO] [/Users/lzq/OpenSource/shenyu/incubator-shenyu-client-golang/example/http_client/main.go:40] this is ShenYu Admin client token -> eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTmFtZSI6ImFkbWluIiwiZXhwIjoxNjU2NzMzMDg3fQ.brpziZowe5MCMGhXwzlhMI2oNscF2m0i4jlON6Xl1f4
2022-07-01 11:38:07 [INFO] [/Users/lzq/OpenSource/shenyu/incubator-shenyu-client-golang/example/http_client/main.go:55] finish register metadata ,the result is-> true
2022-07-01 11:38:07 [INFO] [/Users/lzq/OpenSource/shenyu/incubator-shenyu-client-golang/example/http_client/main.go:70] finish UrlRegister ,the result is-> true

After you check shenyu port ,go client has problem?

Yes, https://github.com/apache/incubator-shenyu-client-golang/issues/20

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kubernetes Error Codes: Selector Does Not Match Template ...
The `selector does not match template labels` error message occurs when no resources match the selector defined for a deployment or ReplicaSet.
Read more >
how to ignore /favicon.ico request? · Issue #3261 - GitHub
Question when I call my api via browser, this message display: ... WebFluxResultUtils - can not match selector data: divide , /favicon.ico.
Read more >
Getting 'didn't match node selector' when running Docker ...
"Warning FailedScheduling 3m (x2 over 3m) default-scheduler 0/3 nodes are available: 3 node(s) didn't match node selector." Does it mean that I ...
Read more >
Troubleshooting index lifecycle management errors - Elastic
This indicates that the cluster is running out of disk space. This can happen when you don't have index lifecycle management set up...
Read more >
Validation | Kiali
This validation appears when a problem is found in there. ... KIA0104 - This host has no matching entry in the service registry....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found