Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all hosts have been contacted unsuccessfully, it can either be a server or a network error or wrong appID/key credentials were used. You can use opt.ExposeIntermediateNetworkErrors(true) to investigate. #141

Open
sobrinho opened this issue Jan 15, 2024 · 2 comments
Labels
question Further information is requested

Comments

@sobrinho
Copy link

Hi!

profile add doesn't work:

$ algolia profile add
? Name: [REDACTED]
? Application ID: [REDACTED]
? Admin API Key: [REDACTED]
? Set as default profile? Yes
invalid application credentials

Neither trying to list apikeys with the flags:

$ algolia apikeys list --admin-api-key [REDACTED] --application-id [REDACTED]
all hosts have been contacted unsuccessfully, it can either be a server or a network error or wrong appID/key credentials were used. You can use opt.ExposeIntermediateNetworkErrors(true) to investigate.

I am sure that the values are correctly since I'm copying/pasting from Algolia's UI.

I can see a bunch of pages across the web reporting the same but no one seems to post the reason of the issue.

How to debug what's wrong?

Tried different OS, different networks as well.

@sobrinho
Copy link
Author

Tried to run the docker image https://hub.docker.com/r/algolia/cli but doesn't work:

$ docker run --rm -it algolia/cli
Unable to find image 'algolia/cli:latest' locally
docker: Error response from daemon: manifest for algolia/cli:latest not found: manifest unknown: manifest unknown.
See 'docker run --help'.

@clemfromspace
Copy link
Collaborator

clemfromspace commented Jan 25, 2024

Hi @sobrinho,

To be sure that the issue is related to the Algolia CLI and not the provided credentials, maybe you could try to run one of the quickstarts first if that's okay for you?

For the docker image, this is expected, as there is no images published as of today.

@clemfromspace clemfromspace added the question Further information is requested label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants