Skip to content
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

Bug Report: Nextcloud Dashboard Inaccessibility When App-Backend is Unavailable #166

Open
Pr1mefact0r opened this issue Dec 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Pr1mefact0r
Copy link

Which version of integration_openai are you using?

3.2.0

Which version of Nextcloud are you using?

30.0.2

Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.

Firefox 133.0, Samsung Internet 27.0.0.79

Describe the Bug

The Nextcloud Dashboard becomes inaccessible when the integration_openai app fails to connect to its configured backend service. This occurred after an NVIDIA driver update caused the backend service (Ollama in Docker/WSL2) to fail due to CUDA compatibility issues. Despite the backend being non-critical and used only for document summarization, its failure blocks the entire dashboard.

Error logs repeatedly show:

GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to [host] port [port]: Connection timed out

Other functionalities such as WebDAV and the Nextcloud mobile app remain operational.

Expected Behavior

The integration_openai app should handle backend connection issues gracefully.
The dashboard should remain accessible even if the backend service for the app is unavailable.

To Reproduce

  1. Enable the integration_openai app in Nextcloud.

  2. Configure it to connect to a backend service, such as Ollama running in Docker/WSL2.

  3. Simulate a failure in the backend:

    Stop the Docker container.
    Introduce network issues.
    Update the NVIDIA driver, causing CUDA to stop working in WSL2 (as happened in this case).

  4. Attempt to access the Nextcloud Dashboard.

@Pr1mefact0r Pr1mefact0r added the bug Something isn't working label Dec 7, 2024
@jermerf
Copy link

jermerf commented Jan 11, 2025

I've experienced this too. I could access the login page, but the rest of the NextCloud was completely inaccessible. It would just timeout. Disabling this app fixed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants