Skip to content

fix: update devcontainer image (redlib-org#434) #435

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oeeq
Copy link

@oeeq oeeq commented May 24, 2025

This PR fixes #434 by updating the devcontainer configuration to use the mcr.microsoft.com/devcontainers/rust:1.0.23-bookworm docker image.

@dethos
Copy link
Contributor

dethos commented Jun 14, 2025

Probably not related to this change single change, but with the overall dev container configuration, but when I try to run the project using cargo run while using the dev container, I keep getting:

ERROR redlib::oauth > Failed to create OAuth client before timeout. Retrying in 5 seconds...

Which doesn't happen if I don't use of the dev containers.

@oeeq
Copy link
Author

oeeq commented Jun 16, 2025

@dethos that's weird, it works on my machine... do you have internet access inside the dev container?

@dethos
Copy link
Contributor

dethos commented Jun 21, 2025

@dethos that's weird, it works on my machine... do you have internet access inside the dev container?

 vscode ➜ /workspaces/redlib $ curl -I https://www.reddit.com
HTTP/2 200 
cache-control: private, s-maxage=1, max-age=1, must-revalidate
content-security-policy: child-src 'self' blob: accounts.google.com;connect-src 'self' ...
content-security-policy-report-only: object-src 'none';script-src ...
content-type: text/html; charset=utf-8
x-is-wrs: false
x-ratelimit-remaining: 197.0
...

It seems so. But if it works for you, it isn't related to this change. So please disregard my comment, I will debug further when I have some spare time.

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

Successfully merging this pull request may close these issues.

🐛 Bug Report: devcontainer.json uses base docker image with outdated rust version
2 participants