Rubymine debug session crashing with vagrant ubuntu on windows 10

I'm running RubyMine 2017.3 on Win10, virtualbox vagrant with ubuntu.  When I'm running the server (debug mode), periodically the server will crash.  This happens annoyningly often and seems to be driven moodiness of rubymine or vagrant or something.  I wont see it for weeks, then I'll see it every 30 min or so.  

In the rubymine console window I will see:

Process finished with exit code -1

The next client web browser access will fail with "empty response from server", and subsequent requests will get connection refused.

Doing a ps -ef | grep ruby will show a zombie ruby-debug-ide process, which I must kill (otherwise restarting rubymine debug will show server already running)

Once that's done, I can restart the server from rubymine and after the painfully long server startup, I'm going again.  But it's really annoying.

Logs and Info

My vagrant file is here: https://gist.github.com/joshco/04680f956f23e390382c1cc897335193

the only unusual thing is I have an explicit private network. (192.168.10.10)

Rubymine logs are below.  Not sure what's causing the 'processWillTerminate', but it's having problems with remote port forwarding removal.  FWIW I dont really need the remote port forwarding as I am using an explict private network to connect via browser to my app.  If there is a way to dsable RPF, and that's the problem, LMK)

Rubymine logs show the following

2017-12-30 00:08:13,652 [198983224] INFO - emote.RubyRemoteProcessHandler - processWillTerminate: removing port forwarding - Port forwarding[from remote server 0.0.0.0:3000 to local localhost:3000]
2017-12-30 00:08:13,652 [198983224] INFO - emote.RubyRemoteProcessHandler - Unable to remove port forwarding
com.intellij.remote.RemoteSdkException: Failed to delete local port forwarding
at com.intellij.ssh.process.SshProcess.removeLocalTunnel(SshProcess.java:116)
at org.jetbrains.plugins.ruby.remote.RubyRemoteProcessHandler.removeTunnels(RubyRemoteProcessHandler.java:50)
at org.jetbrains.plugins.ruby.remote.RubyRemoteProcessHandler.access$000(RubyRemoteProcessHandler.java:20)
at org.jetbrains.plugins.ruby.remote.RubyRemoteProcessHandler$1.processWillTerminate(RubyRemoteProcessHandler.java:35)
at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.execution.process.ProcessHandler$5.invoke(ProcessHandler.java:239)
at com.sun.proxy.$Proxy17.processWillTerminate(Unknown Source)
at com.intellij.execution.process.ProcessHandler.fireProcessWillTerminate(ProcessHandler.java:221)
at com.intellij.execution.process.ProcessHandler.access$200(ProcessHandler.java:38)
at com.intellij.execution.process.ProcessHandler$4.run(ProcessHandler.java:184)
at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:272)
at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:177)
at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:173)
at com.intellij.remote.BaseRemoteProcessHandler.onOSProcessTerminated(BaseRemoteProcessHandler.java:127)
at com.intellij.remote.BaseRemoteProcessHandler$1.a(BaseRemoteProcessHandler.java:113)
at com.intellij.execution.process.ProcessWaitFor$1.run(ProcessWaitFor.java:66)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.intellij.ssh.SshTransportException: Failed to delete local port forwarding
at com.intellij.ssh.SshSession.removeLocalTunnel(SshSession.kt:66)
at com.intellij.ssh.process.SshProcess.removeLocalTunnel(SshProcess.java:113)
... 22 more

Please sign in to leave a comment.