I’m trying to install the pseudo payment provider (Same thing happends with delivery), but get an SSL connection error when trying to add the config file.
I’m running Litium on https://localhost:44384/ (started from Visual studio) with a valid development https cert, and added 44388 as port in the docker-compose.yaml for direct-payment.
The installation of the addon is sucessful. But the error happens when i try to add the config file and klick save.
Do i need to have the config file in a special location? Right now it’s in ./data/direct-payment/config
I can’t find any good logs. Looked both in the litium log and in ./data/direct-payment/logs but can’t see anything relevant. Only this below
2021-10-04 14:06:37.4503 [App:01] [] [ERROR] [] Litium.Connect.Payments.Communications.Litium.ConnectPayments.IRegistrationService - Cannot assign requested address (localhost:44384) System.Net.Http.HttpRequestException: Cannot assign requested address (localhost:44384)
—> System.Net.Sockets.SocketException (99): Cannot assign requested address
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.DefaultConnectAsync(SocketsHttpConnectionContext context, CancellationToken cancellationToken)
at System.Net.Http.ConnectHelper.ConnectAsync(Func3 callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.ConnectAsync(Func
3 callback, DnsEndPoint endPoint, HttpRequestMessage requestMessage, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
at Litium.Connect.Payments.Communications.Litium.LitiumAuthenticationDelegatingHandler.GetOAuth()
at Litium.Connect.Payments.Communications.Litium.LitiumAuthenticationDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
at Litium.Connect.Payments.Communications.Litium.ConnectPayments.ConnectPaymentsClient.PaymentProvider_GetAsync(String id, String api_versionQuery, String api_versionHeader, CancellationToken cancellationToken)
at Litium.Connect.Payments.Communications.Litium.ConnectPayments.RegistrationService.<>c__DisplayClass3_0.<g__TryUpdatePaymentProvider|0>d.MoveNext()
— End of stack trace from previous location —
at Litium.Connect.Payments.Communications.Litium.ConnectPayments.RegistrationService.RegisterAsync(PaymentProvider paymentProvider)
at Litium.Connect.Payments.Infrastructure.PaymentProviderHostedService.StartAsync(CancellationToken cancellationToken)
Litium version: 8