There is en error while starting hefur with both http and https ports provided:
fatal: failed to listen on the port 2052: Address already in use
and no other messages even if debug log-level set.
Any other process not using provided ports (http and https), checked with netstat -lptun
heufr's process starting, but listening only http server, not https.
Another thing: if enable only https (-http-port 0 -https-port 2053), hefur starts without any errors, but it it chooses random port number (new port after every restart) to listen.
There is en error while starting hefur with both http and https ports provided:
and no other messages even if
debug
log-level set.Any other process not using provided ports (http and https), checked with
netstat -lptun
heufr's process starting, but listening only http server, not https.Tried both tagged 1.0 and git upstream code.
OS:
Ubuntu 20.04.1 x64
Compilers, build tools:gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
,g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
,cmake version 3.16.3
,GNU Make 4.2.1
Build options:-DHEFUR_CONTROL_INTERFACE=OFF -DCMAKE_INSTALL_PREFIX=/usr
Start options:-torrent-dir /var/lib/hefur/torrents -http-port 2052 -https-port 2053 -http-cert /etc/ssl/certs/example.pem -http-key /etc/ssl/private/example.pem -udp-port 0 -max-torrent-name 255 -disable-file-page -disable-peers-page -max-torrent-size 102400 -reverse-proxy-header "CF-Connecting-IP" -log-level debug -log-file /var/log/hefur.log