-
Notifications
You must be signed in to change notification settings - Fork 13
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
Issues connecting Wifi on Windows #26
Comments
Looks like the wifi shield failed to connect to your computers server. I would check you computers firewall permissions or the permissions on the nodejs file? Here is the line of code that is producing that error Cheers |
I turned off Windows Firewall and set VSCode to "Run as Admin". Still getting same error. |
Could you create a test application that streams data into the nodejs application to test the internal server? It sounds like we need to approach this problem from another angle. |
Here is a successful log when using Mac. I notice that my host machine starts with
The Windows machine IP address starts with |
i agree with your edit, what is your windows computer ip address? |
The Windows machine is supposedly at |
seems weird those ip addresses are so different right? |
Woah now.... Windows 10 says my IP address should be 10.0.1.14! Bug found! |
awesome, im in class, be back later, lmk if u find the solution 🚀 |
Looking into a fix using parameters for ip.address(), as seen in indutny/node-ip#79 |
@andrewjaykeller Got it working using
I think a more generalized fix would select Ethernet, or a WiFi network interface if Ethernet is not available. What are your thoughts? |
This could be a huge fix for windows users who have had WiFi connection issues on windows! |
Just tried the above code on a Mac, and the network interfaces follow a different standard (ex en0, en1). The fix for this issue should be contained to Windows OS case. |
To fix this issue, the following now happens on WindowsOS only:
|
My Wifi shield has an address of 10.0.1.12 and is attached to a Ganglion board.
Able to connect and stream data using auto-detect and wifi direct on a Mac running OS X Mojave with OpenBCI_NodeJS_Wifi tests and in the Hub.
Using a Windows 10 machine, getStreamingWiFiDirect.js produces an error. This same error is happening in the current GUI when trying to connect, along with other errors stemming from a failure to connect.
The text was updated successfully, but these errors were encountered: