positron icon indicating copy to clipboard operation
positron copied to clipboard

[Bug] Socket Timeout Error When Starting R with Positron

Open kmkamilkhel opened this issue 6 months ago • 2 comments

System Details: Positron and OS Details: Positron Version: 2024.07.0-125

Operating System: Windows 10 Pro, Version 20H2

Interpreter Details: R Version: R 4.4.1

Describe the Issue: I'm experiencing a socket connection timeout error when attempting to start R (version 4.4.1) within the Positron IDE. This issue consistently prevents the successful initialization of R sessions. Below are the error messages and system configurations related to the issue:

R 4.4.1 starting. Error: Socket connect timed out after 20 seconds "c:\Program Files\Positron\resources\app\extensions\positron-r\resources\ark\ark.exe" --connection_file C:\Users\kk\AppData\Local\Temp\kernel-79VBUu\connection.json --log C:\Users\kk\AppData\Local\Temp\kernel-79VBUu\kernel.log --startup-file "c:\Program Files\Positron\resources\app\extensions\positron-r\resources\scripts\startup.R" --session-mode console -- --interactive --no-restore-data Process exit code 1073741845

Log File Details: Here are some relevant excerpts from the log file located at C:\Users\kk\AppData\Local\Temp\kernel-79VBUu\kernel.log:

[2024-08-05 10:15:32] INFO: Starting R process... [2024-08-05 10:15:52] ERROR: Socket connection timed out. [2024-08-05 10:15:52] ERROR: Process exit code 1073741845 - STATUS_ACCESS_VIOLATION

kmkamilkhel avatar Aug 05 '24 07:08 kmkamilkhel