Open a-d-r-i-a-n-d opened 1 day ago
Hey @a-d-r-i-a-n-d,
We have created an internal ticket to look into this which we will be tracking as "GHC-273"
Thanks @OlegIvaniv, much appreciated. I will give that a test and close the issue after.
Fix got released with n8n@1.62.1
@OlegIvaniv @janober Unfortunately it doesn't work. I've tried recreating the Github API credentials and workflow from scratch but it didn't helped. There are some logs at the bottom, if you need anything else please let me know.
Generated at: 2024-10-02T15:53:12.078Z
Bug Description
The GitHub Document Loader node in n8n does not seem to accept repository URLs from GitHub Enterprise self-hosted instances. When using a repository link such as https://github.example.io/CompanyName/name-of-the-project, the node throws an error: Error in sub-node ‘GitHub Document Loader‘ Invalid GitHub URL format.
The GitHub API credentials were successfully added and the connection was tested successfully using the GitHub server URL https://github.example.io/api/v3. However, the node does not appear to recognize the self-hosted repository URL format.
This issue prevents users from using the GitHub Document Loader with GitHub Enterprise self-hosted repositories, limiting its functionality for enterprise users. I am using this node in conjunction with the Postgres PGVector Store node, OpenAI embeddings, and the Recursive Character Text Splitter node.
To Reproduce
Expected behavior
• The GitHub Document Loader node should accept and process repository URLs from GitHub Enterprise self-hosted instances, such as https://github.example.io/CompanyName/name-of-the-project. • The node should properly integrate with GitHub Enterprise instances using the provided API credentials and server URL (e.g., https://github.example.io/api/v3). • Users should be able to load documents from self-hosted repositories without encountering invalid URL format errors.
Operating System
docker
n8n Version
1.59.4
Node.js Version
v20.17.0
Database
PostgreSQL
Execution mode
main (default)