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

[Bug]: Could not retrieve latest CLI release info. Try again later. #42

Open
3 tasks done
pessimo opened this issue Mar 14, 2023 · 4 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@pessimo
Copy link

pessimo commented Mar 14, 2023

Checklist

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the Issue Tracker for a bug that matches the one I want to file, without success.
  • This issue is specifically related to Conduit's CLI

CLI version

0.0.15

Installation Type

MacOS

Describe the Bug

After installation, I execute the following command in terminal

conduit deploy setup

It gave me an error.
Error: Could not retrieve latest CLI release info. Try again later.

Expected Behavior

I guess it should give me the regular output.

How to Reproduce

conduit deploy setup

Additional Information

I searched in the source code, and I find this error output in an axio request. So I guess, it might be some problem in my proxy setup. But I have no idea how to debug it. Normally, If I set

ALL_PROXY=host:port

everything will be okay.
It doesn't work this time.

Environment

macosx 12.4

@pessimo pessimo added the bug Something isn't working label Mar 14, 2023
@kon14
Copy link
Contributor

kon14 commented Mar 14, 2023

Hello @pessimo, is the following URL not accessible for you?
https://api.github.com/repos/ConduitPlatform/CLI/releases/latest

@pessimo
Copy link
Author

pessimo commented Mar 14, 2023

Yes, I can confirm, the URL above is accessible for me via browser and curl.

@kon14
Copy link
Contributor

kon14 commented Mar 14, 2023

I pushed a branch logging the axios response error.

Could you try the following and share the exact error that's being returned to you?
git clone [email protected]:ConduitPlatform/CLI.git && cd CLI && git checkout debug-pessimo && yarn --frozen-lockfile && npm run prepack && node bin/run deploy setup

@pessimo
Copy link
Author

pessimo commented Mar 15, 2023

sure, I'll try it. But I'm not good at js stacks :P ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants