git-notify-extension icon indicating copy to clipboard operation
git-notify-extension copied to clipboard

Could not connect to my gitlab instance

Open buxx opened this issue 11 months ago • 10 comments

Describe the bug

Since some days, plugin display this error :

2024-12-16_17-03

uK@moz-extension://855a0c8e-8d14-434f-8d3a-9cd5958a5f7e/background.b6bf980a.js:39:486 o@moz-extension://855a0c8e-8d14-434f-8d3a-9cd5958a5f7e/background.b6bf980a.js:39:4612

To Reproduce

No reproduction step. Sorry.

Expected behavior

My gitlab instance is on a local network behaind a self-signed SSL certificate. Extension was working like a charm then, dosen't work anymore. I reset my access token, refilled conect options without success.

How can I have more info about the 500 responses content ? I don't see anything in console. I don't have access to Gitlab server logs :(

Screenshots

No more than indicated before.

Extension version: 2.3.0

GitLab Enterprise Edition v17.6.1-ee

Desktop (please complete the following information):

  • OS: Ubuntu 24.04
  • Browser Firefox
  • Version 132.0.2 (64 bits)

buxx avatar Dec 16 '24 16:12 buxx

Okay, I followed this page instruction and success to see http request details. But, I can only see gitlab response content 500 Internal Server Error.

I will try to contact my gitlab administrator.

buxx avatar Dec 17 '24 09:12 buxx

Hey,

It would be helpful to know the gitlab instance version too!

Thanks!

Mikescops avatar Dec 17 '24 14:12 Mikescops

Hello @Mikescops ,

Its GitLab Enterprise Edition v17.6.1-ee

buxx avatar Dec 17 '24 14:12 buxx

Thanks I will check what I can find but so far you're the only report that I have on this.

I'm also working on a new version with better error management so I hope it can help.

Mikescops avatar Dec 18 '24 00:12 Mikescops

Thanks a lot !

Update : Since this morning, there is no more error. The only change I can relate is I clear my remaining TODOs in Gitlab side. This me think about a related Gitlab side internal error related to one of my TODOs ...

So, I think its not git-notify related and can close this issue ! Thanks a lot for your work <3

buxx avatar Dec 18 '24 09:12 buxx

Oh I know this bug actually I should have suggested to delete your todos, I don't know what's wrong with it but the Gitlab API crashes when the todos are above a certain amount. I'll try to sort this out in future versions.

Thanks for solving this one!

Mikescops avatar Dec 18 '24 12:12 Mikescops

I get the problem with only one todo, it is :

Your SSH key has expired.

buxx avatar Jan 17 '25 07:01 buxx

Oh interesting, I'll check what I can do 👍

Mikescops avatar Jan 17 '25 13:01 Mikescops

In the dev version on main this issue should be solved / won't crash the entire app as I reworked error management.

Mikescops avatar Jan 21 '25 14:01 Mikescops

Nice ! Thanks a lot !

buxx avatar Jan 21 '25 16:01 buxx