chromiumembedded / cef

Chromium Embedded Framework (CEF). A simple framework for embedding Chromium-based browsers in other applications.
https://bitbucket.org/chromiumembedded/cef/
Other
3.27k stars 457 forks source link

alloy: Error -337 ERR_HTTP2_PROTOCOL_ERROR when attempting to log in to Dayforce #3676

Closed awarkw closed 5 months ago

awarkw commented 5 months ago

Error -337 ERR_HTTP2_PROTOCOL_ERROR when attempting to log in to Dayforce. I think 337 is: "There is a SPDY protocol error."

To Reproduce cefclient.exe "--url=https://www.dayforcehcm.com/mydayforce/login.aspx" Put anything into all 3 textboxes and press Enter. It should show a login error, but instead shows an HTTP error: Page failed to load. URL: https://www.dayforcehcm.com/mydayforce/MyDayforce.aspx Error: UNKNOWN (-337) ERR_HTTP2_PROTOCOL_ERROR

Versions:

Additional context Chrome 123 does not have the issue and neither does cefclient when you use the Chrome runtime: --enable-chrome-runtime We can't use the Chrome runtime, though.

A couple logs: [0408/131805.563:INFO:CONSOLE(27)] "LD: [warn] Error on stream connection: {"isTrusted":true}, will continue retrying every 1000 milliseconds.", source: https://static.dayforcehcm.com/libraries/@platform/core/1.27/dist/core.js?v=66.0.2.07517 (27) [0408/131805.571:WARNING:frame_impl.cc(427)] SendProcessMessage sent to detached frame 5-0F3822A5F4B1C620726B61BB087DB944 will be ignored

awarkw commented 5 months ago

--use-spdy=off does not work around the issue.

awarkw commented 5 months ago

This has turned into a significant issue. Any feedback?

magreenblatt commented 5 months ago

--use-spdy=off does not work around the issue.

That flag no longer exists. You can try --disable-http2. Also try running with a --cache-path value.

awarkw commented 5 months ago

cefclient.exe --disable-http2 "--url=https://www.dayforcehcm.com/mydayforce/login.aspx" cefclient.exe --disable-http2 "--cache-path=C:\Temp\CefCache" "--url=https://www.dayforcehcm.com/mydayforce/login.aspx" Cause the page to spin forever (seeming to lock up to users).

cefclient.exe "--cache-path=C:\Temp\CefCache" "--url=https://www.dayforcehcm.com/mydayforce/login.aspx" Doesn't change anything.

awarkw commented 5 months ago

Any other ideas? Many people are reporting this issue.

magreenblatt commented 5 months ago

No other suggestions at this time. Someone will need to debug the issue in CEF/Chromium. I suggest you revert to an earlier CEF version until the issue is resolved.

magreenblatt commented 5 months ago

Alloy bootstrap is deprecated (see #3685). Issues that only reproduce with Alloy bootstrap are being closed as WontFix.