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]: Confluence Connector not working for self-hosted Confluence server #3494

Open
markkofler opened this issue Mar 18, 2025 · 0 comments
Open
Assignees
Labels
Integration Request Request for support of a new LLM, Embedder, or Vector database investigating Core team or maintainer will or is currently looking into this issue possible bug Bug was reported but is not confirmed or is unable to be replicated.

Comments

@markkofler
Copy link

markkofler commented Mar 18, 2025

How are you running AnythingLLM?

Docker (local)

What happened?

Unfortunately I am not able to connect to our self-hosted Confluence servers when using the Confluence Connector. The logs show the following error:

[collector] error: Error: Error: Failed to fetch https://confluence.example.com/rest/api/content?spaceKey=AIINFRA&limit=25&start=0&expand=body.storage,version from Confluence: Error: Failed to fetch https://confluence.example.com/rest/api/content?spaceKey=AIINFRA&limit=25&start=0&expand=body.storage,version from Confluence: 403
    at ve.fetchConfluenceData (/Applications/AnythingLLM.app/Contents/Resources/backend/collector.js:36:6340)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ve.fetchAllPagesInSpace (/Applications/AnythingLLM.app/Contents/Resources/backend/collector.js:36:6579)
    at async ve.load (/Applications/AnythingLLM.app/Contents/Resources/backend/collector.js:36:5904)
    at async Cs (/Applications/AnythingLLM.app/Contents/Resources/backend/collector.js:42:1102)
    at async /Applications/AnythingLLM.app/Contents/Resources/backend/collector.js:42:9628

My first guess is when testing with curl, the wrong URL is used by the connector for on-prem Confluence. Because if I test the following command, it works fine:

curl -u username:"password" "https://confluence.example.com/rest/api/content/search?cql=space=AIINFRA&limit=25&start=0&expand=body.storage,version"

This would also be the way how to do it based on the Confluence API documentation: https://developer.atlassian.com/server/confluence/rest/v1000/intro/#how-to-perform-an-advanced-search

Any way this can be changed, or you see anything else that is wrong with my config?

Are there known steps to reproduce?

Configure the Confluence Data Connector with deployment type "Self-hosted".

@markkofler markkofler added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Mar 18, 2025
@timothycarambat timothycarambat added Integration Request Request for support of a new LLM, Embedder, or Vector database investigating Core team or maintainer will or is currently looking into this issue labels Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Integration Request Request for support of a new LLM, Embedder, or Vector database investigating Core team or maintainer will or is currently looking into this issue possible bug Bug was reported but is not confirmed or is unable to be replicated.
Projects
None yet
Development

No branches or pull requests

3 participants