Skip to content

Conversation

michbur
Copy link

@michbur michbur commented Apr 19, 2018

No description provided.

@HajkD
Copy link
Member

HajkD commented Apr 20, 2018

Hi @michbur

Thank you so much for this great suggestion!

I tried this command an get the following error:

Error in file(filename, "r", encoding = encoding) : 
  cannot open the connection to 'https://install-github.me/HajkD/metablastr'
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
  URL 'https://install-github.me/HajkD/metablastr': status was 'Peer certificate cannot be authenticated with given CA certificates'

On which system do you run this command? Do you know why this certificate auth error might occur?

Many thanks and best wishes,
Hajk

@michbur
Copy link
Author

michbur commented Apr 20, 2018

I tested this under Win10 and Ubuntu, it was working like a charm. I find odd that R cannot open the connection, because the address https://install-github.me/HajkD/metablastr seems to work properly.

Can you do:

 readLines("https://install-github.me/HajkD/metablastr")

If not, your firewall might be a source of the problem. Then it can be solved using:

library(httr)
set_config(config(ssl_verifypeer = 0L))

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.

2 participants