ciderapp / Cider-Game-Bar

An open source UWP Game Bar module for use with Cider.
GNU Affero General Public License v3.0
8 stars 1 forks source link

Localhost refused to connect #4

Open thatpandae opened 2 years ago

thatpandae commented 2 years ago

When I open the widget, I get "Local host has refused to connect"

Kazuki989 commented 2 years ago

Same issue

ilyshirai commented 2 years ago

it's common thing. If you want to "solve" this problem, then compile Cider-Game-Bar by using Visual Studio 2019/2022, it's known issue with WebView2.

Kazuki989 commented 2 years ago

it's common thing. If you want to "solve" this problem, then compile Cider-Game-Bar by using Visual Studio 2019/2022, it's known issue with WebView2.

compiled it with VS 2022. Now it's my local ip (192.168.1.100) refused to connect.

ilyshirai commented 2 years ago

it's common thing. If you want to "solve" this problem, then compile Cider-Game-Bar by using Visual Studio 2019/2022, it's known issue with WebView2.

compiled it with VS 2022. Now it's my local ip (192.168.1.100) refused to connect.

Uninstall prebuilded (from GitHub) Cider-Game-Bar and build it in Visual Studio 2022 again. I can't reproduce, everything seems fine in my case. Can you access Web Remote on Web Browser through 192.168.1.100:6942/localhost:6942? Did you give Firewall access for Cider during first-launch? Did you restart Cider? I would appreciate if you could give more details, so I could reproduce it, thanks!

Kazuki989 commented 2 years ago

I have uninstalled Cider-Game-Bar for a fresh install

Making another fresh build in Visual Studio 2022 (Publish->Create App Packages->Release x64 package) No errors during the process Same Issue 192.168.1.100 took tool too long to respond

=>Web remote works fine through 192.168.1.100:6942/localhost:6942 =>Tried Restarting Cider =>Tried updating to latest stable cider (Previous version 1.4.7 or something) =>Tried disabling windows Firewall

Tell me if there is anymore detail i can provide

I have Uploaded my build if you to test or you can provide me with your build if you can https://www102.zippyshare.com/v/rKsOZOax/file.html

ilyshirai commented 2 years ago

I have uninstalled Cider-Game-Bar for a fresh install

Making another fresh build in Visual Studio 2022 (Publish->Create App Packages->Release x64 package) No errors during the process Same Issue 192.168.1.100 took tool too long to respond

=>Web remote works fine through 192.168.1.100:6942/localhost:6942 =>Tried Restarting Cider =>Tried updating to latest stable cider (Previous version 1.4.7 or something) =>Tried disabling windows Firewall

Tell me if there is anymore detail i can provide

I have Uploaded my build if you to test or you can provide me with your build if you can https://www102.zippyshare.com/v/rKsOZOax/file.html

I built the project the same way as you did and everything seems working fine (as it should) on my fresh Windows 11 setup (22622.586). I tried to replicate environment with Windows Sandbox, however because of Windows Sandbox limitations I couldn't fully access Windows Firewall settings, but I got stuck at "too long to respond" as you too. I will give a try later with full Windows 11 in Virtual Machine.

Tell me if there is anymore detail i can provide

To be honest, everything seems working fine on my laptop, so I would recommend to do updates if there are any. Do you use/have 3rd party Anti-Virus or software that could be related to Networking stuff or some modified version of Windows?

Kazuki989 commented 2 years ago

I have uninstalled Cider-Game-Bar for a fresh install Making another fresh build in Visual Studio 2022 (Publish->Create App Packages->Release x64 package) No errors during the process Same Issue 192.168.1.100 took tool too long to respond =>Web remote works fine through 192.168.1.100:6942/localhost:6942 =>Tried Restarting Cider =>Tried updating to latest stable cider (Previous version 1.4.7 or something) =>Tried disabling windows Firewall Tell me if there is anymore detail i can provide I have Uploaded my build if you to test or you can provide me with your build if you can https://www102.zippyshare.com/v/rKsOZOax/file.html

I built the project the same way as you did and everything seems working fine (as it should) on my fresh Windows 11 setup (22622.586). I tried to replicate environment with Windows Sandbox, however because of Windows Sandbox limitations I couldn't fully access Windows Firewall settings, but I got stuck at "too long to respond" as you too. I will give a try later with full Windows 11 in Virtual Machine.

Tell me if there is anymore detail i can provide

To be honest, everything seems working fine on my laptop, so I would recommend to do updates if there are any. Do you use/have 3rd party Anti-Virus or software that could be related to Networking stuff or some modified version of Windows?

I tried to run it on my friends pc too to see if it's an issue with me he too is having same problem. also, does it have to compiled on the same pc to work? cause i gave him my own build