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

fbcadmin fbcadmin at fantinibakery.com
Fri Nov 22 20:52:39 UTC 2024


Okay I searched for the error and found http or https was needed.


I will research and try to solve later on , and post solution if I find it.


# su  stork-agent -s /bin/sh -c 'stork-agent register --server-url 
https://10.1.3.3 8080'
 >>> Enter the Stork server access token (optional):
 >>> Enter IP address or FQDN of the host with Stork agent (for the 
Stork server connection) [dhcp-vlan37.fantinibakery.com]:
 >>> Enter port number that Stork Agent will listen on [8080]:
INFO[2024-11-22 15:50:13]         register.go:95    Forced agent 
certificates regeneration.
INFO[2024-11-22 15:50:13]         register.go:398 
============================================================================= 

INFO[2024-11-22 15:50:13]         register.go:399   AGENT TOKEN: 
6060F92D6B5EC8230BF9C300CDD9F8C9A7C234F923B2E6FD220B29906080281D
INFO[2024-11-22 15:50:13]         register.go:400 
============================================================================= 

INFO[2024-11-22 15:50:13]         register.go:405   Machine will be 
automatically registered using the server token
INFO[2024-11-22 15:50:13]         register.go:406   Agent token is 
printed above for informational purposes only
INFO[2024-11-22 15:50:13]         register.go:407   User does not need 
to copy or verify the agent token during registration via the server token
INFO[2024-11-22 15:50:13]         register.go:408   It will be sent to 
the server but it is not directly used in this type of machine registration
INFO[2024-11-22 15:50:13]         register.go:416   Try to register 
agent in Stork Server
*FATA[2024-11-22 15:50:13]             main.go:320 Registration 
failed                           error="problem registering machine: 
problem registering machine: problem sending POST to 
https://10.1.3.3/api/machines: Post \"https://10.1.3.3/api/machines\": 
dial tcp 10.1.3.3:443: connect: connection refused"
*

On 11/22/24 15:43, fbcadmin wrote:
> problem sending POST to /api/machines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/stork-users/attachments/20241122/690eda7b/attachment.htm>


More information about the Stork-users mailing list