Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,480
Community Members
 
Community Events
165
Community Groups

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

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

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

0 votes

I am facing the same issue

0 votes
rmi5kor I'm New Here 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
Community showcase
Published in Jira Work Management

Join us for a live demo of Jira Work Management

Interested in learning more about Jira Work Management? Have questions you want to get answered? Join us for our upcoming live demo where we’ll take you through the essentials of Jira Work Manageme...

1,664 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you