-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [WinError 10013] on Windows 10 #29
Comments
Hey, I faced the same issue today. Suddenly the plugin was no longer working and I couldn't edit any files over ssh. I started debugging: TDLR: I hate windowsLong story short, run this in cmd as administrator
Details:I ran my usual ssh command but with
I checked that the server is listening on port 52698: user@53rv3r:~$ sudo lsof -i TCP:52698
[sudo] password for silver:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sshd 655793 user 10u IPv6 248089764 0t0 TCP ip6-localhost:52698 (LISTEN)
sshd 655793 user 11u IPv4 248089765 0t0 TCP localhost:52698 (LISTEN) then I checked if the client (Sublime Text) is listening on 52698 and it wasn't 😭
reinstalling ssh client/server on windows didn't help so I started debugging the plugin python script and ran the following simple code and it caused the same error mentioned in this issue from threading import Thread
import socketserver
class ConnectionHandler(socketserver.BaseRequestHandler):
def handle(self):
self.data = self.request.recv(1024).strip()
print("{} wrote:".format(self.client_address[0]))
r = ConnectionHandler(self.data, False)
class TCPServer(socketserver.ThreadingTCPServer):
allow_reuse_address = True
server = TCPServer(("localhost", 52698), ConnectionHandler)
Thread(target=server.serve_forever, args=[]).start() The issue was from Run these commands on cmd as administrator and it should solve the issue
@randy3k Maybe this workaround should be added in troubleshooting section |
Hello :)
Is it possible to fix this error somehow?
Thanks,
Ihor
The text was updated successfully, but these errors were encountered: