Skip to content

Error Number: -3008 | Message: getaddrinfo ENOTFOUND undefinedrest #59

@mp0wr

Description

@mp0wr

Hi,
Has anyone encountered/solved this error?
A connection error occurred: Error Number: -3008 | Message: getaddrinfo ENOTFOUND undefinedrest
That error type may mean that host is expected without protocol?

steps

  • install jira-cli globally
  • get auth token from
  • jira config
    • prompt: "Jira URL: null"
  • Enter
  • prompt: Jira URL:
  • https://.atlassian.net
  • password: gfM***********************
  • verify that ~/.jira-cli/config.json has the expected url, & user. Note that it has some hash that is not the literal API token
"auth": {
    "url": "https://<mycompany>.atlassian.net",
    "user": "[email protected]",
    "token": "bW**************************************="
  },
  • jira ls
    A connection error occurred: Error Number: -3008 | Message: getaddrinfo ENOTFOUND undefinedrest

additional info

  • browser can resolve this: https://.atlassian.net/secure/BrowseProjects.jspa?selectedProjectType=software
Request Method: GET
Status Code: 200 
Remote Address: 18.246.31.139:443 <-- note the PORT 443 added for that document
Referrer Policy: same-origin

ping cannot resolve, and show a different IP address.

ping <mycompany>.atlassian.net
PING <mycompany>.atlassian.net (18.246.31.138): 56 data bytes
Request timeout for icmp_seq 0

I used Google as my auth provider when signing up for Jira at https://.atlassian.net

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions