Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Need help to set up proxy in order to connect to forge from company machine behind corporate firewal

Need help to set up proxy in order to connect to forge from company machine behind corporate firewal

Abhinav Srivastava
Contributor
June 28, 2022

When I am running the below command from company's machine I get below error

Command:
forge login -u myemailid -t apitokenkeygeneratedfromjira --verbose


Error:
Log in to your Atlassian account
Press Ctrl+C to cancel.

Logging you in...

▶️ GraphQL https://api.atlassian.com/graphql
Query:
query forge_cli_getUserDetails {
me {
user {
name
accountStatus
accountId
}
}
}
Variables: {}
request to https://api.atlassian.com/graphql failed, reason: getaddrinfo ENOTFOUND api.atlassian.com

Error: We couldn't log you in with those credentials. Check your email address and token before rerunning the command.

Error: We couldn't log you in with those credentials. Check your email address and token before rerunning the command.
at loginCommandHandler (C:\Users\XYZ\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\register-authentication-command.js:41:65)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Command.actionProcessor (C:\Users\XYZ\AppData\Roaming\npm\node_modules\@forge\cli\out\command-line\command.js:76:32)

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events