MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
450 stars 54 forks source link

[Problem/Bug]: Server connection issue with Sony websites #4097

Open Tamsus opened 12 months ago

Tamsus commented 12 months ago

What happened?

WebView2 does not allow signing into sony.com, myaccount.sony.com, playstation.com, etc. which means the PS Remote Play App which uses WebView2 for sign-in fails to allow user verification.

By default, Edge will also block sign-in to these websites; however, other browsers work fine. Opening a link from the sign-in page to the Sony site and trying to disable tracking prevention also does not allow sign in.

image

image

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

118.0.2088.61

SDK Version

1.0.902.49

Framework

WPF

Operating System

Windows 11

OS Version

10.0.22621 Build 22621

Repro steps

  1. Download and install PS Remote Play App: https://remoteplay.dl.playstation.net/remoteplay/lang/en/1100001.html#title_wrk_bf4_1xb
  2. Open PS Remote Play App
  3. Click Sign In to PSN
  4. WebView2 window opens for PSN login
  5. Sign into PSN using Email Address
  6. Click Next
  7. Sign into PSN using Password
  8. Click Sign In
  9. Error Appears: "A connection to the server could not be established. (18.1e4adc17.1698165021.1b286fd6)

Regression

No, this never worked

Last working version (if regression)

No response

victorhuangwq commented 12 months ago

Thanks for reporting this bug. @yildirimcagri-msft do you have an idea about this issue?

SayakMukhopadhyay commented 12 months ago

I am on Firefox and facing the same issue. @Tamsus which browsers are working for you?

Tamsus commented 12 months ago

@SayakMukhopadhyay using Chrome has no issues for me.

MS Edge likewise causes this error; however, adding exceptions for my.account.sony.com, sony.com, and playstation.com to the tracking prevention settings in Edge allow the Captcha to load and a successful sign in. These adjusted settings unfortunately do not carryover into WebView2.

unitea1992 commented 11 months ago

This issue is causing many Windows users to have problems using "PS Remote Play". We need to address this issue as soon as possible, as it has a significant impact. I have tried and tried, but I am in the same situation as the poster, unable to use Remote Play.

yildirimcagri-msft commented 11 months ago

Hi, is this still broken to you on Edge 119? For me, the captcha screen seems to properly show up both in Edge and the app during PSN login.

Tamsus commented 11 months ago

Hi, is this still broken to you on Edge 119? For me, the captcha screen seems to properly show up both in Edge and the app during PSN login.

I am able to get a captcha now; however, it looks like the Sony site's login screen is new and just got worse because I'm getting a new error Edge and now Chrome browsers on PC - no issue on my phone. image

It appears to be new and tracked on this other thread: https://community.brave.com/t/login-to-store-playstation-com-fails-with-cant-connect-to-the-server-18-d7281102-1699006140-589a1d42/514265/7

yildirimcagri-msft commented 11 months ago

I also cannot repro this on my side, is there any output in DevTools console? In any case, there seems to be a Chromium bug opened for this issue, which the WebView2 would need to take the fix for once it's resolved in upstream.

darthrater78 commented 11 months ago

Since the ps remote app uses Edge (and you can't change this behavior) the issue lies there. Installing the beta version of Edge had no effect, same issue.

image

nikosillo commented 11 months ago

I had the same error. I disabled hardware acceleration in the Edge browser and now it works fine. I suspected it was because when I tried to log in with Firefox, the browser would freeze and the cpu would overload.

darthrater78 commented 11 months ago

I had the same error. I disabled hardware acceleration in the Edge browser and now it works fine. I suspected it was because when I tried to log in with Firefox, the browser would freeze and the cpu would overload.

That fixed it for me too, thanks!

devtanna commented 10 months ago

Is there any solution for chrome users? I am facing the same issue on chrome

darthrater78 commented 10 months ago

Try turning off hardware acceleration in the browser settings.