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

[BUG] Can't remote connect to PS5 at all #470

Open
Tsoomer opened this issue Nov 11, 2024 · 22 comments
Open

[BUG] Can't remote connect to PS5 at all #470

Tsoomer opened this issue Nov 11, 2024 · 22 comments

Comments

@Tsoomer
Copy link

Tsoomer commented Nov 11, 2024

Regardless of what I do or what network I try to connect from, I can't connect to my PS5. When I tried connecting via mobile hotspot the PS5 turned on, but I could not connect to it at all.

Debug Log
chiaki_session_2024-11-11_22-37-24-570570.log

To Reproduce
Steps to reproduce the behavior:

  1. Try to connect to a PS5 via PSN

Expected behavior
I can connect to my PS5

Desktop (please complete the following information):

  • OS: SteamOS
  • Version: 3.6.20
  • Device: Steam Deck
  • chiaki-ng Version: 1.9.1, downloaded from Flathub via Discover
@streetpea
Copy link
Owner

streetpea commented Nov 11, 2024

@Tsoomer can you post a log on your home network? It’s possible your home network is incompatible with nat holepunching so no matter what external network you try it dual. You can get around this by enabling upnp on your home router. If you don’t want to enable upnp, you can also go through the manual port forwarding process

@Tsoomer
Copy link
Author

Tsoomer commented Nov 11, 2024

UPNP is enabled in my home router, would a log still help?

@Tsoomer Tsoomer closed this as completed Nov 11, 2024
@Tsoomer Tsoomer reopened this Nov 11, 2024
@streetpea
Copy link
Owner

@Tsoomer yes, it’s possible you’re behind cgnat so port forwarding doesn’t work

@Tsoomer
Copy link
Author

Tsoomer commented Nov 11, 2024

@Tsoomer yes, it’s possible you’re behind cgnat so port forwarding doesn’t work

Here's a log from within my network, where the connection was successful
chiaki_session_2024-11-12_00-43-13-127127.log

@streetpea
Copy link
Owner

Sorry I wasn’t clear. I meant turn off discovery (click the blue WiFi icon on the console selection sceeen) and use the remote connection locally with verbose logs enabled and then post the logs.

@Tsoomer
Copy link
Author

Tsoomer commented Nov 12, 2024

@streetpea Thank you for the clarification, here's a log like that. It managed to connect to the PS5 this time.
chiaki_session_2024-11-12_14-20-21-100100.log

@streetpea
Copy link
Owner

streetpea commented Nov 12, 2024

@Tsoomer from that log I can see 2 things.

  1. your home router has the type of network incompatible with remote connection via psn so upnp will need to be enabled for it to work.
  2. Upnp doesn’t appear to be enabled on your home network as it fails to discover any upnp devices.

@Tsoomer
Copy link
Author

Tsoomer commented Nov 12, 2024

@streetpea That's very weird, I've checked in the settings of my router and Upnp is definitely enabled there. Is there anything I can do about this?

@streetpea
Copy link
Owner

@Tsoomer can you check in your router and see if any upnp rules are set up?

@Tsoomer
Copy link
Author

Tsoomer commented Nov 12, 2024

@streetpea When I go into my router into Advanced Settings > Firewall > UPnP the only options are to enable or disable UPnP. Where else could those rules be?

@streetpea
Copy link
Owner

I'm not sure. It depends on the specific router. Since upnp doesn't appear to be working, you can always manually forward ports following this: https://streetpea.github.io/chiaki-ng/setup/remoteconnection/#manual-remote-connection

@streetpea
Copy link
Owner

streetpea commented Nov 16, 2024

@Tsoomer it's likely you're behind CGNAT so port forwarding doesn't work. Can you login to your router and see what the external ip or WANIP is for the router for ipv4? If it's an internal ip and not an external ip you're behind CGNAT. In this scenario, port forwarding doesn't do anything because you the external ip is at your ISPs router not your router so the ports would need to be forwarded there which you don't have access to.

@Tsoomer
Copy link
Author

Tsoomer commented Nov 18, 2024

Sorry for the late reply. I can see the WANIP and it doesn't seem to be an internal IP address, at least it doesn't look like one.

@streetpea
Copy link
Owner

@Tsoomer what are the first 3 digits?

@Tsoomer
Copy link
Author

Tsoomer commented Nov 18, 2024

Of the WAN IP or the WAN IPv6?

@streetpea
Copy link
Owner

The wan ip

@Tsoomer
Copy link
Author

Tsoomer commented Nov 18, 2024

The first byte is 10

@streetpea
Copy link
Owner

@Tsoomer if it’s 10. Something then it’s a private ip

@Tsoomer
Copy link
Author

Tsoomer commented Nov 18, 2024

@streetpea Yes, it's 10.something, what should I do then?

@streetpea
Copy link
Owner

@Tsoomer you can also look at the ip whatismyip.com gives you for a connected device for ipv4. It should be the same as the wan ip. If not, it’s behind cgnat.

@streetpea
Copy link
Owner

@Tsoomer since you have cgnat port forwarding and upnp don’t work. Since your home router is symmetric nat (so it isn’t compatible with udp hole punching) that also won’t work. I believe the only way you can get it working with your current setup is to setup a vpn into your home network you can connect to.

@streetpea
Copy link
Owner

streetpea commented Nov 18, 2024

You can follow this to do so with a free vpn https://www.howtogeek.com/how-to-remote-access-your-network-using-tailscale-vpn/

A guide specifically covering various vpn setups for remote play using chiaki is here: https://github.com/williampiat3/ImprovingPSRemotePlay?tab=readme-ov-file#install-a-vpn-server. You can just substitute chiaki with chiaki-ng

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