Can't sign into Twitch anymore
Version info
qutebrowser v2.5.4
Git commit:
Backend: QtWebEngine 5.15.13, based on Chromium 87.0.4280.144
Qt: 5.15.9 (compiled 5.15.8)
CPython: 3.10.10
PyQt: 5.15.9
sip: 6.7.9
colorama: 0.4.6
jinja2: 3.1.2
pygments: 2.14.0
yaml: 6.0
adblock: 0.6.0
PyQt5.QtWebEngineWidgets: yes
PyQt5.QtWebEngine: 5.15.6
PyQt5.QtWebKitWidgets: no
pdf.js: 3.5.141 (/usr/share/pdf.js/build/pdf.js)
sqlite: 3.41.2
QtNetwork SSL: OpenSSL 3.0.8 7 Feb 2023
Style: QFusionStyle
Platform plugin: wayland
OpenGL: AMD, 4.6 (Compatibility Profile) Mesa 23.0.3
Platform: Linux-6.2.11-arch1-1-x86_64-with-glibc2.37, 64bit
Linux distribution: Arch Linux (arch)
Frozen: False
Imported from /usr/lib/python3.10/site-packages/qutebrowser
Using Python from /usr/bin/python3
Qt library executable path: /usr/lib/qt/libexec, data path: /usr/share/qt
Does the bug happen if you start with --temp-basedir?:
yes
Description Signing into twitch fails, with the following message being displayed:

The network log shows a POST request to https://passport.twitch.tv/integrity failing; HTTP status 400 with the following response:
{"error":"Oops! We encountered an unexpected error. Please try again.","errors":["Oops! We encountered an unexpected error. Please try again."],"error_code":5025,"error_description":"integrity failed"}
This also happens when the user agent is set to the Chrome presets.
How to reproduce
- Go to https://twitch.tv
- Try to log in
See also brave/brave-browser#25598
They might be dropping support for older chromium releases or something. Try switching to the qutebrowser-qt6-git package and see if that helps.
No, same issue with qt6 and master (346a39ba1).
I can confirm that installing qutebrowser-qt6-git fixes this issue and other issues in other websites like slack.
@YasserKa what's your :version output with qt6? As I said, qt6 doesn't fix it for me, so I'd be curious if there are any obvious differences:
qutebrowser v2.5.4
Git commit: bb302db71-dirty on master (2023-05-08 17:21:20 +1200)
Backend: QtWebEngine 6.5, based on Chromium 108.0.5359.220 (from api)
Qt: 6.5.0
CPython: 3.11.3
PyQt: 6.5.0
sip: no
colorama: 0.4.6
jinja2: 3.1.2
pygments: 2.15.1
yaml: 6.0
adblock: 0.6.0
objc: no
PyQt6.QtWebEngineCore: 6.5.0
pdf.js: 3.6.172 (/usr/share/pdf.js/build/pdf.js)
sqlite: 3.41.2
QtNetwork SSL: OpenSSL 3.0.8 7 Feb 2023
Style: QFusionStyle
Platform plugin: wayland
OpenGL: AMD, 4.6 (Compatibility Profile) Mesa 23.0.3
Platform: Linux-6.3.1-arch2-1-x86_64-with-glibc2.37, 64bit
Linux distribution: Arch Linux (arch)
Frozen: False
Imported from /usr/lib/python3.11/site-packages/qutebrowser
Using Python from /usr/bin/python3
Qt library executable path: /usr/lib/qt6, data path: /usr/share/qt6
Paths:
cache: /tmp/qutebrowser-basedir-xhs6ejzu/cache
config: /tmp/qutebrowser-basedir-xhs6ejzu/config
data: /tmp/qutebrowser-basedir-xhs6ejzu/data
runtime: /tmp/qutebrowser-basedir-xhs6ejzu/runtime
system data: /usr/share/qutebrowser
Autoconfig loaded: yes
Config.py: no config.py was loaded
Uptime: 0:00:41
qutebrowser v2.5.4
Git commit: 04c64b743-dirty on master (2023-05-15 10:08:29 +0200)
Backend: QtWebEngine 6.5, based on Chromium 108.0.5359.220 (from api)
Qt: 6.5.0
CPython: 3.11.3
PyQt: 6.5.0
sip: no
colorama: no
jinja2: 3.1.2
pygments: 2.15.1
yaml: 6.0
adblock: 0.6.0
objc: no
PyQt6.QtWebEngineCore: 6.5.0
pdf.js: no
sqlite: 3.41.2
QtNetwork SSL: OpenSSL 3.0.8 7 Feb 2023
Style: QFusionStyle
Platform plugin: xcb
OpenGL: Intel, 4.6 (Compatibility Profile) Mesa 23.0.3
Platform: Linux-6.3.1-arch2-1-x86_64-with-glibc2.37, 64bit
Linux distribution: Arch Linux (arch)
Frozen: False
Imported from /usr/lib/python3.11/site-packages/qutebrowser
Using Python from /usr/bin/python3
Qt library executable path: /usr/lib/qt6, data path: /usr/share/qt6
Paths:
cache: /home/yasser/.cache/qutebrowser
config: /home/yasser/.config/qutebrowser
data: /home/yasser/.local/share/qutebrowser
runtime: /run/user/1000/qutebrowser
system data: /usr/share/qutebrowser
Autoconfig loaded: yes
Config.py: /home/yasser/.config/qutebrowser/config.py has been loaded
Uptime: 1:49:55
P.S. I will revert to the stable version. I am getting unknown error while getting elements frequently on this version when I try to use hints.
EDIT: https://github.com/qutebrowser/qutebrowser/issues/7662
I reverted back and I was able to login to twitch...
qutebrowser v2.5.4
Git commit:
Backend: QtWebEngine 5.15.13, based on Chromium 87.0.4280.144
Qt: 5.15.9 (compiled 5.15.8)
CPython: 3.11.3
PyQt: 5.15.9
sip: 6.7.9
colorama: no
jinja2: 3.1.2
pygments: 2.15.1
yaml: 6.0
adblock: 0.6.0
PyQt5.QtWebEngineWidgets: yes
PyQt5.QtWebEngine: 5.15.6
PyQt5.QtWebKitWidgets: no
pdf.js: no
sqlite: 3.41.2
QtNetwork SSL: OpenSSL 3.0.8 7 Feb 2023
Style: QFusionStyle
Platform plugin: xcb
OpenGL: Intel, 4.6 (Compatibility Profile) Mesa 23.0.3
Platform: Linux-6.3.1-arch2-1-x86_64-with-glibc2.37, 64bit
Linux distribution: Arch Linux (arch)
Frozen: False
Imported from /usr/lib/python3.11/site-packages/qutebrowser
Using Python from /usr/bin/python3
Qt library executable path: /usr/lib/qt/libexec, data path: /usr/share/qt
Paths:
cache: /home/yasser/.cache/qutebrowser
config: /home/yasser/.config/qutebrowser
data: /home/yasser/.local/share/qutebrowser
runtime: /run/user/1000/qutebrowser
system data: /usr/share/qutebrowser
Autoconfig loaded: yes
Config.py: /home/yasser/.config/qutebrowser/config.py has been loaded
Uptime: 0:00:00
It has to do with the fact that chrome development tools have been loaded on the page.
Yeah, I tried to clear my cache for Twitch as it was a way suggested here (using the devtools):
https://github.com/qutebrowser/qutebrowser/discussions/6485
And now, I can't log into Twitch anymore either.
Which user agent are you on? You may be on a old Chrome UA.
Which user agent are you on?
The default, Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/6.5.2 Chrome/108.0.5359.220 Safari/537.36. As an update, this still happens with 3.0.0 in a temporary basedir, with or without devtools having been opened.
Bit late, but this problem still exists in 2024.
For me on Arch it was
sudo timedatectl set-timezone Europe/London
sudo timedatectl set-ntp true
Assuming you've tried to log in already (otherwise skip) make sure to clear all cache and cookies through developer tools
Interesting you are still seeing the issue with chrome dev tools not loaded. I will experiment with QT webengine directly and see if the cause becomes more apparent when directly using that.
I hear webkit2 works right now and I believe QT supports that but I suspect thats too major of a change for Brave to use as a fix.
This happens to me as well with default user agent, changed it to 'Chromium 110' and managed to log in
qutebrowser v3.1.0 Backend: QtWebEngine 6.6.2, based on Chromium 112.0.5615.213 (from api) Qt: 6.6.2