XITRIX / Moonlight-Switch

Moonlight port for Nintendo Switch
970 stars 51 forks source link

Unable to connect to IP correctly #189

Open smallmol opened 1 month ago

smallmol commented 1 month ago

After entering the IP address, click on the connection prompt "not well-formed(invalid token)" I want to ask how to solve it

XITRIX commented 1 month ago

Never saw that error, could you send screenshots with what you try to input to connect and error it self, please?

smallmol commented 1 month ago

I used Sunshine on my PC. 微信图片_20240926205556 Then I entered my computer IP address and clicked on the connection. 微信图片_20240926205906 In the end, it turned out like this.I don't konw why it came to this.I guess it's because of the Sunshine,maybe.

XITRIX commented 1 month ago

This error looks like something from XML parser, not sure if it will help, but try to enable debug logs in Settings, maybe it will be easier to understand what's wrong

Also you could try to remove /switch/Moonlight-Switch folder first

ohlala85 commented 1 month ago

image same bug

XITRIX commented 1 month ago

@ohlala85, you did not even enter the address

Снимок экрана 2024-10-15 в 18 40 05

UP. Sorry, I can see it throw the logs window, that's weird ... You sure there is no spacebars or something like this?

syane1 commented 1 month ago

You'd better set a computer name without any specific characters. I encountered this problem before changing from "Aq'sPC" to "AqsPC".

ohlala85 commented 1 month ago

I found the solution to the problem. The name of the computer should not use any Chinese.

XITRIX commented 1 month ago

Strange, not sure how name could affect connection ...

smallmol commented 1 month ago

https://github.com/qiin2333/Sunshine/releases/tag/alpha I recently switched to this version of the software and followed the tutorial written by the author, and I haven't had any of the previous problems since then. As for the previous version I updated together deleted, I also do not remember the URL do not know how to verify. Thank you very much for your help all the time, but now I can't figure out what the problem is, maybe you should consider looking at the author at the beginning.

---- Replied Message ---- | From | Vinogradov @.> | | Date | 10/19/2024 05:46 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [XITRIX/Moonlight-Switch] Unable to connect to IP correctly (Issue #189) |

Strange, not sure how name could affect connection ...

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

syane1 commented 1 month ago

Strange, not sure how name could affect connection ...

I guess, this may cause xml file (maybe some configuration files directly replace the name of the PC with a variable) parsing error, at least, I encountered a similar problem while programming