Skip to content

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

Description

@sobrinho

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.

Activity

  1. sobrinho commented on Jan 15, 2024

    @sobrinho
    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'.
    
  2. clemfromspace commented on Jan 25, 2024

    @clemfromspace
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions