mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
github PluginInvokeError #415
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kfchandsome on GitHub (Jul 2, 2025).
Self Checks
Dify version
1.5
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
PluginInvokeError: {"args":{},"error_type":"ToolProviderCredentialValidationError","message":"GitHub API Key and Api Version is invalid. HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /search/users?q=charli117 (Caused by NewConnectionError('\u003curllib3.connection.HTTPSConnection object at 0x7fbc1c491310\u003e: Failed to establish a new connection: [Errno 111] Connection refused'))"}
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
@dosubot[bot] commented on GitHub (Jul 2, 2025):
The error you're seeing, ToolProviderCredentialValidationError, can be triggered by either invalid GitHub credentials (API key or version) or by network issues that prevent Dify from reaching the GitHub API. In your case, the "connection refused" part of the error suggests a network connectivity problem, not just a credential issue.
Here's what you can do:
The Dify codebase treats any failure to reach the GitHub API (including network errors) as a credential validation error, so you may see this message even if your credentials are correct but the network is blocked or misconfigured. There’s no extra logic to distinguish between these cases in the current version (source, more).
If you confirm your credentials are valid and the network is open, but the error persists, let me know what you find from the above steps and I can help dig deeper.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

@hjlarry commented on GitHub (Jul 2, 2025):
maybe caused by your proxy? Many users might be sharing the same proxy node, and GitHub could block that node.
@dosubot[bot] commented on GitHub (Aug 20, 2025):
Hi, @kfchandsome. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!