-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
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
500 (The backend responded with an error) #7288
Comments
Please provide more details about your setup: consul version, agent/server information, and how to reproduce the problem you are seeing! Right now your question is so general, it is impossible to help you. Thanks for reporting! |
Could you check the web inspector and let us know what exactly is going wrong? |
I started it with docker
After my service is registered, when I click on the service, this error will be reported when I check the service details |
CONSUL_VERSION=1.7.0 |
We have the same issue on Consul since version 1.7.0 when we want to look at service over the UI we get this error. In the logs I see:
But we do not use consul as service mesh and do not need connect. We just use it as vault backend. |
Thank you for reporting, now we know what you mean! This is an oversight on our side and will be fixed in 1.7.1 which will be released soon. |
Thank you, I will wait for this update。 |
Oh hey, I just came back here to say thankyou for the report, but I see @i0rek already did. Just an extra thankyou for the report here! 🙌 |
This issue still persists in Consul v1.7.2 When refreshing the UI the same error occurs. Am I missing something ?
|
Hi @Wolfsharad There are many reasons why you might be seeing that message in the Consul UI, to be sure this is the same issue would it be possible for you to give us some more information, such as:
Thanks, |
Accessing : http:/xx.xxx.xxx.xx:8500/ui Everything works fine. Hit the Refresh button, the Error occurs. (Try few times if not getting the Error in the first instance) Error in console
|
Perfect thanks @Wolfsharad! This is a slightly different issue (which has been fixed but has not been released as of yet unfortunately). TL;DR clearing your browser cache should solve it until we push out a release. |
Cool. Thanks ! |
Emmmmm, The error still occurs in version latest(v 1.8.0), are there some ideas to solve this? I run it with Docker as well, The following is the command: |
Hi @QofFlower , Thanks for dropping by! Consul could be returning a 500 error for many different reasons, and the UI will show you that you are getting a 500 error. Are you sure that the error you are seeing is due to the fact that you have connect disabled, or due to the 'nextHopProtocol' error that occurred in 1.7? There are many reasons why you might be seeing that message in the Consul UI, to be sure this is the same issue would it be possible for you to give us some more information, such as: What page are you trying to view when you get this error? If you could open Web Inspector/Developer Tools for me and look in both the Console and Network tabs and let me know if you see anything in there that is red. Let me know if you are unsure how to do this and I can walk you through. I just noticed you have https://www.consul.io/docs/agent/options#_bootstrap_expect
Potentially, Consul is still waiting on the second server in order to bootstrap Thanks, |
2021-01-06T02:32:30.713Z [INFO] agent.server.raft: updating configuration: command=AddStaging server-id=bfeb9efc-fb16-5a19-745b-eaa638a83190 server-addr=172.20.247.14:8300 servers="[{Suffrage:Voter ID:33ecfa60-eb6f-1488-758b-ce8cf044c67d Address:172.20.64.160:8300} {Suffrage:Voter ID:e6132ec3-4723-0dfc-c1f5-377d0dc320c5 Address:172.20.209.52:8300} {Suffrage:Voter ID:bfeb9efc-fb16-5a19-745b-eaa638a83190 Address:172.20.247.14:8300}]" 2021-01-06T03:41:41.833Z [ERROR] agent.http: Request error: method=GET url=/v1/discovery-chain/prometheus1_bareMetalCluster?dc=dc1 from=10.22.44.11:50037 error="Connect must be enabled in order to use this endpoint" 2021-01-06T09:37:31.250Z [ERROR] agent.http: Request error: method=GET url=/v1/discovery-chain/prometheus1BareMetalCluster?dc=dc1 from=11.33.44.11:55421 error="Connect must be enabled in order to use this endpoint" the consul is deployed in k8s ,but occurred the same error consul version =1.8.4 |
Hi, I'm running Consul 1.10.3, with minimal configuration, it's just being used to provide DNS integration to access a Vault cluster (and to Consul itself). I get this error in the leader node:
In the browser: Cheers. |
500 (The backend responded with an error)
Consul returned an error. You may have visited a URL that is loading an unknown resource, so you can try going back to the root or try re-submitting your ACL Token/SecretID by going back to ACLs.
Try looking in our documentation
How to deal with this problem?
The text was updated successfully, but these errors were encountered: