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

Client won’t connect? #45

Open
i-02 opened this issue Dec 25, 2020 · 3 comments
Open

Client won’t connect? #45

i-02 opened this issue Dec 25, 2020 · 3 comments
Labels
question Further information is requested

Comments

@i-02
Copy link

i-02 commented Dec 25, 2020

Hi, first of all thank you for creating this awesome tool. I’m trying to connect through the https://jubuntu.eastus.cloudapp.azure.com/ client, but it just says it’s attempting to connect and nothing ever happens, not even an error message. I have the server seemingly working; my Switch recognizes/pairs my Raspberry Pi as a pro controller. The last line of output on the console for the server is “root _reply_to_sub_command::295 INFO - received output report - Sub command SubCommand.SET_PLAYER_LIGHTS”. I’m not sure how to go about even just inputting the ‘a d’ ‘a u’ style commands into terminal to test it out.

Again, thanks and I apologize because I’m sure I’m just making a dumb mistake. I could be using the wrong IP address, but I used curl ifconfig.me to get what I believe is the correct one.

@juharris
Copy link
Owner

Thank for the appreciation and for trying out the tool? Do you see anything interesting in the Console in the browser? Usually you press F12 to open it.

@juharris
Copy link
Owner

Looks like https://ifconfig.me/ gives your public address. That might not work on your local network. I assume the device you're looking at that browser page in is on the same network as a Raspberry Pi? You should try with your local IP address for your Raspberry Pi. You can enter hostname into the command line on your Raspberry Pi and it should give you a name that you can use on your local network.

If you do want to use your public IP address because the Raspberry Pi is on a different network from your browser then you'll have to look into exposing your Raspberry Pi publicly so you'll have to check your router settings for how to expose ports publicly.

I know I should document this stuff but I'm not too sure of the best way to do it by myself so that's why I haven't.

@i-02
Copy link
Author

i-02 commented Dec 25, 2020

That’s totally alright, I really appreciate you responding to these issues! You’re right that my client device is on the same network, although I did also try with what I believe was the correct private IP and ran into the same problem.

I’m not at home right now but when I am I’ll double check the private IP and also take a look at the browser console.

@juharris juharris added the question Further information is requested label Dec 26, 2020
juharris added a commit that referenced this issue Dec 26, 2020
juharris added a commit that referenced this issue Dec 26, 2020
* README: Simplify instructions
* server: Add networking docs to help address #45
* server: Correct titles levels for sections in API
* client: Do not run client-test action on push since the deploy action will do it
* client/deploy: Add lint step
* client: Say to you can click/tap/drag the buttons/sticks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants