DataDog / datadog-agent

Main repository for Datadog Agent
https://docs.datadoghq.com/
Apache License 2.0
2.83k stars 1.19k forks source link

[BUG] MacOS 15: http: server gave HTTP response to HTTPS client #29578

Open theogravity opened 1 day ago

theogravity commented 1 day ago

Agent Environment MacOS 15

Describe what happened: Running datadog-agent status gives Error: Get "https://localhost:5001/agent/status?format=text": http: server gave HTTP response to HTTPS client

image

DD Agent UI shows Not logged in. Please ensure that your GUI session has not expired. (Agent replied with: missing accessToken)

image

I did verify that my config file at ~/.datadog-agent/datadog.yaml has an API key set

I also tried the uninstall steps and reinstalled without any luck.

Describe what you expected: Should get status

Steps to reproduce the issue: Executed install script with

DD_API_KEY=... DD_SITE="datadoghq.com" bash -c "$(curl -L https://install.datadoghq.com/scripts/install_mac_os.sh)"

This installed the v7 agent.

datadog-agent status after startup has completed

Additional environment details (Operating System, Cloud provider, etc):

sgnn7 commented 1 day ago

Hi @theogravity , Thank you for reporting this issue. Can you provide us with the exact version of the Agent that had these symptoms?

misteriaud commented 1 day ago

Hi @theogravity , Regarding the issue with accessing the UI, could you confirm if you tried launching it in one of the following ways?