Hey everyone, I'm running into an issue while try...
# general
n
Hey everyone, I'm running into an issue while trying to launch Orbit from the command line on my Windows host. Here’s the error I’m encountering:
2024-10-10T16:29:29+02:00 INF orbit version: 1.34.0
2024-10-10T16:29:30+02:00 INF Found osquery version: 5.13.1
2024-10-10T16:29:33+02:00 INF network error error="POST /api/fleet/orbit/config: Post \"https:///api/fleet/orbit/config\": http: no Host in request URL"
It seems like there's an issue with the request URL missing a host. Has anyone encountered this before? Any suggestions on how to fix this or properly configure the host in the request URL would be greatly appreciated! Thanks for the help!
f
based on that error your config must have 3 /// in it instead of // so
https:///
s/b
Copy code
http://
its likely failing because it essentially has no host to connect to
also you gave a path to a file, not a value URL
n
@FG I don't believe I configured this URL manually. I simply downloaded the setup MSI. If you're aware of a way to configure it so that I can choose "http://" instead of "https://", could you please let me know? All I did was run the following command:
fleetctl package --type=msi --enable-scripts --fleet-desktop --fleet-url=<https://fleet.mydomain.net> --enroll-secret={REDACTED}
f
i'm just going by the error message showing a POST to an incorrectly formatted URL
Copy code
Post "https:///api/fleet/orbit/config"
it looks like instead of
https:///
there should be
https://<your_server_uri>/api/fleet/orbit/config