[JIRA] (JENKINS-59974) Windows Event - Git Credentials Manager - System.UriFormatException: Invalid URI: The hostname could not be parsed.

10 views
Skip to first unread message

bcoveny@nycm.com (JIRA)

unread,
Oct 29, 2019, 10:11:03 AM10/29/19
to jenkinsc...@googlegroups.com
Bruce Coveny created an issue
 
Jenkins / Bug JENKINS-59974
Windows Event - Git Credentials Manager - System.UriFormatException: Invalid URI: The hostname could not be parsed.
Issue Type: Bug Bug
Assignee: Mark Waite
Components: git-plugin
Created: 2019-10-29 14:10
Environment: Windows 2012R2
Jenkins 2.202
Priority: Minor Minor
Reporter: Bruce Coveny

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 event 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?

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

bcoveny@nycm.com (JIRA)

unread,
Oct 29, 2019, 10:13:03 AM10/29/19
to jenkinsc...@googlegroups.com
Bruce Coveny updated an issue
Change By: Bruce Coveny
Receive windows 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 event 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?

bcoveny@nycm.com (JIRA)

unread,
Oct 29, 2019, 10:14:02 AM10/29/19
to jenkinsc...@googlegroups.com
Bruce Coveny updated an issue
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?

mark.earl.waite@gmail.com (JIRA)

unread,
Oct 29, 2019, 11:23:05 AM10/29/19
to jenkinsc...@googlegroups.com

mark.earl.waite@gmail.com (JIRA)

unread,
Oct 29, 2019, 11:29:02 AM10/29/19
to jenkinsc...@googlegroups.com
Mark Waite closed an issue as Not A Defect
 

This is not an issue with the git plugin and is more a request for help. Using the issue tracker to request help is much less effective than using the mailing list or the chat channels to request help. Many more people monitor the mailing list and the chat channels than monitor the bug tracker. I've never seen this message in the Windows event viewer and do not know any reason why any Jenkins component would be calling the Microsoft C# based API's to construct URI's.

I'm closing this so that you can raise the question on the mailing list or the chat channels where more people will see the question and moay be able to assist.

Change By: Mark Waite
Status: Open Closed
Resolution: Not A Defect

mark.earl.waite@gmail.com (JIRA)

unread,
Oct 29, 2019, 11:54:03 AM10/29/19
to jenkinsc...@googlegroups.com
This is not an issue with the git plugin and is more a request for help.  Using the issue tracker to request help is much less effective than using the mailing list or the chat channels to request help.  Many more people monitor the mailing list and the chat channels than monitor the bug tracker.  I've never seen this message in the Windows event viewer and do not know any reason why any Jenkins component would be calling the Microsoft C# based API's to construct URI's.

I'm closing this so that you can raise the question on the mailing list or the chat channels where more people will see the question and moay may be able to assist.
Reply all
Reply to author
Forward
0 new messages