-
Notifications
You must be signed in to change notification settings - Fork 0
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
API not working on WSL 2 and google-cloud VM #2
Comments
Note: On windows works fine |
It looks like you're using Ubuntu or Debian on WSL, is that correct? If so, could you verify the |
It seems curl fails to find the certificate bundle, either way (note: Could you try setting the following environment variable, such that R has access to it?
|
It is also working fine for me on both macOS and Linux, which leads me to believe it is a problem with the setup in the VM you're using. Regardless, a very similar issue was reported in #1, so I would like to get to the bottom of this. However, it is 11pm on my end, and very much the weekend. I'll happily get back to the issue on Monday. If you find out the cause in the mean time, please do leave a comment. |
Oh, OK. Sure, no worries, I'm about to finish here as well. It is not a big problem for me. I could download the data on my Windows machine. I thought you guys might want to know about this. A friend of mine managed to make this work on her Ubuntu so it is problem something on my machine and on the Google Cloud compute engine, I don't know much about network stuff. |
This post helped me to run the curl using the ca-bundle |
When making request to the API on WSL 2 or a google-cloud VM with Ubunt I get this error:
It seems that this is a problem with the website certifications. When I use www.ssllabs.com to get the correct certification bundle (Certification Paths). I manage to access the API.
Working using ca-bundle from ssllabs:
The text was updated successfully, but these errors were encountered: