You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This statement forces genmon to use port 443 for https communications, despite what may be specified as the http port in genmon.conf.
IMO there should be either:
a configuration parameter in genmon.conf, https_port, to allow users to specify which port they would like to have https requests serviced at, as the hard-coded default of 443 may be used by other things (like ngnix, apache, etc.), or
(the more appropriate option, IMO) simply have genmon use whatever the http_port parameter is to listen, regardless of the underlying protocol used (http or https). Since genmon will only communicate either http or https and not both at the same time like Apache, a second https_port parameter is really redundant.
In my installation, I opted to implement #2, and commented out the above line, so now my https requests are serviced at the default port 8000 specified in genmon.conf.
Unfortunately, this "breaks" my local copy from doing a git pull to retrieve updates :(
The text was updated successfully, but these errors were encountered:
You are correct that the current implementation forces port 443 for HTTPS. I will look into changing this, I just want to make sure the UI logic matches the change and there are no side effects.
I checked in an update that should address this. I opted to not change the default behavior, but I added a new option in genmon.conf file to make this work as you suggested.
If you add the following to /etc/genmon.conf it will use the port of your choice if HTTPS is selected.
https_port = 1234
Replace '1234' with the port of your choice. If this option is not present then the software will use port 443
More of a suggestion than an issue.
Can you remove (or comment out)
in genserv.py ?
This statement forces genmon to use port 443 for https communications, despite what may be specified as the http port in genmon.conf.
IMO there should be either:
a configuration parameter in genmon.conf, https_port, to allow users to specify which port they would like to have https requests serviced at, as the hard-coded default of 443 may be used by other things (like ngnix, apache, etc.), or
(the more appropriate option, IMO) simply have genmon use whatever the http_port parameter is to listen, regardless of the underlying protocol used (http or https). Since genmon will only communicate either http or https and not both at the same time like Apache, a second https_port parameter is really redundant.
In my installation, I opted to implement #2, and commented out the above line, so now my https requests are serviced at the default port 8000 specified in genmon.conf.
Unfortunately, this "breaks" my local copy from doing a git pull to retrieve updates :(
The text was updated successfully, but these errors were encountered: