2

When I tried to use near CLI command near login. I got the following msg (showing in the attached picture) before I can approve access from wallet.testnet.near.org

near login failed msg

1
  • I'm getting the same sort of error. I've deleted my browser local storage, deleted the .near-credentials files, re-installed near-cli and tried to generate my own key locally to no avail. I have others on my team that had no problem, though, using this link: near-sdk.io/zero-to-hero/basics/set-up-skeleton May 19, 2022 at 22:54

1 Answer 1

2

I looked into the near-cli source code and found that there was a callback using port 5000. My Mac (Monterey 12.3.1) was using port 5000 already, which I couldn't kill off and which in turn led me to a quick Google search. All the articles basically say this: Turn off AirPlay Reciever Did so, and now I'm able to use near login successfully.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.