question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The requested URL returned error: 500 when trying to push

See original GitHub issue

When trying to push my code into an empty repo, I get “Error: fatal: unable to access ‘http://user%40domain:***@web-server/Bonobo.Git.Server/Dashboard_FrontEnd.git/’: The requested URL returned error: 500” (user, domain and web-server used in place of redacted info).

I’ve checked all the possible GitHub open/closed issues, Google searches and other resources I can find for the past hour and have had no luck. This is not related to the 500.19 issue getting the IIS server error.

Any help would be greatly appreciated as I’m currently at a loss.

--AppSettings.webpages:Enabled: 'false'
--AppSettings.ClientValidationEnabled: 'true'
--AppSettings.UnobtrusiveJavaScriptEnabled: 'true'
--AppSettings.UserConfiguration: '~\App_Data\config.xml'
--AppSettings.DefaultRepositoriesDirectory: '~\App_Data\Repositories'
--AppSettings.GitPath: '~\App_Data\Git\git.exe'
--AppSettings.GitHomePath: '~\App_Data'
--AppSettings.RecoveryDataPath: '~\App_Data\Recovery'
--AppSettings.LogDirectory: '~\App_Data\Logs'
--AppSettings.serilog:minimum-level: 'Information'
--AppSettings.AuthenticationProvider: 'Cookies'
--AppSettings.ImportWindowsAuthUsersAsAdmin: 'false'
--AppSettings.MembershipService: 'ActiveDirectory'
--AppSettings.ActiveDirectoryDefaultDomain: 'domain.com'
--AppSettings.ActiveDirectoryBackendPath: '~\App_Data\ADBackend'
--AppSettings.ActiveDirectoryMemberGroupName: 'MemberGroup'
--AppSettings.ActiveDirectoryRoleMapping: 'Administrator=Admin group'
User Configuration:
--User config file: 'C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data\config.xml'
--User config readable: OK
--User config saveable: OK
--User config folder: Exists, 4 files, 8 entries, writeable
Repo Directory
--Configured repo path: '~\App_Data\Repositories'
--Effective repo path: 'C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data\Repositories'
--Repo dir: Exists, 1 files, 2 entries, writeable
Git Exe
--Git path: 'C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data\Git\git.exe'
--Git.exe exists: OK
Federated Authentication
--Not Enabled: 
Active Directory
--Backend folder exists: OK
--Backend folder: Exists, 0 files, 4 entries, writeable
--User count: 28
AD Teams
AD Roles
--Administrator: 10 members
Internal Membership
--Not Enabled
**********************************************************************************
Exception Log
--LogFileName: : C:\inetpub\wwwroot\Bonobo.Git.Server\App_Data\Logs\log-20171119.txt
--Log File total length: 554105
--Starting log dump from : 544105
ainName)
2017-11-19 11:04:27.456 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.487 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.519 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.551 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.599 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.614 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.645 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.676 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.692 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.723 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.755 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.770 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.801 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.833 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.848 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.880 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.911 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.942 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.958 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:27.989 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:28.020 -05:00 [Error] Failed to create Directory context for domain "emaildomain.org".
System.DirectoryServices.ActiveDirectory.ActiveDirectoryObjectNotFoundException: The specified domain does not exist or cannot be contacted.
   at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
   at Bonobo.Git.Server.Helpers.ADHelper.GetDomain(String parsedDomainName)
2017-11-19 11:04:28.117 -05:00 [Information] Searching for group "TSC_Support group" in domain "domain.com"
2017-11-19 11:05:02.447 -05:00 [Warning] GitAuth: No auth header, anon operations not allowed
2017-11-19 11:05:02.447 -05:00 [Warning] GitAuth: No auth header, anon operations not allowed
2017-11-19 11:05:02.478 -05:00 [Error] Error caught in GitController
System.FormatException: Invalid length for a Base-64 char array or string.
   at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
   at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
   at System.Convert.FromBase64String(String s)
   at Bonobo.Git.Server.GitAuthorizeAttribute.IsUserAuthorized(String authHeader, HttpContextBase httpContext)
   at Bonobo.Git.Server.GitAuthorizeAttribute.OnAuthorization(AuthorizationContext filterContext)
   at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__19(AsyncCallback asyncCallback, Object asyncState)

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:10

github_iconTop GitHub Comments

1reaction
willdeancommented, Nov 20, 2017

@jbdicarlo Thanks for persisting with this - sometimes Fiddler is tricky with local stuff.

An alternative is, from the command line, to run set GIT_CURL_VERBOSE=1 before you run the git command. Then you should get a load of trace, which will include the Authorization: Basic ...base64 string... header. There should be at least two connections - the first one will fail with a 401 Unauthorized, then the second one will have the Authorization: header in it.

If you have access to some means to decode a base64 string, then you should see if it makes sense. Don’t post it here, because even though it looks like nonsense it’s actually your unencrypted username/password

0reactions
larshgcommented, Nov 21, 2017

Only enabled in the config file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

github - I am getting 500 error on git clone
A generic error message, given when an unexpected condition was encountered and no more specific message is suitable. Basically, something went ...
Read more >
Random error 500 when pulling/pushing to repository ...
Git commands fail with a 500 error. These errors are random as, when you try pushing again, and again, it sometimes fails during...
Read more >
Update failed. The requested URL returned error: 500
The requested URL returned error: 500. 1. When trying to pull, push, fetch anything from gitlab, I have this error: Update failed.
Read more >
GitHub Push Internal Server Error: Debugging The Code
The GitLab push 500 internal server error happens and affects your project or application when GitHub experiences a service degradation or outages.
Read more >
git clone returns The requested URL returned error: 500
I noticed that the jobs started to execute longer on the ubuntu-latest agents something about 20% longer.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found