Gitlab says the browser is out of date (Cloudflare)
mihalyr opened this issue · comments
Steps to reproduce
Go to https://gitlab.com/users/sign_in
Expected behaviour
The page loads
Actual behaviour
When I click on "More information" it crashes...
And also just going to https://gitlab.com
crashes
I fixed the Webview Crashed
issue, it was a missing dependency
I installed the package with dnf install vimb
but it seems it didn't install the required libglvnd-gles
library (GLES support for libglvnd).
This fixed opening https://about.gitlab.com
and also fixed opening the "More information" link now which shows:
So it might not be a bug in the browser, but Cloudflare blocking browsers they don't support...
I still see the following when I try to open the sign in page:
(vimb:240265): Gdk-CRITICAL **: 14:31:58.102: gdk_x11_window_get_xid: assertion 'GDK_IS_X11_WINDOW (window)' failed
I'm using Wayland here, but I do have Xwayland.
You have to add GDK_BACKEND=x11 if you want to use Xwayland like this
command line:
GDK_BACKEND=x11 vimb
.desktop file:
env GDK_BACKEND=x11 vimb %U
What version of webkit2gtk
are you using? The page works fine for me with webkit2gtk-2.42.5
.
Also try setting user agent like this (in config file):
set user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15
What version of
webkit2gtk
are you using? The page works fine for me withwebkit2gtk-2.42.5
.
It seems, that I have the same version as you do.
(fedora-toolbox-39) ➜ ~ rpm -qa | grep -i webkit
webkit2gtk4.0-2.42.5-1.fc39.x86_64
Also try setting user agent like this (in config file):
set user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15
@dinkocar thank you! this was it. should've thought about this before
This is working now:
GDK_BACKEND=x11 vimb \
--cmd 'set user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.0 Safari/605.1.15' \
https://gitlab.com/users/sign_in
Thanks everyone!