-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
app_api tries to connect ExApps via localhost #231
Comments
Can you describe your setup config a little bit more? Cause it should connect to Are you using VPN? |
Nextcloud is running inside a LXC container with with Apache on Debian 12. |
Unfortunately this type of installation is supported either with the workaround that you described, or you will have to use HTTPS and in that case HaProxy(nextcloud-appapi-dsp) will forward requests to Another solution will be to create docker bridge network and make containers in it visible by DNS names from LXC container |
OK, thanks. Sounds both like a useful solution, I will try this on a second system that is setup the same way. |
Oh... well in the meantime I managed to create a huge mess on my system... I ran:
In my wisdom... I though it would help to rename manual_install to docker_install. And now I can't unregister it anymore... Even deleting App Api and reinstalling it doesn't help. I'm currently at work, so I can't access the system to show the stacktrace, but on the top of your head... is there anything I can do to at least fix the registered value docker_install so I can unregister it again? |
no, worry. or you can use |
Describe the bug
While the communication between Deploy Daemon and app_api works fine, the communication between app_api and ExApps is broken on my setup.
Steps/Code to Reproduce
Install app_api app in Nextcloud
sudo -u www-data php occ app:install app_api
Install docker and nextcloud-appapi-dsp on another machine
Goto /settings/admin/app_api and add the Deploy Daemon via docker-socket-proxy template
Try to install context_chat_backend or any other ExApp via the web interface or:
Forward the ports with ssh and install the app again:
Expected Results
ExApp gets listed as installed and enabled.
Actual Results
[app_api] Fehler: Failed to enable ExApp context_chat_backend. Error: cURL error 7: Failed to connect to localhost port 23000 after 0 ms: Couldn't connect to server (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://localhost:23000/enabled?enabled=1
Setup configuration
app_api = 2.0.4
nextcloud = 28.0.2
The text was updated successfully, but these errors were encountered: