Excon::Error::Unauthorized When trying to exec ubicloud app from local #3688
-
|
Hi everyone, Environment: Configuration verified: SSH key fingerprint verified to match the one registered in Hetzner console panel. Troubleshooting steps taken: Questions: The error occurs specifically at the pull_ips API call (/subnet endpoint) which suggests the authentication is failing at the very first API request. Additional info: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
Hi @anilgulgor There a few things that you can try. Can you check the following?
Config.hetzner_user
Config.hetzner_password
Config.hetzner_ssh_private_key
Config.hetzner_ssh_public_key
Excon.new(
Config.hetzner_connection_string,
user: Config.hetzner_user,
password: Config.hetzner_password,
headers: {"Content-Type" => "application/x-www-form-urlencoded"}
).get(path: "/subnet", expects: 200) |
Beta Was this translation helpful? Give feedback.
Yes, that is very likely to be reason. In this case, even if the authentication works, future steps would fail due to bare metal vs VM difference.