-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Git DataSource requires authentication for HTTP #13358
Comments
To resolve this issue, a simple check in |
Thank you for opening a bug report. I was unable to reproduce the reported behavior on NetBox v3.5.7. Please re-confirm the reported behavior on the current stable release and adjust your post above as necessary. Remember to provide detailed steps that someone else can follow using a clean installation of NetBox to reproduce the issue. Remember to include the steps taken to create any initial objects or other data. |
Indeed I can't reproduce this with GitHub repositories. However, when using GitLab as source, jobs fail. I used v3.5.7 and a public GitLab repository for testing. Seems like GitLab won't ignore empty HTTP Basic authentication. |
@abhi1693 did you already have a chance to confirm this bug report? Would love to contribute a patch to only set authentication headers when user input is provided. If I understand contribution policy correctly, I'm not allowed to file a PR before this issue is assigned to me. |
@alehaa I was able to reproduce your issue. You can go ahead and submit a PR |
NetBox version
v3.5.7
Python version
3.8
Steps to Reproduce
Expected Behavior
Sync job finishes status 'Completed'.
Observed Behavior
Sync job finishes status 'Error'. Log states:
The text was updated successfully, but these errors were encountered: