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

Cannot connect via noray #174

Closed
marty1912 opened this issue Dec 14, 2023 · 8 comments
Closed

Cannot connect via noray #174

marty1912 opened this issue Dec 14, 2023 · 8 comments

Comments

@marty1912
Copy link

I am having trouble getting the example project to work. It works fine as long as I am testing with multiple instances on the same machine. For networking beyond my local network (using noray) I cannot connect to the host. Tested this with 2 friends behind different routers as well as using a mobile hotspot.

The handshake fails for the client due to a Timeout.
Server reports Handshake as concluded (as expected when using PacketHandshake.over_enet)

Am I doing something wrong or is this a problem with noray?

Our approach was:

  1. connect to noray on host and client
  2. copy the hosts noray openID and send it to the clients
  3. press "host" on the host
  4. paste the openID of the host in the clients LineEdits (Host OID)
  5. press join
  6. Timeout for clients on handshake
@marty1912
Copy link
Author

forgot to mention we were using your noray instance on tomfol.io:8890
it seems that the connection to noray works fine because we are getting the openIDs

@elementbound
Copy link
Contributor

Hi @marty1912, the approach seems fine. Have you tried with the Force relay option?

@marty1912
Copy link
Author

Yes I tried both force relay on and off (for host and client) but It seems that it defaults to relay anyways if the nat punchthrough fails.

@elementbound
Copy link
Contributor

I'll try to recreate it on my end and see if I can find something!

@elementbound
Copy link
Contributor

Hi @marty1912, could you tell me more about the setups you've tested with? Device type, OS, router type, etc. Also any logs you may have from the application run.

Unfortunately I wasn't able to reproduce the issue.

@marty1912
Copy link
Author

Hi @elementbound and thank you for the help.
I am using my desktop PC (Win 11) with a router (TP-Link Archer C7 v5 running openwrt 22.03)
and a laptop PC (Win 10) that is connected via iPhone hotspot.
I am using the build of forest-brawlv1.1.1win64
logs for both host and client are attached (using force relay)

norayLogs.txt

@elementbound
Copy link
Contributor

Hi @marty1912, I've checked the noray instance and I can see some people joining on the 13th from 7am to 5pm UTC+1 and some limited traffic going through the relay. I can also see from the logs that the registration was indeed successful.
So based on this, traffic reaches noray and then it gets forwarded.

I'm not familiar with OpenWRT, is there some chance it's blocking incoming UDP traffic?

@elementbound
Copy link
Contributor

Hi @marty1912, is there any update on this?

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

2 participants