OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Proxying OPNsense GUI with HAproxy
« previous next »
  • Print
Pages: [1]

Author Topic: Proxying OPNsense GUI with HAproxy  (Read 1734 times)

loredo

  • Newbie
  • *
  • Posts: 38
  • Karma: 2
    • View Profile
Proxying OPNsense GUI with HAproxy
« on: May 09, 2018, 10:00:53 am »
Hi,

for more flexibility I want HAproxy to listen on port 443 and proxy OPNsense GUI.
The HAproxy configuration is not a problem as such. However, the OPNsense GUI does not seem to support being behind a proxy as the interface becomes fairly sluggish. This is what I get on the browser console, only when accessing the GUI via HAproxy:

Code: [Select]
JQMIGRATE: Migrate is installed, version 3.0.1
jquery-3.2.1.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
send @ jquery-3.2.1.min.js:4
ajax @ jquery-3.2.1.min.js:4
e.ajax @ jquery-migrate-3.0.1.min.js:80
r._evalUrl @ jquery-3.2.1.min.js:4
Ja @ jquery-3.2.1.min.js:3
append @ jquery-3.2.1.min.js:3
r.fn.(anonymous function) @ jquery-3.2.1.min.js:3
(anonymous) @ (index):1149
each @ jquery-3.2.1.min.js:2
each @ jquery-3.2.1.min.js:2
(anonymous) @ (index):1143
j @ jquery-3.2.1.min.js:2
k @ jquery-3.2.1.min.js:2
setTimeout (async)
(anonymous) @ jquery-3.2.1.min.js:2
i @ jquery-3.2.1.min.js:2
fireWith @ jquery-3.2.1.min.js:2
fire @ jquery-3.2.1.min.js:2
i @ jquery-3.2.1.min.js:2
fireWith @ jquery-3.2.1.min.js:2
ready @ jquery-3.2.1.min.js:2
S @ jquery-3.2.1.min.js:3
(index):1131 TypeError: Cannot read property 'datum' of null
    at system_information_widget_cpu_update (<anonymous>:27:48)
    at system_information_widget_update (<anonymous>:36:7)
    at (index):1128
    at Array.map (<anonymous>)
    at Object.<anonymous> ((index):1125)
    at i (jquery-3.2.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-3.2.1.min.js:2)
    at A (jquery-3.2.1.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery-3.2.1.min.js:4)
(index):1131 TypeError: Cannot read property 'datum' of null
    at system_information_widget_cpu_update (<anonymous>:27:48)
    at system_information_widget_update (<anonymous>:36:7)
    at (index):1128
    at Array.map (<anonymous>)
    at Object.<anonymous> ((index):1125)
    at i (jquery-3.2.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-3.2.1.min.js:2)
    at A (jquery-3.2.1.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery-3.2.1.min.js:4)
(index):1131 TypeError: Cannot read property 'datum' of null
    at system_information_widget_cpu_update (<anonymous>:27:48)
    at system_information_widget_update (<anonymous>:36:7)
    at (index):1128
    at Array.map (<anonymous>)
    at Object.<anonymous> ((index):1125)
    at i (jquery-3.2.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-3.2.1.min.js:2)
    at A (jquery-3.2.1.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery-3.2.1.min.js:4)
(index):1131 TypeError: Cannot read property 'datum' of null
    at system_information_widget_cpu_update (<anonymous>:27:48)
    at system_information_widget_update (<anonymous>:36:7)
    at (index):1128
    at Array.map (<anonymous>)
    at Object.<anonymous> ((index):1125)
    at i (jquery-3.2.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-3.2.1.min.js:2)
    at A (jquery-3.2.1.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery-3.2.1.min.js:4)

Any idea if I need to pimp something in HAproxy or if this is a problem in the OPNsense GUI?
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Proxying OPNsense GUI with HAproxy
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2