Recent

Author Topic: Problems with Gitlab  (Read 2698 times)

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4525
  • I like bugs.
Problems with Gitlab
« on: September 10, 2024, 11:02:01 am »
Things that came up in the "Forum upgrade" thread.

I cannot login to Gitlab using my eMachines mini-laptop from year 2009. It has an Intel Atom CPU and 1GB RAM.
It has a modern MX Linux 23 OS, installed last summer, a little over a year ago.
Fifefox browser version is recent enough. Clearly the problem is not outdated SW in my laptop.
When trying to sign in, Gitlab wants to confirm I am a human. Usually there is a Cloudflare checkbox but the mini-laptop only shows an animated circle and asks me to check my internet connection.
All other sites can be opened with Firefox in this mini-laptop, although many of them make the browser hog memory and the system starts to swap.
Internet pages are getting heavier and heavier. 10 years ago internet was usable with the exact same laptop.
I blamed Javascript but is that the only reason? I don't even know about the new web technologies involved.

What more, I cannot login to Gitlab using a Falkon browser in my fast Ryzen computer. It has Manjaro Linux and latest versions of most SW.
This time the Cloudflare confirmation checkbox shows up. After clicking it the page shows an animated circle for some seconds and then the checkbox comes back. It repeats eternally.
Earlier I could make it work by setting a fake browser ID for only "gitlab.com" :
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.79 DuckDuckGo/5 Safari/537.36
but it does not help any more.
Many sites now refuse to work with Falkon although it is a fully standards compliant browser. Many Google services and my e-mail service Tutanota.com are examples. The list grows. The claim that "a page works if Javascript is enabled" is just not true.

The advice for using a "light weight browser" to solve the resource problems does not work. A "light weight browser" is a myth. For example Falkon is light weight, integrates well with KDE and starts snappily. However when you open a heavy internet page, it hogs as much memory and is as slow as Firefox. There are many browsers but only a few rendering engines. Their speed and memory requirements are rather equal. The problem is the internet page itself!
@Aruna suggested using Lynx for Gitlab. Yeah, not a good joke...

Gitlab is super-slow even in a fast computer. I guess there is some fancy Java framework at the server side.
The old Mantis was made with PHP which is maybe the slowest programming language out there but still it was faster than Gitlab. :(

There is another irritation with Gitlab.
When I login from a different computer, it sends a verification code to my email and I must type it in. That would be OK if I signed in from a certain computer for the first time, but it happens always. If I switch between 2 computers I must use a verification code every time. I don't have my lazarus-ide.org mail configured everywhere which makes this super-annoying.
Can this be adjusted by project or is it built-in with Gitlab?

Summa summarum: This is a good example of Wirth's law. When computers get faster, people always find ways and excuses to make them slow again.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

dbannon

  • Hero Member
  • *****
  • Posts: 3095
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Problems with Gitlab
« Reply #1 on: September 10, 2024, 11:28:34 am »
Hmm, I found earlier that my gitlab credentials no longer work. These credentials did once work and I have not changed the password. I can login (to gitlab) using github and my github credentials and that is what I usually do. So, I wonder if there is a time between use factor in play here ? Use it or lose it ?

Can you logon to gitlab in any other way ?

In terms of web pages (and their javascript) being resource hogs, I get much of my local news from our nation broadcaster, Australian Broadcasting Corporation but am now in the habit of shutting it down when finished as it will sometimes suck all available cpu ....

Davo

Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

MarkMLl

  • Hero Member
  • *****
  • Posts: 7719
Re: Problems with Gitlab
« Reply #2 on: September 10, 2024, 11:37:46 am »
I wasn't able to progress into the sign-in screen using a laptop with Debian 5 ("Lenny") and (in effect) Firefox v3, apparently due to an SSL/TLS version incompatibility which the browser announced (i.e. there was not just a "blank screen" as insisted by at least one user) albeit with no specific version-negotiation trace. I think that in that particular case the connection was refused before it got to the point of trying to use Javascript, which means that any screen-size requirement (which would need Javascript detection) isn't relevant at this point (it might be later).

In this context I think https://gitlab.com/gitlab-org/gitlab-foss/-/issues/43433 is relevant, which I notice was closed without any suggestion that Gitlabs was interested in resolving it. However in fairness, I'd note that Github now has a similar Javascript requirement.

I don't know the extent to which the TLS protocol version can be forced or overridden, or even traced without using Wireshark or similar. Once the connection has been established something like https://hackaday.com/2022/03/22/wireshark-https-decryption/ might throw more light on what's going on.

Much if not all of this really boils down to inadequate error reporting: browsers not giving adequate information on what TLS version a server's infrastructure demands, a server not giving adequate information on what version of Javascript its software framework assumes (if anybody's actually worked that out) and so on.

MarkMLl
« Last Edit: September 10, 2024, 11:44:18 am by MarkMLl »
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

MarkMLl

  • Hero Member
  • *****
  • Posts: 7719
Re: Problems with Gitlab
« Reply #3 on: September 10, 2024, 11:41:20 am »
Hmm, I found earlier that my gitlab credentials no longer work. These credentials did once work and I have not changed the password. I can login (to gitlab) using github and my github credentials and that is what I usually do. So, I wonder if there is a time between use factor in play here ? Use it or lose it ?

I saw that a year or so ago: I can't remember the details but I think it was a one-off foulup by Gitlabs' management which was resolved after somebody at the FPC/Lazarus end prodded them.

I've got no specific record of my having to change a password etc., but I might possibly have had to recreate myself with the same userid and password.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

dbannon

  • Hero Member
  • *****
  • Posts: 3095
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Problems with Gitlab
« Reply #4 on: September 10, 2024, 11:53:29 am »
.....
However in fairness, I'd note that Github now has a similar Javascript requirement.
....

I did have a little play comparing github with gitlab before the previous thread was anonymously locked. (I am not a big fan of that, while I thoroughly respect an admin's right to step in, there should be a "who and why" statement. Please.

Anyway, back to Gitlab v Github ?  I have a U16.04 VM, I no longer test with it but its nice to know I could.  From that VM, and its Firefox 88, I could work with github (read only), it seemed fully functional.  Gitlab on the other hand would not open the Lazarus or FPC source repos in an way.

So, using my current system, turning Javascript off in Joanna's honour, github was usable, few things missing but usable. Gitlab, again, totally unusable.

As Oscar Wilde once said, "comparisons are odorous" but sometimes, they are revealing too.

Davo

Mark
(note, I did not put @MarkMLI)

> recreate myself with the same userid and password.

Wow, now, that is unproffesional !  I will continue to login via github.

Davo

Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

MarkMLl

  • Hero Member
  • *****
  • Posts: 7719
Re: Problems with Gitlab
« Reply #5 on: September 10, 2024, 12:01:14 pm »
> recreate myself with the same userid and password.

Wow, now, that is unproffesional !  I will continue to login via github.

Yes, but it's what was necessary to get me back into my reporting history etc.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

cdbc

  • Hero Member
  • *****
  • Posts: 1535
    • http://www.cdbc.dk
Re: Problems with Gitlab
« Reply #6 on: September 10, 2024, 12:17:50 pm »
Hi
Following this thread and out pure curiosity I logged into my GitLab account, (and yes Juha, I get the same login cirkus with code typing as you do, annoying), from a fully updated linux lappy, it takes its time, but works smoothly.
I then logged out again ...or tried to logout, that is: this sent my poor lappy on some kind of journey, where it used 60..80% on all 4 cores, for about 4 minutes! During which time I could see it receiving in bursts along the way, absolutely NO idea, of what could be going on?!?
I dunno, if it's relevant, but thought I'd mention it all the same...
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2612
Re: Problems with Gitlab
« Reply #7 on: September 10, 2024, 12:41:40 pm »
There is another irritation with Gitlab.
When I login from a different computer, it sends a verification code to my email and I must type it in. That would be OK if I signed in from a certain computer for the first time, but it happens always. If I switch between 2 computers I must use a verification code every time. I don't have my lazarus-ide.org mail configured everywhere which makes this super-annoying.
Can this be adjusted by project or is it built-in with Gitlab?

You can add multiple email addresses to your gitlab account. I use my regular email address to login to gitlab, while my lazarus-ide.org address is added as additional address.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4525
  • I like bugs.
Re: Problems with Gitlab
« Reply #8 on: September 10, 2024, 02:54:03 pm »
You can add multiple email addresses to your gitlab account. I use my regular email address to login to gitlab, while my lazarus-ide.org address is added as additional address.
Yes but it still is a bug in Gitlab and should be fixed. No other site requires an email verification every time you switch between computers, and it makes no sense.
Do others experience the same or is it something tailored for me?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Joanna

  • Hero Member
  • *****
  • Posts: 1101
Re: Problems with Gitlab
« Reply #9 on: September 10, 2024, 03:34:01 pm »
So far as I can tell with my experimentation , gitlab can only be used from a windows machine which I don’t have regular access to.

I don’t know what would be involved to make this happen but wouldn’t it be great to do the bug reports here in the forums instead of relying on GitHub? An added bonus is you could cross reference the forum history with bug reports. How about a child forum for bug reports?  :D
« Last Edit: September 11, 2024, 01:22:04 am by Joanna »
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

MarkMLl

  • Hero Member
  • *****
  • Posts: 7719
Re: Problems with Gitlab
« Reply #10 on: September 10, 2024, 03:41:13 pm »
So far as I can tell with my experimentation , gitlab can only be used from a windows machine which I don’t have regular access too.

I explicitly said in a different thread that I was using Debian Linux.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Joanna

  • Hero Member
  • *****
  • Posts: 1101
Re: Problems with Gitlab
« Reply #11 on: September 10, 2024, 03:51:03 pm »
So far as I can tell with my experimentation , gitlab can only be used from a windows machine which I don’t have regular access too.

I explicitly said in a different thread that I was using Debian Linux.

MarkMLl
That might very well be true but hey maybe you are more talented at this sort of thing !
It should not be this hard to get to the bug tracker.
One should not have to be a computer wiz who knows how to tweak this setting and configure that and go through all sorts of contortions to be allowed to report a bug. This is too high a barrier.
There is already a great shortage of people using fpc enough to find bugs as it is. Thanks to the bug tracker being difficult to access, bugs aren’t being reported.
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

bytebites

  • Hero Member
  • *****
  • Posts: 674
Re: Problems with Gitlab
« Reply #12 on: September 10, 2024, 04:14:32 pm »
Finding bugs is not problem but solving them.

rvk

  • Hero Member
  • *****
  • Posts: 6404
Re: Problems with Gitlab
« Reply #13 on: September 10, 2024, 04:54:43 pm »
So far as I can tell with my experimentation , gitlab can only be used from a windows machine which I don’t have regular access too.
Just fired up an Ubuntu 22.04 machine and access to gitlab.com from Firefox is no problem at all !!
I could even logoff and log back in several times without problems.

BTW. There is also something called Gitlab Next
https://next.gitlab.com/
Not sure if that would make a difference.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4525
  • I like bugs.
Re: Problems with Gitlab
« Reply #14 on: September 10, 2024, 05:52:56 pm »
Just fired up an Ubuntu 22.04 machine and access to gitlab.com from Firefox is no problem at all !!
I could even logoff and log back in several times without problems.
Yes, it works OK. Slow but OK.
Do you experience the problem I explained when switching between computers? Does it always require an email confirmation?

Quote
BTW. There is also something called Gitlab Next
https://next.gitlab.com/
Not sure if that would make a difference.
It doesn't make a difference really.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

 

TinyPortal © 2005-2018