I am getting the above issue when enter the access key after running
code-push register command
Please help.
Thanks
Hi @hanishs17, thanks for reaching us. Did you have an access to CodePush server before the issue? In case you have tried to register CodePush first time, it would sound obviously, but have you configured firewall or proxy (VPN)? You also could try to relaunch your internet connection (I have heard it helps someone before). Please let me know if you have any updates.
@hanishs17, just a friendly ping.
Closing this for now, please feel free to reopen if needed.
I'm getting the same error when running:
code-push release-react xxxxxx ios
[Error] Unable to connect to the CodePush server. Are you offline, or behind a firewall or proxy?
(getaddrinfo ENOTFOUND codepush-management.azurewebsites.net codepush-management.azurewebsites.net:443)
I'm not behind a proxy or firewall. Also, I'm not offline since I can post this.
I tried restarting my internet and it's still happening.
Solved
I was using iterm2. I closed the tab, opened a new one, and executed the command again: it worked.
Maybe it's a terminal issue?
@bernatfortet, thanks for your response.
Maybe it's a terminal issue?
It is difficult to say due to there is no stable reproduction steps that we could use to determine root cause of the issue.
Please let us know if you have any questions or see any issues.
@bernatfortet WOW!..
Works... this is very strange
Most helpful comment
Solved
I was using iterm2. I closed the tab, opened a new one, and executed the command again: it worked.
Maybe it's a terminal issue?