Hi,
Any one experience problems with browser based authentication on VSX (R80.40 - Build 082)?
We are trying to use browser based authentication for som IA-rules. But when we configure it the web portal does not start.
I have done this many times before with out problems on normal gateways (non-VSX).
When debug is turned on for mpdaemon it looks like it tries to start the portal but fails, debug log below.
I have reached out to support partner to open a case but they have not yet responded so I thought maybe the community could have some tips 🙂
--- mpdaemon debug ---
[18 Aug 17:05:07][MPD] [CVPN_ERROR] Multiportal::Daemon::restartTimer: portal nac died, restarting
[18 Aug 17:05:07][PORTAL] [CVPN_INFO] Multiportal::Portal::start: Enter
[18 Aug 17:05:07][PORTAL] [CVPN_INFO] Multiportal::Portal::killApache: Trying to kill Apache, portal nac, pid 32576
[18 Aug 17:05:07][PORTAL] [CVPN_INFO] Multiportal::Portal::killApache: Will NOT kill Apache, portal nac, pid 32576
[18 Aug 17:05:07][PORTAL] [CVPN_INFO] Multiportal::Portal::killApache: port 59935 removed from multiportal_real_ports table (IPv4)
[18 Aug 17:05:07][PORTAL] [CVPN_INFO] Multiportal::Portal::killApache: port 59935 removed from multiportal_real_ports table (IPv6)
[18 Aug 17:05:07][SERIALIZE] [CVPN_INFO] getEncoder: Using fwobj-based storage coder
[18 Aug 17:05:07] HashResizeMode_verify_trigger_ratio: Illegal trigger value (1) should be 2..8
[18 Aug 17:05:07][STORAGE] [CVPN_INFO] CpLogin::FwobjStorageCoder::encodeToStorage: (Portal
:m_apachePid (int
:value (-1)
)
:m_isRunning (int
:value (1)
)
:m_startPending (int
:value (1)
)
:m_internalPort (int
:value (59935)
)
:m_clearInternalPort (int
:value (-1)
)
:ModeSerializable_ModeValue (int
:value (3)
)
)
[18 Aug 17:05:07][PORTS] [CVPN_INFO] AllocatePorts: Allocating ports for portal with key 8885
[18 Aug 17:05:07][PORTS] [CVPN_INFO] RegisterPorts: Running for IPv4
[18 Aug 17:05:07][PORTS] [CVPN_INFO] RegisterPorts: Failed to remove port 59935 from multiportal_real_ports table
[18 Aug 17:05:07][PORTS] [CVPN_INFO] RegisterPorts: Succeed to write port 60099 to multiportal_real_ports table
[18 Aug 17:05:07][PORTS] [CVPN_INFO] RegisterPorts: Allocated ports for portal with key 8885 : 60099, -1
[18 Aug 17:05:07][PORTS] [CVPN_INFO] RegisterPorts: Running for IPv6
[18 Aug 17:05:07][PORTS] [CVPN_INFO] RegisterPorts: Failed to remove port 59935 from multiportal_real_ports table
[18 Aug 17:05:07][PORTS] [CVPN_INFO] RegisterPorts: Succeed to write port 60099 to multiportal_real_ports table
[18 Aug 17:05:07][PORTS] [CVPN_INFO] RegisterPorts: Allocated ports for portal with key 8885 : 60099, -1
[18 Aug 17:05:07][PORTAL] [CVPN_INFO] Multiportal::Portal::allocatePorts: Portal nac, configured ports m_internalPort=60099 m_clearInternalPort=-1 onlyRegister=0
[18 Aug 17:05:07][PORTAL] [CVPN_INFO] Multiportal::Portal::writeApacheConfig: Portal nac: wrote apache config
[18 Aug 17:05:07][PORTAL] [CVPN_INFO] Multiportal::Portal::generateEnvironment: Enter
[18 Aug 17:05:07][PORTAL] [CVPN_INFO] Multiportal::Portal::startApache: Starting Apache
[18 Aug 17:05:07][SERIALIZE] [CVPN_INFO] getEncoder: Using fwobj-based storage coder
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Forked, going to exec, my pid 32594
[18 Aug 17:05:07] HashResizeMode_verify_trigger_ratio: Illegal trigger value (1) should be 2..8
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Number of arguments is 6
[18 Aug 17:05:07][FORK] [CVPN_INFO] createProcess: Argument 0 is '-DFOREGROUND'
[18 Aug 17:05:07][FORK] [CVPN_INFO] createProcess: Argument 1 is '-k'
[18 Aug 17:05:07][FORK] [CVPN_INFO] createProcess: Argument 2 is 'start'
[18 Aug 17:05:07][FORK] [CVPN_INFO] createProcess: Argument 3 is '-f'
[18 Aug 17:05:07][FORK] [CVPN_INFO] createProcess: Argument 4 is '/opt/CPshrd-R80.40/CTX/CTX00001/conf/multiportal/httpd-conf/nac/httpd.conf'
[18 Aug 17:05:07][FORK] [CVPN_INFO] createProcess: Argument 5 is '-DPORTAL_NAME_nac'
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Number of envvars is 6
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Envvar 0 is 'MULTIPORTAL_HOSTNAME=194.14.186.10'
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Envvar 1 is 'MULTIPORTAL_PATH_PREFIX=/connect/'
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Envvar 2 is 'MULTIPORTAL_PATH_PREFIX_NOSLASH=/connect'
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Envvar 3 is 'MULTIPORTAL_IS_ENCRYPTED=1'
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Envvar 4 is 'MULTIPORTAL_PRIORITY=2'
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Envvar 5 is 'MULTIPORTAL_EXTERNAL_PORT=443'
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Envvar 6 is 'MULTIPORTAL_INTERNAL_PORT=60099'
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Envvar 7 is 'MULTIPORTAL_CLEAR_INTERNAL_PORT=-1'
[18 Aug 17:05:07][PROCESS] [CVPN_INFO] createProcess: Attempting to run /opt/CPshrd-R80.40/web/Apache/bin/httpd
[18 Aug 17:05:07][STORAGE] [CVPN_INFO] CpLogin::FwobjStorageCoder::encodeToStorage: (Portal
:m_apachePid (int
:value (32594)
)
:m_isRunning (int
:value (1)
)
:m_startPending (int
:value (1)
)
:m_internalPort (int
:value (60099)
)
:m_clearInternalPort (int
:value (-1)
)
:ModeSerializable_ModeValue (int
:value (3)
)
)
[18 Aug 17:05:07][MPD] [CVPN_INFO] Multiportal::Daemon::restartTimer: started portal nac
[18 Aug 17:05:10][MPD] [CVPN_ERROR] Multiportal::Daemon::restartTimer: portal nac died, restarting
[18 Aug 17:05:10][PORTAL] [CVPN_INFO] Multiportal::Portal::start: Enter
[18 Aug 17:05:10][PORTAL] [CVPN_INFO] Multiportal::Portal::killApache: Trying to kill Apache, portal nac, pid 32594
[18 Aug 17:05:10][PORTAL] [CVPN_INFO] Multiportal::Portal::killApache: Will NOT kill Apache, portal nac, pid 32594
[18 Aug 17:05:10][PORTAL] [CVPN_INFO] Multiportal::Portal::killApache: port 60099 removed from multiportal_real_ports table (IPv4)
[18 Aug 17:05:10][PORTAL] [CVPN_INFO] Multiportal::Portal::killApache: port 60099 removed from multiportal_real_ports table (IPv6)
[18 Aug 17:05:10][SERIALIZE] [CVPN_INFO] getEncoder: Using fwobj-based storage coder
[18 Aug 17:05:10] HashResizeMode_verify_trigger_ratio: Illegal trigger value (1) should be 2..8
[18 Aug 17:05:10][STORAGE] [CVPN_INFO] CpLogin::FwobjStorageCoder::encodeToStorage: (Portal
:m_apachePid (int
:value (-1)
)
:m_isRunning (int
:value (1)
)
:m_startPending (int
:value (1)
)
:m_internalPort (int
:value (60099)
)
:m_clearInternalPort (int
:value (-1)
)
:ModeSerializable_ModeValue (int
:value (3)
)
)
[18 Aug 17:05:10][PORTS] [CVPN_INFO] AllocatePorts: Allocating ports for portal with key 8885
[18 Aug 17:05:10][PORTS] [CVPN_INFO] RegisterPorts: Running for IPv4
[18 Aug 17:05:10][PORTS] [CVPN_INFO] RegisterPorts: Failed to remove port 60099 from multiportal_real_ports table
[18 Aug 17:05:10][PORTS] [CVPN_INFO] RegisterPorts: Succeed to write port 57663 to multiportal_real_ports table
[18 Aug 17:05:10][PORTS] [CVPN_INFO] RegisterPorts: Allocated ports for portal with key 8885 : 57663, -1
[18 Aug 17:05:10][PORTS] [CVPN_INFO] RegisterPorts: Running for IPv6
[18 Aug 17:05:10][PORTS] [CVPN_INFO] RegisterPorts: Failed to remove port 60099 from multiportal_real_ports table
[18 Aug 17:05:10][PORTS] [CVPN_INFO] RegisterPorts: Succeed to write port 57663 to multiportal_real_ports table
[18 Aug 17:05:10][PORTS] [CVPN_INFO] RegisterPorts: Allocated ports for portal with key 8885 : 57663, -1
[18 Aug 17:05:10][PORTAL] [CVPN_INFO] Multiportal::Portal::allocatePorts: Portal nac, configured ports m_internalPort=57663 m_clearInternalPort=-1 onlyRegister=0
[18 Aug 17:05:10][PORTAL] [CVPN_INFO] Multiportal::Portal::writeApacheConfig: Portal nac: wrote apache config
[18 Aug 17:05:10][PORTAL] [CVPN_INFO] Multiportal::Portal::generateEnvironment: Enter
[18 Aug 17:05:10][PORTAL] [CVPN_INFO] Multiportal::Portal::startApache: Starting Apache
[18 Aug 17:05:10][SERIALIZE] [CVPN_INFO] getEncoder: Using fwobj-based storage coder
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Forked, going to exec, my pid 32735
[18 Aug 17:05:10] HashResizeMode_verify_trigger_ratio: Illegal trigger value (1) should be 2..8
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Number of arguments is 6
[18 Aug 17:05:10][FORK] [CVPN_INFO] createProcess: Argument 0 is '-DFOREGROUND'
[18 Aug 17:05:10][FORK] [CVPN_INFO] createProcess: Argument 1 is '-k'
[18 Aug 17:05:10][FORK] [CVPN_INFO] createProcess: Argument 2 is 'start'
[18 Aug 17:05:10][FORK] [CVPN_INFO] createProcess: Argument 3 is '-f'
[18 Aug 17:05:10][FORK] [CVPN_INFO] createProcess: Argument 4 is '/opt/CPshrd-R80.40/CTX/CTX00001/conf/multiportal/httpd-conf/nac/httpd.conf'
[18 Aug 17:05:10][FORK] [CVPN_INFO] createProcess: Argument 5 is '-DPORTAL_NAME_nac'
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Number of envvars is 6
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Envvar 0 is 'MULTIPORTAL_HOSTNAME=194.14.186.10'
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Envvar 1 is 'MULTIPORTAL_PATH_PREFIX=/connect/'
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Envvar 2 is 'MULTIPORTAL_PATH_PREFIX_NOSLASH=/connect'
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Envvar 3 is 'MULTIPORTAL_IS_ENCRYPTED=1'
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Envvar 4 is 'MULTIPORTAL_PRIORITY=2'
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Envvar 5 is 'MULTIPORTAL_EXTERNAL_PORT=443'
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Envvar 6 is 'MULTIPORTAL_INTERNAL_PORT=57663'
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Envvar 7 is 'MULTIPORTAL_CLEAR_INTERNAL_PORT=-1'
[18 Aug 17:05:10][PROCESS] [CVPN_INFO] createProcess: Attempting to run /opt/CPshrd-R80.40/web/Apache/bin/httpd
[18 Aug 17:05:10][STORAGE] [CVPN_INFO] CpLogin::FwobjStorageCoder::encodeToStorage: (Portal
:m_apachePid (int
:value (32735)
)
:m_isRunning (int
:value (1)
)
:m_startPending (int
:value (1)
)
:m_internalPort (int
:value (57663)
)
:m_clearInternalPort (int
:value (-1)
)
:ModeSerializable_ModeValue (int
:value (3)
)
)
[18 Aug 17:05:10][MPD] [CVPN_INFO] Multiportal::Daemon::restartTimer: started portal nac
[18 Aug 17:05:13][MPD] [CVPN_ERROR] Multiportal::Daemon::restartTimer: portal nac died, restarting