Ask Your Question

How reconnect to remote host after losing connection?

asked 2020-08-10 14:13:38 -0500

SomervilleTom gravatar image

updated 2020-08-10 21:47:53 -0500

Is there a way to reconnect a remote debugging session without losing the current state?

I'm running WingIDE Pro v6.1.5-1, and I'm using remote debugging between my Windows 10 Pro host system and an AWS EC2 instance. For some reason (thank you, aws!), the SSH connection seems to have been lost. The project thinks some state hasn't been saved.

The editor thinks it's saved my files, but when I attempt to close the file I get a complaint that says "Failed to write remote project file tms_dev_covid_project:covid_project.wpr (opt.covid): <class 'filenotfounderror'=""> [Errno 2] No such file or directory: 'opt.covid/covid_project.wpr'" followed by another complaint that says "Some remote files could not be saved within 15 seconds. Please check the network and try again: tms_dev_covid_project:covid_project.wpr (opt.covid) The timeout for this is configured with the Network > Hung Connection Timeout preference."

The remote files are still there and have apparently already been updated.

Is there a way to reconnect, or should I just kill the local IDE instance (using task manager) and restart?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2020-08-11 09:03:07 -0500

You could try reconnecting from the Remote Hosts dialog by selecting the host and using the probe icon (the rightmost one), but it may not solve it if it's confusion on the IDE side and not the lack of connection This code has been rewritten and greatly improved in Wing 7, where it should just reestablish a connection to the remote agent and keep going (most of the time, anyway).

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-08-10 14:13:38 -0500

Seen: 210 times

Last updated: Aug 11 '20