Closed jmechalas closed 2 years ago
@jmechalas Thanks for open this issue report, posting the details and sorry for the long delay.
I think what you are looking for is already done in dev-branch
: https://github.com/FOGProject/fogproject/commit/cff7a50ce439bbe0e7d1d8f0f7281c003018f67e
If you try to manually update the MACs from the FOG configuration page, your proxy settings are ignored and it tries to fetch them directly which results in a timeout, and zero's out your existing MAC list.
The issue seems to be the call to open() in
fogconfigurationpage.class.php
. It is not creating a context for a proxy if a proxy is defined. Manually adding this code resolves the issue:This of course is hardcoding a proxy so it's not a "proper" fix, but it does confirm the issue.