Proxy Authentication Required

73 views
Skip to first unread message

mr work

unread,
Aug 24, 2020, 5:51:42 AM8/24/20
to flexiWAN users
i use ubuntu 18.04.3 LTS amd64 (Linked from flexiwan website)
with fwsystem_check everything is OK, but when i run fwaget i got this error :

fwagent[6318]: error: register: got 407 - Proxy Authentication Required
fwagent[6318]: error: register: Server response: {"error":"Device 03000200-0400-0500-0006-000700080009 already exists, must be deleted first"}

in manage.flexiwan.com i don't have any device and jobs is empty without any notification.
i do reset with fwagent reset -s and fwagent reset but still have that error message on journal -xe

Ivor

unread,
Aug 24, 2020, 7:28:20 AM8/24/20
to flexiWAN users, work...@gmail.com
Hi,

Some hardware vendors do not provide actual unique UUID's, instead they duplicate it. Since flexiWAN relies on UUID, a new UUID needs to be applied. Here's how to manually insert a different UUID.

    1.    Go to this link and copy the UUID from the top of the page.
    2.    Go to your device console and then edit with nano or vi /etc/flexiwan/agent/fwagent_conf.yaml and insert the uuid section with UUID generated from the link above.
    3.    See an example below
    4.    After adding custom UUID, save the file and issue the commands:
    1.    sudo fwagent reset
    2.    sudo systemctl restart flexiwan-router
    5.    The device should show up in flexiManage > Inventory > Devices waiting for your approval.
----- Example of /etc/flexiwan/agent/fwagent_conf.yaml -----------

agent:
  server: https://manage.flexiwan.com:443  # default: https://manage.flexiwan.com:443
  token: /etc/flexiwan/agent/token.txt  # default: /etc/flexiwan/agent/token.txt
  bypass_certificate: false             # default: false
  debug: true                           # default: true
  uuid: 2a5065f9-d619-48f8-b5c0-260d71541d97

Thanks!
Ivor
Reply all
Reply to author
Forward
0 new messages