jenkinsci / uipath-automation-package-plugin

A Jenkins plugin for packaging UiPath project and deploying it to UiPath Orchestrator
https://plugins.jenkins.io/uipath-automation-package/
Other
24 stars 28 forks source link

Error after Update to Version 2.8.0 Unable to connect to the remote server #88

Open DirkHa opened 3 years ago

DirkHa commented 3 years ago

Version report

Jenkins and plugins versions report: Jenkins 2.320 Plugin 2.8.0

Copy/paste here....
2.8.0

Reproduction steps

The UIPath Pack throws now an error when build the job. The missing libraries are ob our Orchestrator und they dont have to be searched on external sites.

After downgrasde to 2.7.0 all worked fine again

uipcli.exe Information: 0 : Restoring packages for .NETFramework,Version=v4.6.1... uipcli.exe Information: 0 : GET https://www.myget.org/F/workflow/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0 uipcli.exe Information: 0 : GET https://gallery.uipath.com/api/v2/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0 uipcli.exe Information: 0 : Retrying 'FindPackagesByIdAsyncCore' for source 'https://www.myget.org/F/workflow/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0'. An error occurred while sending the request. Unable to connect to the remote server A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 52.148.249.154:443 uipcli.exe Information: 0 : GET https://www.myget.org/F/workflow/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0 uipcli.exe Information: 0 : Retrying 'FindPackagesByIdAsyncCore' for source 'https://www.myget.org/F/workflow/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0'. An error occurred while sending the request. Unable to connect to the remote server

ThomasStockerUiPath commented 2 years ago

@DirkHa , is this issue still persitant? Tjhose feeds mentioned are standard nuget feeds we need to access, probably they have not been accessible temporarily? pls confirm that this still happens after again upgrading to 2.8.0.

DirkHa commented 2 years ago

Yes with the Jenkins Version 2.322 and the plugin Version 2.8.1

uipcli.exe Information: 0 : Restoring packages for .NETFramework,Version=v4.6.1... uipcli.exe Information: 0 : GET https://www.myget.org/F/workflow/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0 uipcli.exe Information: 0 : GET https://gallery.uipath.com/api/v2/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0 uipcli.exe Information: 0 : Retrying 'FindPackagesByIdAsyncCore' for source 'https://gallery.uipath.com/api/v2/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0'. An error occurred while sending the request. The remote server returned an error: (403) Forbidden. uipcli.exe Information: 0 : GET https://gallery.uipath.com/api/v2/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0 uipcli.exe Information: 0 : Retrying 'FindPackagesByIdAsyncCore' for source 'https://gallery.uipath.com/api/v2/FindPackagesById()?id='KKH_Framework'&semVerLevel=2.0.0'. An error occurred while sending the request. The remote server returned an error: (403) Forbidden.

ThomasStockerUiPath commented 2 years ago

Thx @DirkHa , we are looking into it and will get back to you if there are additional quesitons.

ThomasStockerUiPath commented 2 years ago

@DirkHa we have further analysed your issue and came to the following conclusion: The ip (52.148.249.154:443) shared in the logs seems not be accessible. In order for our cli to download the dependencies pls whitelist the ip to make it accessible.

DirkHa commented 2 years ago

We made the Ip accessible and still getting errors. Seems to be a problem with our Proxy and Kerberos.

DirkHa commented 2 years ago

An error occurred while sending the request. The remote server returned an error: (403) Forbidden. uipcli.exe Information: 0 : GET https://www.myget.org/F/workflow/api/v2/package/System.ValueTuple/4.4.0 uipcli.exe Information: 0 : GET https://gallery.uipath.com/api/v2/FindPackagesById()?id='Microsoft.CSharp'&semVerLevel=2.0.0 uipcli.exe Information: 0 : Retrying 'FindPackagesByIdAsyncCore' for source 'https://gallery.uipath.com/api/v2/FindPackagesById()?id='Microsoft.AspNetCore.SignalR.Client'&semVerLevel=2.0.0'. An error occurred while sending the request. The remote server returned an error: (403) Forbidden. uipcli.exe Information: 0 : Retrying 'FindPackagesByIdAsyncCore' for source 'https://gallery.uipath.com/api/v2/FindPackagesById()?id='Microsoft.CSharp'&semVerLevel=2.0.0'. An error occurred while sending the request. The remote server returned an error: (403) Forbidden. uipcli.exe Information: 0 : GET https://gallery.uipath.com/api/v2/FindPackagesById()?id='Microsoft.AspNetCore.SignalR.Client'&semVerLevel=2.0.0 uipcli.exe Information: 0 : GET https://gallery.uipath.com/api/v2/FindPackagesById()?id='Microsoft.CSharp'&semVerLevel=2.0.0 uipcli.exe Information: 0 : OK https://uipath-int-np.ad.int.kkh.de/nuget/v3/935a0e0dac6f495394d88787be1238ff/packages/sharpziplib/index.json 449ms uipcli.exe Warning: 0 : NU1801: Unable to load the service index for source https://api.nuget.org/v3/index.json. uipcli.exe Information: 0 : OK https://www.myget.org/F/workflow/FindPackagesById()?id='Microsoft.AspNetCore.SignalR.Client'&semVerLevel=2.0.0 53ms uipcli.exe Information: 0 : OK https://www.myget.org/F/workflow/FindPackagesById()?id='System.Threading.Tasks.Dataflow'&semVerLevel=2.0.0 117ms uipcli.exe Warning: 0 : NU1801: Failed to retrieve information about 'Microsoft.CSharp' from remote source 'https://gallery.uipath.com/api/v2/FindPackagesById()?id='Microsoft.CSharp'&semVerLevel=2.0.0'. uipcli.exe Warning: 0 : NU1801: Failed to retrieve information about 'Microsoft.AspNetCore.SignalR.Client' from remote source 'https://gallery.uipath.com/api/v2/FindPackagesById()?id='Microsoft.AspNetCore.SignalR.Client'&semVerLevel=2.0.0'. uipcli.exe Information: 0 : OK https://uipath-int-np.ad.int.kkh.de/nuget/v3/935a0e0dac6f495394d88787be1238ff/packages/microsoft.rest.clientruntime/index.json 261ms uipcli.exe Warning: 0 : NU1801: Unable to load the service index for source https://uipath-int-np.ad.int.kkh.de/nuget/v3/aa99dca7-8f31-42ce-8b26-4f18a2e3930c/index.json. uipcli.exe Information: 0 : GET https://www.myget.org/F/workflow/FindPackagesById()?id='Microsoft.AspNetCore.SignalR.Client'&semVerLevel=2.0.0 uipcli.exe Information: 0 : GET https://gallery.uipath.com/api/v2/FindPackagesById()?id='Microsoft.AspNetCore.SignalR.Client'&semVerLevel=2.0.0 uipcli.exe Information: 0 : Retrying 'FindPackagesByIdAsyncCore' for source 'https://gallery.uipath.com/api/v2/FindPackagesById()?id='Microsoft.AspNetCore.SignalR.Client'&semVerLevel=2.0.0'. An error occurred while sending the request.

DirkHa commented 2 years ago

Is there an update on ths case?

DirkHa commented 2 years ago

Is there an update on ths case?

ThomasStockerUiPath commented 2 years ago

@DirkHa we have logged this in our internal issue tracker and are looking into the problem. As soon as we have an update, we will let you know. In the meantime I would kindly ask you to stay on 2.7 as this seems to work for you.

DirkHa commented 2 years ago

Still waiting for an update on this case.

ThomasStockerUiPath commented 1 year ago

Hi Dirk, This is issue isn’t reproducible , we tried on v2.8 & v2.9 with Dependent Library as well as Classic Project , for both of the cases no error logs are seen & package was successfully deployed to the OR (ver. 21.4). Meanwhile we have released version 3.0. The logs provided initially are however pointing to an issue with accessiblity (Forbidden). what output would you get when using a simple wget on the required feeds as part of your pipeline?

DirkHa commented 1 year ago

Our Jenkins Server runs on Windows and has only restricted access (Proxy) to the Internet.