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

Github Action failing on Deno Deploy #423

Open
barefoot-alien opened this issue Feb 18, 2025 · 4 comments
Open

Github Action failing on Deno Deploy #423

barefoot-alien opened this issue Feb 18, 2025 · 4 comments

Comments

@barefoot-alien
Copy link

I'm trying to use mongo on Deno Deploy when deploying through git hub actions i am getting the following error.

Download https://jsr.io/@lucsoft/web-bson/0.3.1/crypto
error: Uncaught (in promise) InvalidData: received fatal alert: InternalError
    at async Object.pull

Anyone got any idea why it wont go through?
Locally it all runs fine it just will not get through github actions.
Thanks

@lucsoft
Copy link
Collaborator

lucsoft commented Feb 19, 2025

@barefoot-alien you are using an older Version, can you try to reproduce for the latest version?

@barefoot-alien
Copy link
Author

It is the same on all versions. I was trying an older version to see if the issue was in 0.4.

Download https://jsr.io/@lucsoft/web-bson/0.4.0/crypto error: Uncaught (in promise) InvalidData: received fatal alert: InternalError

@barefoot-alien
Copy link
Author

This turned out to be an issue with the github actions worker connecting to MongoDb.
To get this to work I added deno cache --reload main.ts To my actions file which then let the connection through.
This is the same process I used locally to stop a base64 error that would occasionally appear.

@lucsoft
Copy link
Collaborator

lucsoft commented Feb 20, 2025

Ah you are caching on github actions?

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

No branches or pull requests

2 participants