WARN 08-22-2022 00:22:53 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-22-2022 00:22:53 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-22-2022 00:22:53 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-22-2022 00:22:53 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-22-2022 00:22:53 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-23-2022 00:23:44 System.Net.Http.HttpClient.Default.LogicalHandler [4] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-23-2022 00:23:44 System.Net.Http.HttpClient.Default.ClientHandler [4] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-23-2022 00:23:46 System.Net.Http.HttpClient.Default.ClientHandler [17] - Received HTTP response after 1712.92ms - OK INFO 08-23-2022 00:23:46 System.Net.Http.HttpClient.Default.LogicalHandler [17] - End processing HTTP request after 1734.9427ms - OK WARN 08-26-2022 00:26:09 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-26-2022 00:26:09 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-26-2022 00:26:09 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-26-2022 00:26:09 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-26-2022 00:26:09 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-26-2022 00:26:18 System.Net.Http.HttpClient.Default.LogicalHandler [9] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[System.Collections.Generic.List`1[System.Int32],IceFactory_API.Controllers.PrintController+d__5] INFO 08-26-2022 00:26:18 System.Net.Http.HttpClient.Default.ClientHandler [9] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[System.Collections.Generic.List`1[System.Int32],IceFactory_API.Controllers.PrintController+d__5] INFO 08-26-2022 00:26:19 System.Net.Http.HttpClient.Default.ClientHandler [9] - Received HTTP response after 305.3628ms - InternalServerError INFO 08-26-2022 00:26:19 System.Net.Http.HttpClient.Default.LogicalHandler [9] - End processing HTTP request after 327.5558ms - InternalServerError WARN 08-27-2022 00:27:50 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-27-2022 00:27:50 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-27-2022 00:27:50 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-27-2022 00:27:50 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-27-2022 00:27:50 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-27-2022 00:27:54 System.Net.Http.HttpClient.Default.LogicalHandler [9] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-27-2022 00:27:54 System.Net.Http.HttpClient.Default.ClientHandler [9] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-27-2022 00:27:55 System.Net.Http.HttpClient.Default.ClientHandler [9] - Received HTTP response after 1383.7164ms - OK INFO 08-27-2022 00:27:55 System.Net.Http.HttpClient.Default.LogicalHandler [9] - End processing HTTP request after 1407.5573ms - OK WARN 08-46-2022 00:46:57 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-46-2022 00:46:57 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-46-2022 00:46:57 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-46-2022 00:46:57 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-46-2022 00:46:57 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-47-2022 00:47:05 System.Net.Http.HttpClient.Default.LogicalHandler [5] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[System.String,IceFactory_API.Controllers.PrintController+d__5] INFO 08-47-2022 00:47:05 System.Net.Http.HttpClient.Default.ClientHandler [5] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[System.String,IceFactory_API.Controllers.PrintController+d__5] INFO 08-47-2022 00:47:05 System.Net.Http.HttpClient.Default.ClientHandler [5] - Received HTTP response after 187.4503ms - InternalServerError INFO 08-47-2022 00:47:05 System.Net.Http.HttpClient.Default.LogicalHandler [5] - End processing HTTP request after 207.1356ms - InternalServerError WARN 08-48-2022 00:48:06 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-48-2022 00:48:06 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-48-2022 00:48:06 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-48-2022 00:48:06 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-48-2022 00:48:06 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-48-2022 00:48:13 System.Net.Http.HttpClient.Default.LogicalHandler [4] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[System.String,IceFactory_API.Controllers.PrintController+d__5] INFO 08-48-2022 00:48:13 System.Net.Http.HttpClient.Default.ClientHandler [4] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[System.String,IceFactory_API.Controllers.PrintController+d__5] INFO 08-48-2022 00:48:14 System.Net.Http.HttpClient.Default.ClientHandler [4] - Received HTTP response after 193.1278ms - InternalServerError INFO 08-48-2022 00:48:14 System.Net.Http.HttpClient.Default.LogicalHandler [4] - End processing HTTP request after 268.4424ms - InternalServerError WARN 08-49-2022 00:49:10 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-49-2022 00:49:10 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-49-2022 00:49:10 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-49-2022 00:49:10 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-49-2022 00:49:10 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-49-2022 00:49:18 System.Net.Http.HttpClient.Default.LogicalHandler [7] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/ INFO 08-49-2022 00:49:18 System.Net.Http.HttpClient.Default.ClientHandler [7] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/ INFO 08-49-2022 00:49:18 System.Net.Http.HttpClient.Default.ClientHandler [7] - Received HTTP response after 378.8949ms - InternalServerError INFO 08-49-2022 00:49:18 System.Net.Http.HttpClient.Default.LogicalHandler [7] - End processing HTTP request after 407.273ms - InternalServerError WARN 08-54-2022 00:54:50 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-54-2022 00:54:50 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-54-2022 00:54:50 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-54-2022 00:54:50 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-54-2022 00:54:50 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-55-2022 00:55:03 System.Net.Http.HttpClient.Default.LogicalHandler [8] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/ INFO 08-55-2022 00:55:03 System.Net.Http.HttpClient.Default.ClientHandler [8] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/ INFO 08-55-2022 00:55:04 System.Net.Http.HttpClient.Default.ClientHandler [5] - Received HTTP response after 544.0947ms - InternalServerError INFO 08-55-2022 00:55:04 System.Net.Http.HttpClient.Default.LogicalHandler [5] - End processing HTTP request after 571.2416ms - InternalServerError WARN 08-56-2022 00:56:37 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-56-2022 00:56:37 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-56-2022 00:56:37 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-56-2022 00:56:37 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-56-2022 00:56:37 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-56-2022 00:56:44 System.Net.Http.HttpClient.Default.LogicalHandler [10] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/ INFO 08-56-2022 00:56:44 System.Net.Http.HttpClient.Default.ClientHandler [10] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/ INFO 08-56-2022 00:56:45 System.Net.Http.HttpClient.Default.ClientHandler [10] - Received HTTP response after 482.6927ms - InternalServerError INFO 08-56-2022 00:56:45 System.Net.Http.HttpClient.Default.LogicalHandler [10] - End processing HTTP request after 506.1719ms - InternalServerError WARN 08-58-2022 00:58:31 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-58-2022 00:58:31 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-58-2022 00:58:31 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-58-2022 00:58:31 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-58-2022 00:58:31 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API ERROR 08-58-2022 00:58:39 Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware [5] - An unhandled exception has occurred while executing the request. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at IceFactory_API.Controllers.PrintController.getInvoiceByOrderId(OdooAPI api, Int32 id) in /Users/youssef/Projects/pureiceapi/IceFactory_API/Controllers/PrintController.cs:line 137 at IceFactory_API.Controllers.PrintController.Invoice(Int32 id) in /Users/youssef/Projects/pureiceapi/IceFactory_API/Controllers/PrintController.cs:line 88 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) WARN 08-02-2022 01:02:11 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-02-2022 01:02:11 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-02-2022 01:02:11 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-02-2022 01:02:11 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-02-2022 01:02:11 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-02-2022 01:02:19 System.Net.Http.HttpClient.Default.LogicalHandler [5] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-02-2022 01:02:19 System.Net.Http.HttpClient.Default.ClientHandler [5] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-02-2022 01:02:21 System.Net.Http.HttpClient.Default.ClientHandler [5] - Received HTTP response after 2897.7629ms - OK INFO 08-02-2022 01:02:21 System.Net.Http.HttpClient.Default.LogicalHandler [5] - End processing HTTP request after 2923.4619ms - OK WARN 08-03-2022 01:03:09 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-03-2022 01:03:09 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-03-2022 01:03:09 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-03-2022 01:03:09 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-03-2022 01:03:09 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-03-2022 01:03:24 System.Net.Http.HttpClient.Default.LogicalHandler [4] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-03-2022 01:03:24 System.Net.Http.HttpClient.Default.ClientHandler [4] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-03-2022 01:03:25 System.Net.Http.HttpClient.Default.ClientHandler [8] - Received HTTP response after 1565.6648ms - OK INFO 08-03-2022 01:03:25 System.Net.Http.HttpClient.Default.LogicalHandler [8] - End processing HTTP request after 1592.5669ms - OK WARN 08-04-2022 01:04:36 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-04-2022 01:04:36 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-04-2022 01:04:36 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-04-2022 01:04:36 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-04-2022 01:04:36 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-08-2022 01:08:56 System.Net.Http.HttpClient.Default.LogicalHandler [8] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-08-2022 01:08:56 System.Net.Http.HttpClient.Default.ClientHandler [8] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-08-2022 01:08:58 System.Net.Http.HttpClient.Default.ClientHandler [8] - Received HTTP response after 1572.4303ms - OK INFO 08-08-2022 01:08:58 System.Net.Http.HttpClient.Default.LogicalHandler [8] - End processing HTTP request after 1595.1693ms - OK WARN 08-10-2022 01:10:41 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-10-2022 01:10:41 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-10-2022 01:10:41 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-10-2022 01:10:41 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-10-2022 01:10:41 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-11-2022 01:11:21 System.Net.Http.HttpClient.Default.LogicalHandler [4] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-11-2022 01:11:21 System.Net.Http.HttpClient.Default.ClientHandler [4] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-11-2022 01:11:22 System.Net.Http.HttpClient.Default.ClientHandler [8] - Received HTTP response after 1508.0273ms - OK INFO 08-11-2022 01:11:22 System.Net.Http.HttpClient.Default.LogicalHandler [8] - End processing HTTP request after 1530.1383ms - OK WARN 08-13-2022 01:13:43 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-13-2022 01:13:43 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-13-2022 01:13:43 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-13-2022 01:13:43 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-13-2022 01:13:43 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API ERROR 08-13-2022 01:13:47 Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware [9] - An unhandled exception has occurred while executing the request. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at IceFactory_API.Controllers.PrintController.getInvoiceByOrderId(OdooAPI api, Int32 id) in /Users/youssef/Projects/pureiceapi/IceFactory_API/Controllers/PrintController.cs:line 139 at IceFactory_API.Controllers.PrintController.Invoice(Int32 id) in /Users/youssef/Projects/pureiceapi/IceFactory_API/Controllers/PrintController.cs:line 89 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) WARN 08-14-2022 01:14:26 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-14-2022 01:14:26 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-14-2022 01:14:26 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-14-2022 01:14:26 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-14-2022 01:14:26 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API ERROR 08-14-2022 01:14:36 Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware [8] - An unhandled exception has occurred while executing the request. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at IceFactory_API.Controllers.PrintController.getInvoiceByOrderId(OdooAPI api, Int32 id) in /Users/youssef/Projects/pureiceapi/IceFactory_API/Controllers/PrintController.cs:line 139 at IceFactory_API.Controllers.PrintController.Invoice(Int32 id) in /Users/youssef/Projects/pureiceapi/IceFactory_API/Controllers/PrintController.cs:line 89 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) INFO 08-17-2022 01:17:25 System.Net.Http.HttpClient.Default.LogicalHandler [17] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-17-2022 01:17:25 System.Net.Http.HttpClient.Default.ClientHandler [17] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-17-2022 01:17:27 System.Net.Http.HttpClient.Default.ClientHandler [17] - Received HTTP response after 1995.7341ms - OK INFO 08-17-2022 01:17:27 System.Net.Http.HttpClient.Default.LogicalHandler [17] - End processing HTTP request after 2019.5711ms - OK WARN 08-18-2022 01:18:57 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-18-2022 01:18:57 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-18-2022 01:18:57 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-18-2022 01:18:57 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-18-2022 01:18:57 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-19-2022 01:19:01 System.Net.Http.HttpClient.Default.LogicalHandler [5] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-19-2022 01:19:01 System.Net.Http.HttpClient.Default.ClientHandler [5] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/1 INFO 08-19-2022 01:19:03 System.Net.Http.HttpClient.Default.ClientHandler [5] - Received HTTP response after 1806.4652ms - OK INFO 08-19-2022 01:19:03 System.Net.Http.HttpClient.Default.LogicalHandler [5] - End processing HTTP request after 1829.9977ms - OK WARN 08-35-2022 01:35:50 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-35-2022 01:35:50 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-35-2022 01:35:50 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-35-2022 01:35:50 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-35-2022 01:35:50 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API ERROR 08-35-2022 01:35:58 Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware [5] - An unhandled exception has occurred while executing the request. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at System.Collections.Generic.List`1.get_Item(Int32 index) at IceFactory_API.Controllers.PrintController.getInvoiceByOrderId(OdooAPI api, Int32 id) in /Users/youssef/Projects/pureiceapi/IceFactory_API/Controllers/PrintController.cs:line 171 at IceFactory_API.Controllers.PrintController.Invoice(Int32 id) in /Users/youssef/Projects/pureiceapi/IceFactory_API/Controllers/PrintController.cs:line 90 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context) WARN 08-39-2022 01:39:22 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-39-2022 01:39:22 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-39-2022 01:39:22 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-39-2022 01:39:22 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-39-2022 01:39:22 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API WARN 08-40-2022 01:40:31 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-40-2022 01:40:31 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-40-2022 01:40:31 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-40-2022 01:40:31 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-40-2022 01:40:31 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-41-2022 01:41:20 System.Net.Http.HttpClient.Default.LogicalHandler [8] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/65647 INFO 08-41-2022 01:41:20 System.Net.Http.HttpClient.Default.ClientHandler [8] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/65647 INFO 08-41-2022 01:41:22 System.Net.Http.HttpClient.Default.ClientHandler [8] - Received HTTP response after 1560.7169ms - OK INFO 08-41-2022 01:41:22 System.Net.Http.HttpClient.Default.LogicalHandler [8] - End processing HTTP request after 1584.1061ms - OK INFO 08-42-2022 01:42:19 System.Net.Http.HttpClient.Default.LogicalHandler [8] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/65644 INFO 08-42-2022 01:42:19 System.Net.Http.HttpClient.Default.ClientHandler [8] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/65644 INFO 08-42-2022 01:42:20 System.Net.Http.HttpClient.Default.ClientHandler [8] - Received HTTP response after 1580.0148ms - OK INFO 08-42-2022 01:42:20 System.Net.Http.HttpClient.Default.LogicalHandler [8] - End processing HTTP request after 1592.0608ms - OK WARN 08-44-2022 01:44:55 Microsoft.AspNetCore.Server.Kestrel [1] - Overriding address(es) 'https://localhost:5001, http://localhost:5000'. Binding to endpoints defined in UseKestrel() instead. INFO 08-44-2022 01:44:55 Microsoft.Hosting.Lifetime [1] - Now listening on: http://0.0.0.0:7001 INFO 08-44-2022 01:44:55 Microsoft.Hosting.Lifetime [1] - Application started. Press Ctrl+C to shut down. INFO 08-44-2022 01:44:55 Microsoft.Hosting.Lifetime [1] - Hosting environment: Development INFO 08-44-2022 01:44:55 Microsoft.Hosting.Lifetime [1] - Content root path: /Users/youssef/Projects/pureiceapi/IceFactory_API INFO 08-45-2022 01:45:05 System.Net.Http.HttpClient.Default.LogicalHandler [9] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/82406 INFO 08-45-2022 01:45:05 System.Net.Http.HttpClient.Default.ClientHandler [9] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/82406 INFO 08-45-2022 01:45:06 System.Net.Http.HttpClient.Default.ClientHandler [9] - Received HTTP response after 1409.1756ms - OK INFO 08-45-2022 01:45:06 System.Net.Http.HttpClient.Default.LogicalHandler [9] - End processing HTTP request after 1435.0379ms - OK INFO 08-45-2022 01:45:41 System.Net.Http.HttpClient.Default.LogicalHandler [12] - Start processing HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/82390 INFO 08-45-2022 01:45:41 System.Net.Http.HttpClient.Default.ClientHandler [12] - Sending HTTP request GET http://161.97.88.134:8069/report/py3o/e.invoice.mobile/82390 INFO 08-45-2022 01:45:43 System.Net.Http.HttpClient.Default.ClientHandler [12] - Received HTTP response after 1714.5973ms - OK INFO 08-45-2022 01:45:43 System.Net.Http.HttpClient.Default.LogicalHandler [12] - End processing HTTP request after 1726.0921ms - OK