"There is no write access provided by host" when connected to VM for a specific project in Jetbrains Client

Answered

I am able to successfully SSH into my VM via Jetbrains Gateway 2023.3.1, though I'm unable to perform actions I was able to do yesterday. The most significant is the inability to edit project files as seen below:

It also doesn't allow me to edit debug configurations, create new files, or build the project. All of these other errors are of the form:

Code With Me

You are not permitted to execute action 'Build Project'

The strange thing is that the file permissions in console are set up to allow writes by the owner, which I can see is myself. Other projects with the same permissions experience no issues. There's a workaround that allows me to edit files of the problematic project if I connect to the cvm using the project folder that encapsulates the project experiencing issues, but I can't directly connect to the project and execute common actions. I would like to fix the issue despite the workaround for a better experience. 

I don't have the Code With Me plugin installed, and the issue doesn't seem connected to any changes I made. I've tried various restarts, redownloads of Jetbrains Gateway, and cloning a fresh version of the project. Any help is appreciated.

0
15 comments

What is your remote IDE version (not Gateway but the IDE itself)?

Please send us logs from both sides collected according to https://www.jetbrains.com/help/idea/2022.3/remote-development-troubleshooting.html#support

and uploaded to https://uploads.jetbrains.com

0

JetBrains Client 2022.2.1
Build #JBC-222.3739.54, built on August 15, 2022
Licensed to ****

Runtime version: 17.0.3+7-b469.37 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.2.1
Controller in Remote Development (IU)
GC: G1 Young Generation, G1 Old Generation
Memory: 1504M
Cores: 10
Metal Rendering is ON
Registry:
    rdclient.backend.actionHandlers=false

Non-Bundled Plugins:
    com.intellij.plugins.visualstudiokeymap (222.3739.30)
    com.intellij.plugins.netbeanskeymap (222.3739.30)
    com.intellij.plugins.eclipsekeymap (222.3739.30)

0

Logs from Gateway:

Upload id: 2023_01_12_rgQVw9Wcc8Z4SXoc2kobUi (file: gateway-logs-20230112-1251216415432394175100126.zip)

0

Thanks for logs. Please try 2022.3+ first. 

0

What is the best way to update Jetbrains Client? I've been updating the Gateway through the Toolbox which doesn't contain the client. When navigating to Jetbrains Client > Check for Updates, I get "All plugins are up to date. Jetbrains Client updates are managed externally by (unknown)."

0

Unfortunately, an in-place upgrade is not implemented yet, so you have to re-setup the SSH connection with a new version for the backend (in the wizard as in a standard scenario). With the new remote IDE version, the local Client will be updated automatically. 

 

Also, this error itself seems like everything went wrong in general (as well as logs show). Does anything work when you notice it?  mean, UI responds, caret moves, etc? 

0

Caret moves seem to work, and viewing files seems to handle alright. It also seems to pick up changes to the files made from elsewhere, like vim, but doesn't seem to include newly created files that didn't exist before it broke. I'll try to apply the advice from your last comment and see if that can resolve it. Thanks

0

Well it looked promising running it on 2022.3.1, but it ended up hitting an error while executing command: 'kill-backend'. I uploaded the resulting logs from that as well.

Upload id: 2023_01_12_kbSqsDrR1k59iSouup7AUA (file: gateway-logs-20230112-13562111095389911565592932.zip)

0

Do you have the previous version still running on the host? may you stop it/remove it and retry?

0

At the time of that log I had removed the connection from recent projects. It also doesn't seem to allow me to stop running the connection if I choose to keep it. It brings up the "Stop Running Project" progress bar but doesn't actually terminate when it resolves.

0

Stuck with same issue  - "There is no write access provided by host" on the following version

I'm running remote development (on MacOS Monterey) accessing  remote files on Ubuntu 

IntelliJ IDEA 2022.2.1 (Ultimate Edition)
Build #IU-222.3739.54, built on August 16, 2022

 

Very hard to resolve the problem, sometimes after restart works 

Please help

0

I was able to resolve mine late yesterday with a shutdown and reboot of the virtual machine. I think it was an odd issue with the connection between Jetbrains Client and the vm. Thanks for all your support, Gyulnara.

-1

I came across the same issue several times. It seems to be caused by non-properly terminated process of running instance. Therefore, I manage to solve the problem by finding the process and kill it with 'kill -9'

2

524048328

I am having this issue as well...how did you identify the improperly terminated process?

0

You can either stop the backend using a red button near the "Running" state on the list of "Recent connections" or enter the remote machine by SSH and find processes using "ps uax|grep remote-dev.sh". Stopping them terminates the backend. 

0

Please sign in to leave a comment.