Skip to content

Cannot connect to LSPs when IPv4 networking is disabled (IPv6 only) #13139

@jacodela

Description

@jacodela

System details:

Positron and OS details:

Positron Version: 2026.04.1 build 10
Code - OSS Version: 1.109.2
Commit: 5dfc924
Date: 2026-04-14T01:12:28.127Z
Electron: 39.3.0
Chromium: 142.0.7444.265
Node.js: 22.21.1
V8: 14.2.231.22-electron.0
OS: Linux x64 6.8.0-110-generic

Session details:

R version 4.5.3 (2026-03-11) -- "Reassured Reassurer"
Platform: x86_64-pc-linux-gnu

and

Python 3.12.3 (main, Mar 23 2026, 19:04:32) [GCC 13.3.0]

Describe the issue:

Similar issue to #11114.

When I connect to a remote machine with Ubuntu 24.04.4 LTS using SSH the error pop-up appears with a message regarding the Ark language client. There is no autocompletion, although both R and Python work from the console.

Steps to reproduce the issue:

  1. Open Positron
  2. Connect to remote machine via ssh
  3. Start R/Python session

Expected or desired behavior:

No error/working autocompletion and implicit line continuation.

Were there any error messages in the UI, Output panel, or Developer Tools console?

R's error pop-up

Ark (R 4.5.3 language client) for session R 4.5.3 - 'r-6fb31ce3' client: couldn't create connection to server.

The following is the message of the output panel:

Creating language client R 4.5.3 for session r-6fb31ce3 on port 39399
[Error - 2:19:35 PM] Ark (R 4.5.3 language client) for session R 4.5.3 - 'r-6fb31ce3' client: couldn't create connection to server.
Error: connect ECONNREFUSED ::1:39399
	at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)

Python's error pop-up

Python Language Server (3.12.3) client: couldn't create connection to server. Error: connect ECONNREFUSED ::1:35519 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)

and the output panel says:

Creating Python 3.12.3 language client (port 35519)
[Error - 2:20:28 PM] Python Language Server (3.12.3) client: couldn't create connection to server.
Error: connect ECONNREFUSED ::1:35519
	at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16)

For what it's worth, the remote machine can only be accessed using ipv6 through a VPN using TCP.

Metadata

Metadata

Assignees

Labels

area: completionsIssues related to Completionsarea: kernelsIssues related to Jupyter kernels and LSP serversbugSomething isn't workingsupport

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions