Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59974

Windows Event - Git Credentials Manager - System.UriFormatException: Invalid URI: The hostname could not be parsed.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • git-plugin
    • None
    • Windows 2012R2
      Jenkins 2.202

      Receive Windows events in viewer for the following:

      System.UriFormatException: Invalid URI: The hostname could not be parsed.
      at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
      at System.UriBuilder.get_Uri()
      at Microsoft.Alm.Cli.OperationArguments.CreateTargetUri()
      at Microsoft.Alm.Cli.OperationArguments..ctor(Stream readableStream)
      at Microsoft.Alm.Cli.Program.Store()
      at Microsoft.Alm.Cli.Program.Main(String[] args)

       

      System.UriFormatException: Invalid URI: The hostname could not be parsed.
      at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
      at System.UriBuilder.get_Uri()
      at Microsoft.Alm.Cli.OperationArguments.CreateTargetUri()
      at Microsoft.Alm.Cli.OperationArguments..ctor(Stream readableStream)
      at Microsoft.Alm.Cli.Program.Get()
      at Microsoft.Alm.Cli.Program.Main(String[] args)

       

      The only differences between the two events is one is a "Get()" and one is a "Store()".

      Have confirmed coming from Jenkins as stopping Jenkins the events stop and starting Jenkins back up the events start occurring again.

      I do not see anything in the Jenkins logs to point to potential issue.

      I found 3 jobs which may have been incorrect but have changed and corrected those issues but events still occur.  In one environment they occur almost every minute and several of them at a time.

      I am not saying this is a bug but was wondering:

      • Has anyone seen this?
      • Anyway to tie the Windows Event to a Jenkins Job, Polling Event, or other?
      • Anyway to pump out additional logging to find out where issue is coming from in Jenkins?

            Unassigned Unassigned
            bcoveny Bruce Coveny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: