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 find host pc #55

Open
Llompi opened this issue Jan 26, 2021 · 14 comments
Open

Cannot find host pc #55

Llompi opened this issue Jan 26, 2021 · 14 comments

Comments

@Llompi
Copy link

Llompi commented Jan 26, 2021

I am currently on 11.0.1 with atmosphere v. 0.17.1 on emmumc.
I also have the 90dns servers set up on my switch network settings.

When I open moonlight my pc does not appear. When I try to enter the ip address manually the screen just freezes, unless I touch the screen, then the spinning circle moves a little bit and if I continue doing that it will eventually show a computer with the ip address below it but wont connect to it saying that it is inactive. I have used moonlight on my phone with no issues and when I run android on my switch moonlight works too.

I have tried launching moonlight while holding R (full RAM?) to see if that would help but no luck.

I originally installed moonlight from the Homebrew store, then I uninstalled it and dropped the nro file manually, same results both times.

@Siju21
Copy link

Siju21 commented Feb 1, 2021

Second! this is happening to me as well, except for me, once the PC finally appears, it crashes my switch.

@windraver
Copy link

I had the same issue here and did a hacky work around to make it work

#52

@Llompi
Copy link
Author

Llompi commented Feb 20, 2021

I had the same issue here and did a hacky work around to make it work

#52

How did you get it to work?

@windraver
Copy link

@Llompi , see this issue here I reported: #52

I modified the code to ignore errors. In short I determined that we could still connect because the host did in fact exist.

@Shadowtuy
Copy link

@Llompi , see this issue here I reported: #52

I modified the code to ignore errors. In short I determined that we could still connect because the host did in fact exist.

Could I get that version?

@windraver
Copy link

@Llompi , see this issue here I reported: #52
I modified the code to ignore errors. In short I determined that we could still connect because the host did in fact exist.

Could I get that version?

The code is in the issue I linked.

@Shadowtuy
Copy link

lets just say, I'm not exactly sure how to apply that. Little help? 😓

@shenkkazoo
Copy link

shenkkazoo commented May 29, 2021

Also having the problem exactly as Llompi described, using the latest version of moonlight on switch version 12.0.0, atmosphere version 19.0.

@Elpatii
Copy link

Elpatii commented Jun 2, 2021

Hello, I've the same problem. From the logs of Moonlight, I have a 200 response from my PC when checking with port 47989, but when checking with port 47984, I've a timeour or a SSL error.

2021-05-03 12:31:15 [INFO][CURL] Request:
http://192.168.1.37:47989/serverinfo?uniqueid=0123456789ABCDEF
2021-05-03 12:31:15 [INFO][CURL] Response:
<?xml version="1.0" encoding="UTF-16"?><root protocol_version="0.1" query="serverinfo" status_code="200" status_message="OK"><AuthenticationType>1</AuthenticationType><ConnectionState></ConnectionState><CurrentClient>0</CurrentClient><GfeVersion>3.22.0.32</GfeVersion><GsVersion>gs_04_31_29754594</GsVersion><HttpsPort>47984</HttpsPort><LocalIP>192.168.1.37</LocalIP><LocalIPs><Address>XXXX</Address></LocalIPs><LocalIPs><Address>192.168.1.37</Address></LocalIPs><LoginState>2</LoginState><MaxLumaPixelsH264>1721324928</MaxLumaPixelsH264><MaxLumaPixelsHEVC>1869449984</MaxLumaPixelsHEVC><Mode>0</Mode><PairStatus>0</PairStatus><ServerCapability>3895</ServerCapability><ServerCodecModeSupport>3843</ServerCodecModeSupport><ServerColorSpaceSupport>2</ServerColorSpaceSupport><SupportedDisplayMode><DisplayMode><Height>2160</Height><RefreshRate>60</RefreshRate><Width>3840</Width></DisplayMode><DisplayMode><Height>2160</Height><RefreshRate>30</RefreshRate><Width>3840</Width></DisplayMode><DisplayMode><Height>1080</Height><RefreshRate>60</RefreshRate><Width>1920</Width></DisplayMode><DisplayMode><Height>1080</Height><RefreshRate>30</RefreshRate><Width>1920</Width></DisplayMode><DisplayMode><Height>720</Height><RefreshRate>60</RefreshRate><Width>1280</Width></DisplayMode><DisplayMode><Height>720</Height><RefreshRate>30</RefreshRate><Width>1280</Width></DisplayMode></SupportedDisplayMode><accountId>XXXXXXX</accountId><appversion>7.1.431.0</appversion><currentgame>0</currentgame><gamelistid>XXXXX</gamelistid><gputype>NVIDIA GeForce RTX 2080</gputype><hostname>XXXXXX</hostname><mac>XXXXXXXX</mac><numofapps>0</numofapps><resyncSuccessful>0</resyncSuccessful><state>MJOLNIR_STATE_SERVER_AVAILABLE</state><uniqueid>867e2c1a-e4e1-4884-b6e5-2479478fd105</uniqueid></root>
2021-05-03 12:48:20 [INFO][MOONLIGHT] Starting...
2021-05-03 12:48:20 [INFO][CURL] libcurl/7.69.1 mbedTLS/2.16.6 zlib/1.2.11
2021-05-03 12:48:20 [INFO][CURL] Request:
https://192.168.1.37:47984/serverinfo?uniqueid=0123456789ABCDEF
2021-05-03 12:50:08 [ERROR][CURL] error: SSL connect error

Moonlight is working well from inside or outside network on my PC, my phone and my Shield TV.

@manaboy
Copy link

manaboy commented Jun 6, 2021

Ok so I found with the latest version of moonlight 12.0 and latest atmosphere 12 there is an isses witj moonlight detecting my pc, find host never works and from the android version I can easily find the host, so I got my pc IP address and manually try adding it via the Add Host on moonlight NX, it gave the connection timed out error at first so I tried again and it added it.

So if you get connection timed out error and you're sure you have the right host IP, try again, it should work by the 3 try.

Hope this helps

@alcoma
Copy link

alcoma commented Oct 28, 2021

I know this issue is getting stale, but I was having the same problem and fixed it. Make sure that you are launching the homebrew menu via title takeover (pressing 'r' while launching a GAME). This allows it to work flawlessly. If you launch the homebrew menu in applet mode (holding ZR while opening the album) it can cause this issue.

@manaboy
Copy link

manaboy commented Oct 28, 2021

Thanks worked a charm.

@songyuyx
Copy link

songyuyx commented Dec 5, 2021

I have meet the same issue...

@songyuyx
Copy link

songyuyx commented Dec 5, 2021

我知道这个问题已经过时了,但我遇到了同样的问题并修复了它。确保您通过标题接管启动自制菜单(在启动 GAME 时按“r”)。这使它能够完美地工作。如果您以小程序模式启动自制菜单(在打开相册时按住 ZR)可能会导致此问题。

May I have more help about the steps. sry for my noob.

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

9 participants