# Gitlab Integration Nextcloud 21

**URL:** <https://help.nextcloud.com/t/gitlab-integration-nextcloud-21/109384>\
**Category:** ℹ️ Support\
**Tags:** dashboard-app\
**Created:** [February 28, 2021, 12:35pm UTC](https://help.nextcloud.com/t/gitlab-integration-nextcloud-21/109384 "2021-02-28T12:35:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas077](https://help.nextcloud.com/letter_avatar/thomas077/32/5_5575768a8748004e209b776fc1b2916d.png) [@Thomas077](https://help.nextcloud.com/u/Thomas077)\
**Post date:** [February 28, 2021, 12:35pm UTC](https://help.nextcloud.com/t/gitlab-integration-nextcloud-21/109384/1 "2021-02-28T12:35:50Z")

</div>

Hi, I am hosting my own Gitlab server. Unfortunately I cannot access to it from Nextcloud via access token. Nevertheless if I connect to my public gitlab account hosted by [gitlab.com](http://gitlab.com) it is working.

Any suggestions?

---

<div class="post-metadata">

**Author:** ![SimonWolf](https://help.nextcloud.com/user_avatar/help.nextcloud.com/simonwolf/32/17426_2.png) [@SimonWolf](https://help.nextcloud.com/u/SimonWolf)\
**Post date:** [February 16, 2022, 10:32am UTC](https://help.nextcloud.com/t/gitlab-integration-nextcloud-21/109384/2 "2022-02-16T10:32:27Z")

</div>

Having the same issue…

---

<div class="post-metadata">

**Author:** ![Cris70](https://help.nextcloud.com/user_avatar/help.nextcloud.com/cris70/32/33053_2.png) [@Cris70](https://help.nextcloud.com/u/Cris70)\
**Post date:** [June 14, 2024, 2:45pm UTC](https://help.nextcloud.com/t/gitlab-integration-nextcloud-21/109384/3 "2024-06-14T14:45:33Z")

</div>

This is an old thread, but as I just found the solution (at least a partial one) I am reporting it here, in case someone else is having the same problem.

The problem and it’s solution can be found here:[Login problems · Issue #16 · nextcloud/integration\_gitlab · GitHub](https://github.com/nextcloud/integration_gitlab/issues/16)

**TL;DR** : if you own your Nextcloud server, you have to add `'allow_local_remote_servers' => true` in your Nextcloud configuration.  
You can also use the occ utility to do it:  
`occ config:system:set allow_local_remote_servers --value=true --type=boolean`

This worked for me for some time, but then it stopped working without any apparent reason, and now I get a timeout (instead of an error) whenever I try to connect Nextcloud to my Gitlab instance.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [January 16, 2025, 9:18am UTC](https://help.nextcloud.com/t/gitlab-integration-nextcloud-21/109384/4 "2025-01-16T09:18:14Z")

</div>


