0 votes
ago in SoSci Survey (English) by s172274 (110 points)
edited ago by SoSci Survey

I am reading data in R from the server but the connection times out and the data is not read in.

Error in open.connection(3L, "rb") : cannot open the connection In addition: Warning message: Failed to open 'https://www.soscisurvey.de/polentometro/?act=Pep<snip>': Connection timed out after 10003 milliseconds

I am using R version 4.5.0 from within R Studio Version 2024.12.1+563 (2024.12.1+563) on macOS 15.4.1 (24E263).

1 Answer

0 votes
ago by SoSci Survey (343k points)

I assume this used to be a temporary issue, maybe the server had to write a lot of interviews in the database at that time. I just tried the link from your code (and then removed the secret part of the code that let everybody download your data), and it worked immediately. Does ist work by now? If not, please what happens when you enter the http://... part or the code in the browser address line. If that works but R not, then it's possibly issue of R being blocked from Internet access.

ago by s172274 (110 points)
Thanks for checking! If I use the link in the browser it works, but not if I use it in R. I tried with a different data (stored on GH) and that worked fine so it seems to be a problem with SosciSurvey specifically.

Willkommen im Online-Support von SoSci Survey.

Hier bekommen Sie schnelle und fundierte Antworten von anderen Projektleitern und direkt von SoSci Survey.

→ Eine Frage stellen


Welcome to the SoSci Survey online support.

Simply ask a question to quickly get answers from other professionals, and directly from SoSci Survey.

→ Ask a Question

...