Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] unable to get local issuer certificate #1104

Closed
alen252 opened this issue Dec 12, 2017 · 12 comments
Closed

[Error] unable to get local issuer certificate #1104

alen252 opened this issue Dec 12, 2017 · 12 comments
Assignees

Comments

@alen252
Copy link

alen252 commented Dec 12, 2017

Steps to Reproduce

1.code-push login
2. input the token which is copyed from web

Expected Behavior

login success

Actual Behavior

What actually happens?

[Error] unable to get local issuer certificate

Reproducible Demo

Environment

  • react-native-code-push version:2.1.4
  • react-native version:0.51.0
  • iOS/Android/Windows version:Android
    My computer is MAC OS
@sergey-akhalkov
Copy link
Contributor

Hi @alen252, thanks for reaching us. The issue looks very weird, just have tried to login using Mac - have no issues. Have you seen this solution nodejs/node#3742 (comment) for the same issue in the nodejs repo?

@alen252
Copy link
Author

alen252 commented Dec 12, 2017

@sergey-akhalkov I execute "npm config set strict-ssl false". But this don't solve my problem.

@sergey-akhalkov
Copy link
Contributor

@alen252 , got it, could you please make sure you are not behind the proxy?

@alen252
Copy link
Author

alen252 commented Dec 12, 2017

@sergey-akhalkov Yes,I'm sure i don't set proxy.

@sergey-akhalkov
Copy link
Contributor

Yes,I'm sure i don't set proxy.

What version of code-push-cli are you using? Could you please try to login via https://github.com/Microsoft/appcenter-cli ?

@alen252
Copy link
Author

alen252 commented Dec 12, 2017

@scottbommarito code-push version is 2.1.4 I don't have code-push-cli command. I try login via https://github.com/Microsoft/appcenter-cli. I login success.But code-push login still failed.

@sergey-akhalkov
Copy link
Contributor

sergey-akhalkov commented Dec 12, 2017

I try login via https://github.com/Microsoft/appcenter-cli. I login success.

Great, due to CodePush is a part of the AppCenter - you can use AppCenter CLI now.

But code-push login still failed.

Hmm, haven't seen such kind of issues before, it's really hard to say what goes wrong here because I believe the issue is probably environment specific, but let's try the following:

  1. code-push logout
  2. npm uni -g code-push-cli
  3. npm i -g code-push-cli
  4. logout from the https://appcenter.ms/apps and then login
  5. code-push login

Let me know if you have any changes.

@alen252
Copy link
Author

alen252 commented Dec 12, 2017

@sergey-akhalkov
After 1-5, there is no change. The error still happen.

@sergey-akhalkov
Copy link
Contributor

sergey-akhalkov commented Dec 12, 2017

@alen252 , do you have any issues with start using the new appcenter-cli instead of old code-push-cli (please take a look at this for more info http://microsoft.github.io/code-push/)? The issue looks very specific and it does not reproduce nor for me nor for the rest of the CodePush team, also haven't seen such kind of issues before from the other customers.
I'm going to investigate it once again and let you know if I have any updates, but for now I believe you can start using new cli without any issues.

Please let me know if you have any concerns or have any issues w/ the new cli.

@sergey-akhalkov
Copy link
Contributor

Closing this, please feel free to reopen and provide more info / exact repro steps that will help us to reproduce this issue.

@alen252
Copy link
Author

alen252 commented Dec 15, 2017

@sergey-akhalkov I begin to user AppCenter CLI.But when i run "appcenter codepush release-react" command.I got a error:
2017-12-15 11 08 48

I feel it is hard to user code push in China.

@sergey-akhalkov
Copy link
Contributor

Hi @alen252, ahh I see, going to try to investigate why codepush-management.azurewebsites.net is probably blocked or so, btw we are going to use in the appcenter-cli another codepush service soon that should not have such kind of problem. Will let you know if I have any updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants