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

Update to Octocrab 0.38.0 #201

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

Conversation

mayanez
Copy link

@mayanez mayanez commented Jul 3, 2024

Hi!

I'm new to rust so if there's anything that I did wrong please let me know.

I've updated Octocrab to 0.38.0 mainly for the opentls feature. The reason is that rustls does not support native certificates without https://github.com/rustls/rustls-native-certs. Octocrab doesn't seem to have this as a feature option, but does have opentls which works correctly.

The issue I was facing was the same as described in other threads (eg. moonrepo/proto#204) due to being behind a corporate proxy. See below for the error:

 HTTP Error: error sending request for url (https://api.github.com/user): error trying to connect: invalid peer certificate:
      UnknownIssuer

With this update everything works as expected. Looking forward to using your tool!

quodlibetor pushed a commit to quodlibetor/spr that referenced this pull request Aug 28, 2024
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.

1 participant