Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Asset Discovery Tool - Auto sync to Jira cloud.

Zeeshan Godil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 30, 2023

 

I am trying to use the Discovery Tool to sync Assets into JIRA Cloud.

 

Everything is working fine when I tried to extract the files on the Local server and then manually imported them using Import Configuration. 

 

But, once, I set it auto by setting Export Type to Cloud and pasting my Auth Token, it generates an error.


The log is as below.

 

/30/2023 6:54:43 AM : Creating HttpClient for GetInfo
1/30/2023 6:54:43 AM : Getting Info from Cloud
1/30/2023 6:54:44 AM : Deserialisation passed, mapping to ServiceDto now
1/30/2023 6:54:44 AM : Response code is Success
1/30/2023 6:54:44 AM : Token is valid
1/30/2023 6:54:44 AM : Getting authentication to upload file to Media Server...
1/30/2023 6:54:44 AM : Creating HttpClient for FetchUploadCredentials
1/30/2023 6:54:44 AM : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/0e18cbc7-e8d7-4213-aaf3-480d14fcb6b9/v1/import/b03f4863-a0e8-4aea-bb3a-06c772e61d12?name=306DB_00001_2023-01-30_0654_0067.zip
1/30/2023 6:54:44 AM : Retrying request 1/3
1/30/2023 6:54:44 AM : Exceptions:
1/30/2023 6:54:44 AM : Response status code does not indicate success: 400 (Bad Request).
1/30/2023 6:54:44 AM : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/0e18cbc7-e8d7-4213-aaf3-480d14fcb6b9/v1/import/b03f4863-a0e8-4aea-bb3a-06c772e61d12?name=306DB_00001_2023-01-30_0654_0067.zip
1/30/2023 6:54:44 AM : Retrying request 2/3
1/30/2023 6:54:44 AM : Exceptions:
1/30/2023 6:54:44 AM : Response status code does not indicate success: 400 (Bad Request).
1/30/2023 6:54:44 AM : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/0e18cbc7-e8d7-4213-aaf3-480d14fcb6b9/v1/import/b03f4863-a0e8-4aea-bb3a-06c772e61d12?name=306DB_00001_2023-01-30_0654_0067.zip
1/30/2023 6:54:44 AM : Retrying request 3/3
1/30/2023 6:54:44 AM : Exceptions:
1/30/2023 6:54:44 AM : Response status code does not indicate success: 400 (Bad Request).
1/30/2023 6:54:44 AM : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/0e18cbc7-e8d7-4213-aaf3-480d14fcb6b9/v1/import/b03f4863-a0e8-4aea-bb3a-06c772e61d12?name=306DB_00001_2023-01-30_0654_0067.zip
1/30/2023 6:54:44 AM : Response status code does not indicate success: 400 (Bad Request).
1/30/2023 6:54:44 AM : Failed to get FetchUploadCredentials from Cloud
1/30/2023 6:54:44 AM : Exceptions:

4 answers

0 votes
Benjamin Riechel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 1, 2024

Same here! Any News? Has anybody fixed that?

0 votes
Ott Ööpik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2023

Same here.. not working, bonkers...

0 votes
SVT April 19, 2023

Did you find a solution for this?

I have the same issue. We are still on trial for the premium version of JSM cloud but without a robust discovery, the asset management makes no sense for us :/

Building zip file.
19.04.2023 19:58:58 : Start package process for: C46BA
19.04.2023 19:58:58 : Generating save file name was started
19.04.2023 19:58:58 : Generating save file name was successfully
19.04.2023 19:58:58 : Adding file C46BA_Hosts_2023-04-19_1943_0098.xml to package.
19.04.2023 19:58:58 : Finish building package: C:\...\AtlassianDiscovery\scans\C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:58:58 : Deleting file: C:\...\AtlassianDiscovery\scans\C46BA_Hosts_2023-04-19_1943_0098.xml
19.04.2023 19:59:00 : Start transport process.
19.04.2023 19:59:00 : Creating HttpClient for GetInfo
19.04.2023 19:59:00 : Getting Info from Cloud
19.04.2023 19:59:00 : Deserialisation passed, mapping to ServiceDto now
19.04.2023 19:59:00 : Response code is Success
19.04.2023 19:59:00 : Token is valid
19.04.2023 19:59:00 : Getting authentication to upload file to Media Server...
19.04.2023 19:59:00 : Creating HttpClient for FetchUploadCredentials
19.04.2023 19:59:00 : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/fdece3c2-be60-4ad5-bb17-7434ce0720d0/v1/import/5171fc00-4a74-4678-8d4f-7e1d17b7ec7f?name=C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:59:00 : Retrying request 1/3
19.04.2023 19:59:00 : Exceptions:
19.04.2023 19:59:00 : Response status code does not indicate success: 400 (Bad Request).
19.04.2023 19:59:00 : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/fdece3c2-be60-4ad5-bb17-7434ce0720d0/v1/import/5171fc00-4a74-4678-8d4f-7e1d17b7ec7f?name=C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:59:01 : Retrying request 2/3
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
19.04.2023 19:59:01 : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/fdece3c2-be60-4ad5-bb17-7434ce0720d0/v1/import/5171fc00-4a74-4678-8d4f-7e1d17b7ec7f?name=C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:59:01 : Retrying request 3/3
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
19.04.2023 19:59:01 : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/fdece3c2-be60-4ad5-bb17-7434ce0720d0/v1/import/5171fc00-4a74-4678-8d4f-7e1d17b7ec7f?name=C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:59:01 : Error getting data from JSON:
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.Json.HttpClientJsonExtensions.<GetFromJsonAsyncCore>d__29`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.InsightHttpClients.HttpClientWrapper.<GetFromJsonAsync>d__3`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\InsightHttpClients\HttpClientWrapper.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<>c__DisplayClass18_0`1.<<GetFromJsonAsync>b__0>d.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
19.04.2023 19:59:01 : Failed to get FetchUploadCredentials from Cloud
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : HttpRequestException throw in GetFromJsonAsync
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 364
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<FetchUploadCredentials>d__14.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 184
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.Json.HttpClientJsonExtensions.<GetFromJsonAsyncCore>d__29`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.InsightHttpClients.HttpClientWrapper.<GetFromJsonAsync>d__3`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\InsightHttpClients\HttpClientWrapper.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<>c__DisplayClass18_0`1.<<GetFromJsonAsync>b__0>d.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
19.04.2023 19:59:01 : Could not upload file C46BA_2023-04-19_1958_0469.zip to cloud
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : Failed to get FetchUploadCredentials from Cloud
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<FetchUploadCredentials>d__14.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 194
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<UploadFile>d__13.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 161
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Insight.Discovery.Logic.FileTransfer.TransferFile() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\Discovery\Logic\FileTransfer.cs:line 202
19.04.2023 19:59:01 : HttpRequestException throw in GetFromJsonAsync
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 364
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<FetchUploadCredentials>d__14.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 184
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.Json.HttpClientJsonExtensions.<GetFromJsonAsyncCore>d__29`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.InsightHttpClients.HttpClientWrapper.<GetFromJsonAsync>d__3`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\InsightHttpClients\HttpClientWrapper.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<>c__DisplayClass18_0`1.<<GetFromJsonAsync>b__0>d.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
19.04.2023 19:59:01 : Finished transport process.
0 votes
SVT April 19, 2023

I am having the same issue atm, API token is valid but upload fails.

 

Did you fix this somehow? I am still; on the JSM Premium trial, this does not build confidence in the solution

 

 

...

Building zip file.
19.04.2023 19:58:58 : Start package process for: C46BA
19.04.2023 19:58:58 : Generating save file name was started
19.04.2023 19:58:58 : Generating save file name was successfully
19.04.2023 19:58:58 : Adding file C46BA_Hosts_2023-04-19_1943_0098.xml to package.
19.04.2023 19:58:58 : Finish building package: C:\...\AtlassianDiscovery\scans\C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:58:58 : Deleting file: C:\...\AtlassianDiscovery\scans\C46BA_Hosts_2023-04-19_1943_0098.xml
19.04.2023 19:59:00 : Start transport process.
19.04.2023 19:59:00 : Creating HttpClient for GetInfo
19.04.2023 19:59:00 : Getting Info from Cloud
19.04.2023 19:59:00 : Deserialisation passed, mapping to ServiceDto now
19.04.2023 19:59:00 : Response code is Success
19.04.2023 19:59:00 : Token is valid
19.04.2023 19:59:00 : Getting authentication to upload file to Media Server...
19.04.2023 19:59:00 : Creating HttpClient for FetchUploadCredentials
19.04.2023 19:59:00 : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/fdece3c2-be60-4ad5-bb17-7434ce0720d0/v1/import/5171fc00-4a74-4678-8d4f-7e1d17b7ec7f?name=C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:59:00 : Retrying request 1/3
19.04.2023 19:59:00 : Exceptions:
19.04.2023 19:59:00 : Response status code does not indicate success: 400 (Bad Request).
19.04.2023 19:59:00 : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/fdece3c2-be60-4ad5-bb17-7434ce0720d0/v1/import/5171fc00-4a74-4678-8d4f-7e1d17b7ec7f?name=C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:59:01 : Retrying request 2/3
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
19.04.2023 19:59:01 : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/fdece3c2-be60-4ad5-bb17-7434ce0720d0/v1/import/5171fc00-4a74-4678-8d4f-7e1d17b7ec7f?name=C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:59:01 : Retrying request 3/3
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
19.04.2023 19:59:01 : Calling GetFromJsonAsync for route: https://api.atlassian.com/jsm/assets/workspace/fdece3c2-be60-4ad5-bb17-7434ce0720d0/v1/import/5171fc00-4a74-4678-8d4f-7e1d17b7ec7f?name=C46BA_2023-04-19_1958_0469.zip
19.04.2023 19:59:01 : Error getting data from JSON:
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.Json.HttpClientJsonExtensions.<GetFromJsonAsyncCore>d__29`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.InsightHttpClients.HttpClientWrapper.<GetFromJsonAsync>d__3`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\InsightHttpClients\HttpClientWrapper.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<>c__DisplayClass18_0`1.<<GetFromJsonAsync>b__0>d.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
19.04.2023 19:59:01 : Failed to get FetchUploadCredentials from Cloud
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : HttpRequestException throw in GetFromJsonAsync
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 364
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<FetchUploadCredentials>d__14.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 184
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.Json.HttpClientJsonExtensions.<GetFromJsonAsyncCore>d__29`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.InsightHttpClients.HttpClientWrapper.<GetFromJsonAsync>d__3`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\InsightHttpClients\HttpClientWrapper.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<>c__DisplayClass18_0`1.<<GetFromJsonAsync>b__0>d.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
19.04.2023 19:59:01 : Could not upload file C46BA_2023-04-19_1958_0469.zip to cloud
19.04.2023 19:59:01 : Exceptions:
19.04.2023 19:59:01 : Failed to get FetchUploadCredentials from Cloud
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<FetchUploadCredentials>d__14.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 194
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<UploadFile>d__13.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 161
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Insight.Discovery.Logic.FileTransfer.TransferFile() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\Discovery\Logic\FileTransfer.cs:line 202
19.04.2023 19:59:01 : HttpRequestException throw in GetFromJsonAsync
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 364
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<FetchUploadCredentials>d__14.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 184
19.04.2023 19:59:01 : Response status code does not indicate success: 400 (Bad Request).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at System.Net.Http.Json.HttpClientJsonExtensions.<GetFromJsonAsyncCore>d__29`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.InsightHttpClients.HttpClientWrapper.<GetFromJsonAsync>d__3`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\InsightHttpClients\HttpClientWrapper.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<>c__DisplayClass18_0`1.<<GetFromJsonAsync>b__0>d.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Polly.Retry.AsyncRetryEngine.<ImplementationAsync>d__0`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Polly.AsyncPolicy.<ExecuteAsync>d__21`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Insight.Discovery.Tools.Cloud.Services.InsightHttpService.<GetFromJsonAsync>d__18`1.MoveNext() in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE-BUILD\DiscoTools\Cloud\Services\InsightHttpService.cs:line 0
19.04.2023 19:59:01 : Finished transport process.

...

Christian Humer December 15, 2023

We had the same use and we try now to enable the ports mentioned here
As soon we can test it we will publish results here

here the link where the ports are mentioned
https://confluence.atlassian.com/assetapps/discovery-system-requirements-1168847928.html

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events