You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2015-04-06 11:42:09 PDT | DEBUG | dd.dogstatsd | dogstatsd(dogstatsd.py:202) | Posting payload to http://localhost:17123/api/v1/series?api_key=API_KEY
2015-04-06 11:42:09 PDT | ERROR | dd.dogstatsd | dogstatsd(dogstatsd.py:218) | Unable to post payload.
Traceback (most recent call last):
File "/opt/datadog-agent/agent/dogstatsd.py", line 208, in submit_http
r.raise_for_status()
File "/opt/datadog-agent/embedded/lib/python2.7/site-packages/requests/models.py", line 825, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 403 Client Error: Forbidden
2015-04-06 11:42:09 PDT | ERROR | dd.dogstatsd | dogstatsd(dogstatsd.py:220) | Received status code: 403
2015-04-06 11:42:09 PDT | DEBUG | dd.dogstatsd | aggregator(aggregator.py:689) | Received 0 events since last flush
2015-04-06 11:42:09 PDT | DEBUG | dd.dogstatsd | aggregator(aggregator.py:700) | Received 0 service check runs since last flush
The forwarder does not show any transactions coming in so it seems likely that the proxy is returning a 403, despite the fact that dogstatsd is supposed to override the proxy.
Starting with Agent 5.0.0, there should always
be a local forwarder running and all payloads
should go through it.
So we should make sure that we pass the no_proxy
environment variable that will be used by requests
See: https://github.com/kennethreitz/requests/pull/945Fix#1514
Starting with Agent 5.0.0, there should always
be a local forwarder running and all payloads
should go through it.
So we should make sure that we pass the no_proxy
environment variable that will be used by requests
See: https://github.com/kennethreitz/requests/pull/945Fix#1514
The forwarder does not show any transactions coming in so it seems likely that the proxy is returning a 403, despite the fact that dogstatsd is supposed to override the proxy.
Case with full logs and config: https://datadog.zendesk.com/agent/tickets/24202
The text was updated successfully, but these errors were encountered: