Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Abhinav Srivastava May 19, 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)

3 answers

2 votes
Nguyễn Việt Thắng May 19, 2022

I have same issue with Forge in my company's laptop.

0 votes
Benjamin May 19, 2022

I am facing the same issue

0 votes
rmi5kor May 19, 2022

I am facing a similar issue, any help is much appreciated.

Suggest an answer

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

Atlassian Community Events