tipi does not seem to pick up the corret ip

cli commands for apps are failing. the shown ip from the log below 10.255.255.254 is not the one that is used for the web-gui.
# ./runtipi-cli app start authentik
Welcome to Runtipi CLI ✨

✗ Failed to start app.
⠙ Starting app authentik...
Error: Error sending request: reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(10.255.255.254)), port: None, path: "/worker-api/apps/authentik/start", query: None, fragment: None }, source: hyper::Error(Connect, Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 167773272, library: "SSL routines", function: "ssl3_read_bytes", reason: "tlsv1 unrecognized name", file: "ssl/record/rec_layer_s3.c", line: 907, data: "SSL alert number 112" }]))) }, X509VerifyResult { code: 0, error: "ok" })) }
[13:36:43] [19ms][~/runtipi] []
# ./runtipi-cli app start authentik
Welcome to Runtipi CLI ✨

✗ Failed to start app.
⠙ Starting app authentik...
Error: Error sending request: reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(10.255.255.254)), port: None, path: "/worker-api/apps/authentik/start", query: None, fragment: None }, source: hyper::Error(Connect, Ssl(Error { code: ErrorCode(1), cause: Some(Ssl(ErrorStack([Error { code: 167773272, library: "SSL routines", function: "ssl3_read_bytes", reason: "tlsv1 unrecognized name", file: "ssl/record/rec_layer_s3.c", line: 907, data: "SSL alert number 112" }]))) }, X509VerifyResult { code: 0, error: "ok" })) }
[13:36:43] [19ms][~/runtipi] []
3 Replies
InfBoumcyCastle
InfBoumcyCastleOP3mo ago
"internalIp": "172.26.192.77", != INTERNAL_IP │ 10.255.255.254
# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet 10.255.255.254/32 brd 10.255.255.254 scope global lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:ee:46:34 brd ff:ff:ff:ff:ff:ff
inet 172.26.192.77/20 brd 172.26.207.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:feee:4634/64 scope link
valid_lft forever preferred_lft forever
# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet 10.255.255.254/32 brd 10.255.255.254 scope global lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:ee:46:34 brd ff:ff:ff:ff:ff:ff
inet 172.26.192.77/20 brd 172.26.207.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:feee:4634/64 scope link
valid_lft forever preferred_lft forever
seems like INTERNAL_IPis set to the address from the lo if - which is the ip from the runtipi-cli app command log
Stavros
Stavros3mo ago
Yeah I think that's an issue with how the cli gets the ip We are planning to change the cli in the near future to a go based on which should work better
Want results from more Discord servers?
Add your server