Cookbook and reverse proxy

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

I am running snap NC 32.0.5 on Ubuntu 24.04.

All was good until I put NC behind a reverse proxy yesterday (apache port 8443).

I can successfully get to my files but the cookbook does not work. When launched, it just spins. No new entry to NC log and no errors in browser console.

I am a bit of a noob here but any help will be greatly appreciated. My family might starve if I don’t get to the cookbook soon!!

Thanks everyone.

BTW, the reason for the reverse proxy was so I can run other development sites on localhost.

Hey @finco1, welcome to the Nextcloud community and thanks for supporting Nextcloud snap :handshake:

Sorry to hear you are having issues with your Nextcloud snap installation. If you’ve come this far, you’re on the right track! There is a good chance someone in the community has had a similar issue and knows how to resolve it. That depends on how you request assistance. So read your request for tone, avoiding hyperbole and assuming good intentions.

In order to help you we’ll need some Information to get an Idea of your setup, so complete the required support template if you haven’t done so already or run the debugging script and post the result here.

Below are some links to how-to’s answering frequently asked questions and may help you help yourself;

pay special attention to this

decide whether Nextcloud snap manages Lets Encrypt or if your reverse proxy will do that for you. recommend you let the reverse roxy handle encrytpion as pass through proxying is not easy. see reverse proxy configuration

this is probably not a cookbook issue but a general encryption issue

but without your logs we’re just guessing so consider running the debugging script and posting the results here

info.pdf (406.3 KB)

Thank you. Please see the attached info and log files.

your pdf file is no good…

info.pdf (712.3 KB)Sorry, should have checked the pdf first. This one is good.

Perhaps this is helpful?

sudo tail -n 50 /var/snap/nextcloud/current/logs/php_errors.log
\[01-Feb-2026 04:21:03 UTC\] cURL error 7: Failed to connect to localhost port 8780: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://localhost:8780/exapps/app_api/v1.44/_ping
\[01-Feb-2026 04:21:31 UTC\] cURL error 6: Could not resolve host: nextcloud-aio-harp (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://nextcloud-aio-harp:8780/exapps/app_api/v1.44/_ping
\[01-Feb-2026 04:21:39 UTC\] cURL error 6: Could not resolve host: appapi-harp (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://appapi-harp:8780/exapps/app_api/v1.44/_ping
\[01-Feb-2026 04:21:52 UTC\] cURL error 6: Could not resolve host: nextcloud-appapi-dsp (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://nextcloud-appapi-dsp:2375/v1.44/_ping
\[01-Feb-2026 04:21:58 UTC\] cURL error 6: Could not resolve host: nextcloud-appapi-dsp (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for https://nextcloud-appapi-dsp:2375/v1.44/_ping
\[01-Feb-2026 13:42:31 UTC\] cURL error 7: Failed to connect to localhost port 8780: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://localhost:8780/exapps/app_api/v1.44/_ping
\[01-Feb-2026 13:42:48 UTC\] cURL error 7: Failed to connect to localhost port 8780: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://localhost:8780/exapps/app_api/v1.44/_ping
\[01-Feb-2026 13:46:11 UTC\] cURL error 6: Could not resolve host: unix (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://unix///var/run/docker.sock/v1.44/_ping
\[01-Feb-2026 13:46:39 UTC\] cURL error 6: Could not resolve host: unix (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://unix///var/run/docker.sock/v1.44/_ping
\[01-Feb-2026 13:47:04 UTC\] cURL error 6: Could not resolve host: unix (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://unix///var/run/docker.sock/v1.44/_ping
\[01-Feb-2026 13:47:07 UTC\] cURL error 6: Could not resolve host: unix (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://unix///var/run/docker.sock/v1.44/_ping
\[01-Feb-2026 13:47:08 UTC\] cURL error 6: Could not resolve host: unix (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://unix///var/run/docker.sock/v1.44/_ping
\[01-Feb-2026 13:57:10 UTC\] cURL error 7: Failed to connect to localhost port 8780: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://localhost:8780/exapps/app_api/v1.44/_ping
\[01-Feb-2026 13:59:03 UTC\] cURL error 28: Resolving timed out after 3512 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://unix///var/run/docker.sock/v1.44/_ping
\[01-Feb-2026 14:01:16 UTC\] cURL error 6: Could not resolve host: http (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://http//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:01:27 UTC\] cURL error 6: Could not resolve host: https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://https//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:01:31 UTC\] cURL error 6: Could not resolve host: https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://https//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:02:26 UTC\] cURL error 6: Could not resolve host: https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://https//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:02:58 UTC\] cURL error 6: Could not resolve host: https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://https//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:03:07 UTC\] cURL error 6: Could not resolve host: https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://https//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:03:30 UTC\] cURL error 6: Could not resolve host: https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://https//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:03:39 UTC\] cURL error 6: Could not resolve host: https (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://https//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:03:56 UTC\] cURL error 28: Resolving timed out after 3512 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://http//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:04:06 UTC\] cURL error 6: Could not resolve host: http (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://http//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:04:47 UTC\] cURL error 6: Could not resolve host: http (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://http//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:04:51 UTC\] cURL error 6: Could not resolve host: http (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://http//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:05:11 UTC\] cURL error 6: Could not resolve host: http (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://http//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:05:19 UTC\] cURL error 6: Could not resolve host: http (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://http//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:05:27 UTC\] cURL error 6: Could not resolve host: http (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://http//127.0.0.1:2375/v1.44/_ping
\[01-Feb-2026 14:07:06 UTC\] cURL error 28: Resolving timed out after 3512 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html ) for http://http//192.168.4.142:2375/v1.44/_ping

And this is the daemon I set up:

Hey @finco1

there are issues using HaRP with the snap… we’re working on it.

OK. Do you think this is the reason the cookbook is not loading? Is there a reason this would be happening as a result of being behind a proxy rather than no proxy?

that sounds viable… using “HaRP” is a reverse proxy proxied through a reverse proxy.

Thanks for your assistance! I’ll wait for it to get straightened out.

Not sure if it is helpful but https://localhost:8443/index.php/apps/cookbook/#/ works.

It turns out it was a browser issue. My default browser is Brave. When I turned the shields off for my site, the cookbook worked properly. I discovered this when I tried the cookbook on Firefox and Edge and it worked properly.

Thank you for your help.

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