Skip to content
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

Connection reset error #296

Open
MarsLin7 opened this issue Mar 15, 2023 · 2 comments
Open

Connection reset error #296

MarsLin7 opened this issue Mar 15, 2023 · 2 comments

Comments

@MarsLin7
Copy link

Hi,

Thank you so much for the amazing work.

When I try to run the monitorExample.py there's a connection reset error in file xpc.py, both line 69 - "return self.socket.recv(16384)" and line 159 - "resultBuf = self.readUDP()". The error message is as follows:
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host.

I did successfully run the example file with no errors before and now, with no modification to the code, I'm getting this error somehow. I'm new to coding so any solutions or suggestions are much appreciated.

@AlvaroSierra
Copy link

This means that it cannot connect to the plugin either because it is not running or because a firewall is restricting it.

Check on X-Plane if XPlaneConnect is running by looking into the Plugins drop down to check if it appears.

@Notenlish
Copy link

Notenlish commented Jul 19, 2024

I'm having the same problem, XPlaneConnect is working and I've also tried disabling network protection, still it doesn't work. Does anyone have any solutions?

Edit: To anyone who's looking for a solution, I found this python module that essentially does the same thing but doesnt have the connection reset problem: XPlaneUDP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants