Skip to content

Download apm.pdef.xml file even behind a corporate firewall #1190

@amilcarlucas

Description

@amilcarlucas

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

It should be able to download the apm.pdef.xml file and the *.lua scripts even behind a corporate firewall/proxy

Steps To Reproduce

In a corporate environment start AMC and create a new vehicle from template. That should use the PROXY environment at some point try to download the apm.pdef.xml file from internet and fail.

The same happens with the lua scripts in the quicktune and magfit configuration steps.

Expected behavior

In a corporate environment it should use the PROXY environment variables to download files from the internet.

Such code already exists in the backend_internet.py file one just needs to use it.

Screenshots / Logs

No response

Software information

  • Operating system: Windows 11
  • arduPilot Methodic Configuration version: 2.9.4

Additional context

No response

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions