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

Failed to fetch latest release. #68

Open
htekgulds opened this issue Sep 10, 2024 · 2 comments
Open

Failed to fetch latest release. #68

htekgulds opened this issue Sep 10, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@htekgulds
Copy link

Hello, great work! I'm looking into dagger and I would love to use fluentci.

I'm getting the follwing error when i run the hello world example:

$ fluentci run --wasm base hello World!
✔ Pkgx setup complete
Failed to fetch latest release.

How can i open a debug log so i can see what's going wrong? I couldn't find it in the docs

Thanks in advance.
Best Regards

@tsirysndr
Copy link
Member

Hi @htekgulds ,

Thank you for your kind words and for checking out FluentCI!

It looks like you're running into an issue where the GITHUB_ACCESS_TOKEN is required to fetch the latest release (rate limited Github API for unauthenticated requests).

Here's how to resolve it:

Set up a GitHub access token:

You need to create a personal access token (PAT) from your GitHub account, which will allow FluentCI to access the latest release.

You can generate one by following these steps:

Go to your GitHub token settings.

Click Generate new token.

Select the necessary permissions (at least repo and read:packages).

Copy the token.

Set the token as an environment variable:
Once you have your token, set it in your terminal like this:

export GITHUB_ACCESS_TOKEN=your_token_here

After that, try running the command again.

@tsirysndr tsirysndr added the bug Something isn't working label Sep 10, 2024
@htekgulds
Copy link
Author

Hello, thanks for the fast reponse.

Unfortunately even after exporting access token, the same error occurs. It might be the corporate network, since we face similar issues all the time but I cannot be sure.

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