MRCIEU / ieugwasr

R interface to the IEU GWAS database API
https://mrcieu.github.io/ieugwasr/
Other
67 stars 23 forks source link

Getting an error in authentication #91

Closed 16090745lai closed 1 week ago

16090745lai commented 1 week ago

exp<-extract_instruments(outcomes= c("ebi-a-GCST90018890"),p1 =5e-08) Requesting default values. Extracting from pre-clumped data 0 out of 1 requested outcomes have pre-calculated instruments. Extracting data from 1 GWAS(s) and performing LD clumping [>] 1 of 1 2024-06-26 20:40:10.761247> No httr_oauth_cache file found at mrbase.oauth - creating new file. Waiting for authentication in browser... Press Esc/Ctrl + C to abort Authentication complete. Error in curl::curl_fetch_memory(url, handle = handle) : Timeout was reached: [accounts.google.com] Failed to connect to accounts.google.com port 443 after 10001 ms: Timeout was reached

My token is is still valid, but when I run the extract line, my Chrome opens a Google OAuth page for me, and after I finish the authentication return to R, and that's the "timeout" error message.

JasonQiu commented 1 week ago

Check out the latest version of ieugwasr.

16090745lai commented 1 week ago

Check out the latest version of ieugwasr.

Thank you, but I found out it was the Two Sample MR pack that needed to be upadated.