incubator-devlake icon indicating copy to clipboard operation
incubator-devlake copied to clipboard

UI is slow and unstable for Podman installed Devlake

Open vidhyasasi opened this issue 1 year ago • 9 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

The Devlake UI is slow and unstable when installed via Podman.

Throws 502 error regularly, and reloading the page after some time seems to be working in this case,

Screenshot 2024-04-11 at 12 03 03

Also when trying to add Datscope for Gitlab connection, it either do not shows all the gitlab repos, mostly says no data found, even though there are gitlab repos. Sometime throws error like:

Screenshot 2024-04-11 at 12 07 49

I already tested this with docker, everything is working with it. The problem seems to be existing only for podman installed Devlake.

Could you have a look into that?

What do you expect to happen

The UI is expected to be stable and all the gitlab repos to load properly.

How to reproduce

Install Devlake through podman compose.

Anything else

No response

Version

v1.0.0-beta3

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

vidhyasasi avatar Apr 11 '24 12:04 vidhyasasi

@vidhyasasi Seems like it is a podman specific problem, I use podman in the other machine too, and never ran into the same problem. I would recommend that you report the issue to the podman team, they are quite active IIRC.

klesh avatar Apr 12 '24 04:04 klesh

Hi, Thanks for the reply. But I can list all the gitlab repo in a group with curl command. The problem is in the UI to add scope, it shows "no data to select" . Do you think it is a podman problem ?

vidhyasasi avatar Apr 15 '24 12:04 vidhyasasi

Can you open the Developer toolbar and inspect if the API requests sent by config-ui is working correctly under the Network tab?

klesh avatar Apr 16 '24 03:04 klesh

Sorry I need more information regarding your comment. Did you mean to install Developer Setup and check it ? If not could you provide the steps regarding what to do ? Thanks!

vidhyasasi avatar Apr 16 '24 12:04 vidhyasasi

oh, sorry, I missed the "Browser" part. Sth look like the following image

klesh avatar Apr 17 '24 06:04 klesh

Thanks for the response. I checked the API senting the request properly and I can see all the repos listed, but not in the UI still.

But what I noticed is that, if I click on the response while it is loading, it shows no data even after it finish loading,

Screenshot 2024-04-17 at 09 38 51 (2) Screenshot 2024-04-17 at 09 39 02

and a lot of subtask error showing

" { "success": false, "message": "bad pipelineID format supplied (400)\nWraps: (2) strconv.ParseUint: parsing "subtasks"\nWraps: (3) invalid syntax\nError types: (1) *hintdetail.withDetail (2) *strconv.NumError (3) *errors.errorString", "causes": null, "data": null }"

vidhyasasi avatar Apr 17 '24 07:04 vidhyasasi

In that case, please make sure the image tags of the devlake and the config-ui are match

klesh avatar Apr 18 '24 01:04 klesh

Yes they are same. devlake: image: devlake.docker.scarf.sh/apache/devlake:v1.0.0-beta4

config-ui: image: devlake.docker.scarf.sh/apache/devlake-config-ui:v1.0.0-beta4

vidhyasasi avatar Apr 19 '24 08:04 vidhyasasi

I have the same error in logs v1.0.0-beta5 using a lot of Azure DevOps go.

time="2024-04-24 13:30:47" level=error msg="HTTP 400 error\n\tcaused by: bad pipelineID format supplied (400)\n\tWraps: (2) strconv.ParseUint: parsing \"subtasks\"\n\tWraps: (3) invalid syntax\n\tError types: (1) *hintdetail.withDetail (2) *strconv.NumError (3) *errors.errorString"

guilhem avatar Apr 24 '24 13:04 guilhem

This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.

github-actions[bot] avatar Jun 24 '24 00:06 github-actions[bot]

This issue has been closed because it has been inactive for a long time. You can reopen it if you encounter the similar problem in the future.

github-actions[bot] avatar Jul 01 '24 00:07 github-actions[bot]