Upgrading an elastic-agent behind a proxy fails

Hi ,

I try to upgrade an elastic-agent behind a proxy, but fail:

09:15:49.883 elastic_agent [elastic_agent][error] 2021-08-18T09:15:49+02:00 - message: Application: [e4cf95ba-8c94-417d-a25e-2afe0a1e02b6]: State changed to FAILED: failed upgrade of agent binary: 2 errors occurred: * package '/opt/Elastic/Agent/data/elastic-agent-686ba4/downloads/elastic-agent-7.14.0-linux-x86_64.tar.gz.sha512' not found: open /opt/Elastic/Agent/data/elastic-agent-686ba4/downloads/elastic-agent-7.14.0-linux-x86_64.tar.gz.sha512: no such file or directory * fetching package failed: Get "https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-7.14.0-linux-x86_64.tar.gz": read tcp 192.168.58.82:50326->34.120.127.130:443: read: connection reset by peer - type: 'ERROR' - sub_type: 'FAILED'

09:15:49.893 elastic_agent [elastic_agent][error] failed to dispatch actions, error: failed upgrade of agent binary: 2 errors occurred: * package '/opt/Elastic/Agent/data/elastic-agent-686ba4/downloads/elastic-agent-7.14.0-linux-x86_64.tar.gz.sha512' not found: open /opt/Elastic/Agent/data/elastic-agent-686ba4/downloads/elastic-agent-7.14.0-linux-x86_64.tar.gz.sha512: no such file or directory * fetching package failed: Get "https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-7.14.0-linux-x86_64.tar.gz": read tcp 192.168.58.82:50326->34.120.127.130:443: read: connection reset by peer

09:15:49.893 elastic_agent [elastic_agent][error] Elastic Agent status changed to: 'error'

Where am I supposed to add the information on about the proxy to my configuration?

Best regards,
Robert

Hi @leprovokateur Proxy support was added in 7.14 but we are still a bit behind on the documentation part. Comments in this thread should help: Proxy setup for agent · Issue #593 · elastic/observability-docs · GitHub

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.