# 404 when connecting to Onlyoffice from Nextcloud server hosted on Gandi - Healthcheck

**URL:** <https://forum.yunohost.org/t/404-when-connecting-to-onlyoffice-from-nextcloud-server-hosted-on-gandi-healthcheck/16674>\
**Category:** Support apps\
**Tags:** nextcloud, onlyoffice, english\
**Created:** [July 27, 2021, 3:40am UTC](https://forum.yunohost.org/t/404-when-connecting-to-onlyoffice-from-nextcloud-server-hosted-on-gandi-healthcheck/16674 "2021-07-27T03:40:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmk](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/e9a140/32.png) [@gmk](https://forum.yunohost.org/u/gmk)\
**Post date:** [July 27, 2021, 3:40am UTC](https://forum.yunohost.org/t/404-when-connecting-to-onlyoffice-from-nextcloud-server-hosted-on-gandi-healthcheck/16674/1 "2021-07-27T03:40:22Z")

</div>

Greetings,

I am trying to connect from Nextcloud 22 hosted at Gandi to my onlyoffice server located at [https://subdomain.domain.tld/oo](https://subdomain.domain.tld/oo) on ynh. No luck. I get the following message, and it doesn’t matter about the other options I check on the Nextcloud config screen.

I get an error:

Error when trying to connect (Client error: `GET https://subdomain.domain.tld/oo/healthcheck` resulted in a `404 Not Found` response:

What’s the fix for this?

---

<div class="post-metadata">

**Author:** ![charly](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@charly](https://forum.yunohost.org/u/charly)\
**Post date:** [July 27, 2021, 8:12am UTC](https://forum.yunohost.org/t/404-when-connecting-to-onlyoffice-from-nextcloud-server-hosted-on-gandi-healthcheck/16674/2 "2021-07-27T08:12:05Z")

</div>

Hi gmk,

What happens if you visit [https://subdomain.domain.tld/oo](https://subdomain.domain.tld/oo) with your regular web browser ?

---

<div class="post-metadata">

**Author:** ![gmk](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/g/e9a140/32.png) [@gmk](https://forum.yunohost.org/u/gmk)\
**Post date:** [July 27, 2021, 4:28pm UTC](https://forum.yunohost.org/t/404-when-connecting-to-onlyoffice-from-nextcloud-server-hosted-on-gandi-healthcheck/16674/3 "2021-07-27T16:28:18Z")

</div>

Hi. When I visit that URL in a browser it redirects to [https://subdomain.domain.tld/oo/welcome](https://subdomain.domain.tld/oo/welcome)

---

<div class="post-metadata">

**Author:** ![charly](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/c/9d8465/32.png) [@charly](https://forum.yunohost.org/u/charly)\
**Post date:** [July 28, 2021, 5:58am UTC](https://forum.yunohost.org/t/404-when-connecting-to-onlyoffice-from-nextcloud-server-hosted-on-gandi-healthcheck/16674/4 "2021-07-28T05:58:53Z")

</div>

Hi,

I think the problem is that :

- 1- you should have a dedicated subdomain for OnlyOffice that is different from the Nextcloud domain / subdomain (example : [office.mydomain.com](http://office.mydomain.com))
- 2- OnlyOffice should be selected as “the main app” of this subdomain.
- 3- OnlyOffice should be the only app of this subdomain.
- 4- When you install OnlyOffice, you should select the “this is a public app” option.

It’s explained in the readme : [GitHub - YunoHost-Apps/onlyoffice\_ynh: OnlyOffice package for YunoHost](https://github.com/YunoHost-Apps/onlyoffice_ynh/)

Uninstall, follow the steps above, and kindly report here if it worked.

Have a nice day

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [August 27, 2021, 5:59am UTC](https://forum.yunohost.org/t/404-when-connecting-to-onlyoffice-from-nextcloud-server-hosted-on-gandi-healthcheck/16674/5 "2021-08-27T05:59:18Z")

</div>

Closed on August 27, 2021, 5:59am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
