Skip to content
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

Consul UI trues to call api/hcp/v2/link/global (HCP Consul Central) endpoint even if no related config #21020

Open
Nmishin opened this issue Apr 26, 2024 · 0 comments

Comments

@Nmishin
Copy link
Contributor

Nmishin commented Apr 26, 2024

Overview of the Issue

In the logs I see an errors:

2024-04-26T16:54:18.042Z [INFO]  agent.http: Received error from resource service: Not found: error="rpc error: code = NotFound desc = resource not found"
2024-04-26T16:54:20.124Z [INFO]  agent.http: Received error from resource service: Not found: error="rpc error: code = NotFound desc = resource not found"

In the browser, I see that every time I press something, it tries to reach /api/hcp/v2/link/global and, of course, receives a 404 error because nothing is configured.

Reproduction Steps

Consul info for both Client and Server

Client info
Output from client 'consul info' command here
Client agent HCL config
Server info
agent:
	check_monitors = 0
	check_ttls = 0
	checks = 0
	services = 0
build:
	prerelease = 
	revision = 98cb473c
	version = 1.18.1
	version_metadata = 
consul:
	acl = enabled
	bootstrap = false
	known_datacenters = 1
	leader = true
	leader_addr = 172.20.187.72:8300
	server = true
raft:
	applied_index = 179
	commit_index = 179
	fsm_pending = 0
	last_contact = 0
	last_log_index = 179
	last_log_term = 5
	last_snapshot_index = 0
	last_snapshot_term = 0
	latest_configuration = [{Suffrage:Voter ID:867f50b6-719e-69ee-2888-a2bc3e294b34 Address:172.20.187.72:8300}]
	latest_configuration_index = 0
	num_peers = 0
	protocol_version = 3
	protocol_version_max = 3
	protocol_version_min = 0
	snapshot_version_max = 1
	snapshot_version_min = 0
	state = Leader
	term = 5
runtime:
	arch = amd64
	cpu_count = 2
	goroutines = 219
	max_procs = 2
	os = linux
	version = go1.21.8
serf_lan:
	coordinate_resets = 0
	encrypted = true
	event_queue = 1
	event_time = 5
	failed = 0
	health_score = 0
	intent_queue = 1
	left = 0
	member_time = 5
	members = 1
	query_queue = 0
	query_time = 1
Nothing set in cloud option, but I tried to add like `cloud: {}` this isn't help

Operating system and Environment details

Log Fragments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant