-
Notifications
You must be signed in to change notification settings - Fork 30
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
issue running as server 'read error in handshake: end of file' #84
Comments
Hm. I don't know what's happening here. Did you enable logging as shown in the examples? Set the level to DEBUG and perhaps that output will be more useful.
Also, what is your client doing? If it exits immediately, then that's your problem. Try the nt_driverstation.py example. |
thanks for the rapid response! (and thanks for all that is robotpy!) here's what i'm seeing:
in the server:
and in the client:
|
I've no idea. Do you perhaps have a firewall enabled that might be killing the connection oddly? Unfortunately, I don't have a Windows 10 machine available to me at this time that I could test this with. |
Hm - I had thought of that and had whitelisted python. But just to be certain, i just disabled all three firewalls (public, private and domain) and still see the same behavior. I'll keep you posted if I learn more. |
btw: I can confirm that the same combination of scripts works on my mac laptop |
Any news here? |
no new news with all the excitement of the build season. |
I just setup a clean Windows 10 VM, installed Python 3.7.2, installed pynetworktables from pip, and ran the nt_robot.py / nt_driverstation.py programs. The firewall asked me if I wanted to allow the programs to communicate, and I said yes. They were able to send values back and forth without any problem. I'm guessing you have something on your machine that is causing this issue. Recommend that you double-check your firewall configuration, and disable any antivirus. |
completely agree that it smells machine specific. as i mentioned earlier,
i believe i've disproved the theory that it's firewall related.
It would be interesting if the problem turns out to be related to the
national instruments installation.
…On Fri, Feb 15, 2019 at 3:01 PM Dustin Spicuzza ***@***.***> wrote:
I just setup a clean Windows 10 VM, installed Python 3.7.2, installed
pynetworktables from pip, and ran the nt_robot.py / nt_driverstation.py
programs. The firewall asked me if I wanted to allow the programs to
communicate, and I said yes. They were able to send values back and forth
without any problem.
I'm guessing you have something on your machine that is causing this
issue. Recommend that you double-check your firewall configuration, and
disable any antivirus.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#84 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOlyznVnoeUtk_O7ut8tN5tal6NMccMQks5vNzxKgaJpZM4adbzX>
.
|
platform windows 10, python3.7.2 native build, pynetworktables version 2019.0.0
in one git-bash window, i start a pynetworktables server:
networktables.NetworkTables.initialize()
in another git-bash window, I start a pynetworktables client:
networktables.NetworkTables.initialize(server="localhost")
back in the server window, i see a stream like this:
fwiw: connections to robot-based server appear solid, just trying to get work done without a robot.
The text was updated successfully, but these errors were encountered: