# Repo Branches returns 404

**URL:** <https://community.cloudogu.com/t/repo-branches-returns-404/553>\
**Category:** SCM-Manager Bug Reports\
**Created:** [March 4, 2022, 12:28pm UTC](https://community.cloudogu.com/t/repo-branches-returns-404/553 "2022-03-04T12:28:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![igwuborchuks](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/igwuborchuks/32/1372_2.png) [@igwuborchuks](https://community.cloudogu.com/u/igwuborchuks)\
**Post date:** [March 4, 2022, 12:28pm UTC](https://community.cloudogu.com/t/repo-branches-returns-404/553/1 "2022-03-04T12:28:31Z")

</div>

Hello everyone,

yesterday we tried to integrate the Pull Request feature into our SCM Manager instance but when we tried to create a pull request, we figured that some braches of the repository returns a 404 error.

When we commit, fetch, pull and push via these branches we do not get any error from the Git clients, but when we try to interact with these branches via the SCM Manager web GUI we keep getting the 404 error not found.

I have tried to restart scm server but to no avail.

Server details:  
RHEL 8 Enterprise edition  
Apache 2.4.37  
SCM Server: 2.30.1

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/cloudogu2/original/1X/e8ff55d790cfa6fe897491ef45814998d493d832.png)  
 ![image](https://europe1.discourse-cdn.com/flex013/uploads/cloudogu2/original/1X/d27c9d1171c5a2e8783e31da87cd5a67952b4500.png)

In the /var/log/scm/error\_log there are no useful info there.

Thanks in advance.

Cheers

---

<div class="post-metadata">

**Author:** ![pfeuffer](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/pfeuffer/32/72_2.png) [@pfeuffer](https://community.cloudogu.com/u/pfeuffer)\
**Post date:** [March 4, 2022, 12:59pm UTC](https://community.cloudogu.com/t/repo-branches-returns-404/553/2 "2022-03-04T12:59:17Z")

</div>

Hi,

when you use Apache as a reverse proxy, do you have set the option `AllowEncodedSlashes NoDecode`?

(see [our reverse proxy documentation](https://scm-manager.org/docs/2.31.x/en/administration/reverse-proxies/#apache))

Regards  
René

---

<div class="post-metadata">

**Author:** ![igwuborchuks](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/igwuborchuks/32/1372_2.png) [@igwuborchuks](https://community.cloudogu.com/u/igwuborchuks)\
**Post date:** [March 4, 2022, 1:58pm UTC](https://community.cloudogu.com/t/repo-branches-returns-404/553/3 "2022-03-04T13:58:17Z")

</div>

Hello,

I fixed this.

The issue was I had my default virtualhost set to 443 so adding the AllowEncodedSlashes

to the ssl.conf file fixed everything.

Thanks for your time.

Cheers  
Chris

---

<div class="post-metadata">

**Author:** ![felix.ebert](https://dub1.discourse-cdn.com/flex013/user_avatar/community.cloudogu.com/felix.ebert/32/1554_2.png) [@felix.ebert](https://community.cloudogu.com/u/felix.ebert)\
**Post date:** [July 22, 2022, 9:22am UTC](https://community.cloudogu.com/t/repo-branches-returns-404/553/4 "2022-07-22T09:22:21Z")

</div>

I have closed this thread since there was no activity in the last 30 days.
