redlib icon indicating copy to clipboard operation
redlib copied to clipboard

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

Open oeeq opened this issue 7 months ago • 4 comments

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

oeeq avatar May 24 '25 07:05 oeeq

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.

dethos avatar Jun 14 '25 10:06 dethos

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

oeeq avatar Jun 16 '25 17:06 oeeq

@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.

dethos avatar Jun 21 '25 20:06 dethos

Thanks, this change works great for me.

deadmeu avatar Sep 10 '25 08:09 deadmeu