[stork-users] error: first path segment in URL cannot contain colon , and more

fbcadmin fbcadmin at fantinibakery.com
Fri Nov 22 21:23:15 UTC 2024


It looks like my issues are caused by not having stork server set up to 
handle secure connections.   I'll follow 
https://stork.readthedocs.io/en/v2.0.0/install.html#securing-connections-between-the-stork-server-and-a-stork-agent


On 11/22/24 16:07, fbcadmin wrote:
> also tried http not https:
>
> # su  stork-agent -s /bin/sh -c 'stork-agent register --server-url 
> http://10.1.3.3 8080'
>
> ..
>
> FATA[2024-11-22 15:59:30]             main.go:320   Registration 
> failed                           error="problem registering machine: 
> problem registering machine: problem sending POST to 
> http://10.1.3.3/api/machines: Post \"http://10.1.3.3/api/machines\": 
> dial tcp 10.1.3.3:80: connect: connection refused"
>
>
> -------------------------
>
> here are the sockets open at stork server .   neither 443 or 80 show up:
>
> # ss -tulpn
> Netid    State     Recv-Q    Send-Q        Local Address:Port          
> Peer Address:Port Process
> udp      UNCONN    0         0 0.0.0.0:53 0.0.0.0:* 
> users:(("dnsmasq",pid=590,fd=4))
> udp      UNCONN    0         0 [::]:53                    [::]:* 
> users:(("dnsmasq",pid=590,fd=6))
> tcp      LISTEN    0         244 127.0.0.1:5432 0.0.0.0:* 
> users:(("postgres",pid=195,fd=6))
> tcp      LISTEN    0         1024 127.0.0.1:2812 0.0.0.0:* 
> users:(("monit",pid=147,fd=6))
> tcp      LISTEN    0         100 127.0.0.1:25 0.0.0.0:* 
> users:(("master",pid=363,fd=13))
> tcp      LISTEN    0         32 0.0.0.0:53 0.0.0.0:* 
> users:(("dnsmasq",pid=590,fd=5))
> tcp      LISTEN    0         128 0.0.0.0:22 0.0.0.0:* 
> users:(("sshd",pid=149,fd=3))
> tcp      LISTEN    0         4096 *:10050                    *:* 
> users:(("zabbix_agent2",pid=144,fd=8))
> tcp      LISTEN    0         4096 *:8080                     *:* 
> users:(("stork-server",pid=141,fd=6))
> tcp      LISTEN    0         32 [::]:53                    [::]:* 
> users:(("dnsmasq",pid=590,fd=7))
> tcp      LISTEN    0         128 [::]:22                    [::]:* 
> users:(("sshd",pid=149,fd=4))
> tcp      LISTEN    0         244 [::1]:5432 [::]:* 
> users:(("postgres",pid=195,fd=5))
> tcp      LISTEN    0         1024 [::1]:2812 [::]:* 
> users:(("monit",pid=147,fd=7))
>
>


More information about the Stork-users mailing list