You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Unable to assume AWS role arn:aws:iam::123456789:role using SAML
Expected Behavior
if AWS_Endpoint_URL variable is configured in environment variables for localstack or some other application , it should not consider it
System.InvalidOperationException: Unable to assume AWS role
arn:aws:iam::123456789:role using SAML
System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
(localhost:4566)
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused
it.
at void System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError ,
CancellationToken )
at void
System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.
GetResult(short )
at async ValueTask System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|285_0(
AwaitableSocketAsyncEventArgs , ValueTask , CancellationToken )
at async ValueTask System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(string , int ,
HttpRequestMessage , bool , CancellationToken )
at async ValueTask System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(string , int ,
HttpRequestMessage , bool , CancellationToken )
at async ValueTask<ValueTuple<Stream, TransportContext, IPEndPoint>> System.Net.Http.HttpConnectionPool.
ConnectAsync(HttpRequestMessage , bool , CancellationToken )
at async ValueTask System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(
HttpRequestMessage , bool , CancellationToken )
at async Task System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem )
at async ValueTask System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync( CancellationToken ) at async ValueTask<HttpResponseMessage> System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync( HttpRequestMessage , bool , bool , CancellationToken ) at async ValueTask<HttpResponseMessage> System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage , bool , CancellationToken ) at async Task<HttpResponseMessage> System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage , HttpCompletionOption , CancellationTokenSource , bool , CancellationTokenSource , CancellationToken ) at async Task<IWebResponseData> Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken ) at async Task<T> Amazon.Runtime.Internal.HttpHandler1.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.Unmarshaller.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.ErrorHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.ErrorHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.CallbackHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.Signer.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.CredentialsRetriever.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.RetryHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.RetryHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.CallbackHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.CallbackHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.MetricsHandler.InvokeAsync(IExecutionContext )
at async Task Ellosoft.AwsCredentialsManager.Services.AWS.AwsCredentialsService.
GetAwsCredentials(string , string , string , int )
at async Task Ellosoft.AwsCredentialsManager.Services.AWS.AwsCredentialsService.GetAwsCredentials(
string , string , string , int )
at async Task Ellosoft.AwsCredentialsManager.Services.AWS.Interactive.AwsOktaSessionManager.
CreateSessionAsync(string , string , CredentialsConfiguration )
at async Task Ellosoft.AwsCredentialsManager.Services.AWS.Interactive.AwsOktaSessionManager.
CreateOrResumeSessionAsync(string , string )
at async Task Ellosoft.AwsCredentialsManager.Commands.RDS.GetRdsPassword.GenerateDbPassword(string , string , int? ,
string , string , int )
at async Task Ellosoft.AwsCredentialsManager.Commands.RDS.GetRdsPassword.ExecuteAsync(CommandContext , Settings )
at async Task Spectre.Console.Cli.CommandExecutor.Execute(IConfiguration , IEnumerable ) in
//src/Spectre.Console.Cli/Internal/CommandExecutor.cs:83
at async Task Spectre.Console.Cli.CommandApp.RunAsync(IEnumerable ) in //src/Spectre.Console.Cli/
CommandApp.cs:84
at int Spectre.Console.Cli.CommandApp.Run(IEnumerable ) in /_/src/Spectre.Console.Cli/CommandApp.cs:58
at async Task Program.
$(string[] )
The text was updated successfully, but these errors were encountered:
## New features
- Automatic HTTPS prefix on Okta Domain during Okta Setup
- Automatic copy RDS pwd to clipboard (#36)
- MacOS Support (#35)
- New Open Logs Command (#39)
## Bug Fixes
- Error: Unable to assume AWS role bug (#29)
- Error message for incorrect configuration is not a user-friendly bug
(#38)
- Unable to retrieve OKTA apps automatically bug (#37)
- Improves Push MFA, challenge message
## New features
- Automatic HTTPS prefix on Okta Domain during Okta Setup
- Automatic copy RDS pwd to clipboard (#36)
- MacOS Support (#35)
- New Open Logs Command (#39)
## Bug Fixes
- Error: Unable to assume AWS role bug (#29)
- Error message for incorrect configuration is not a user-friendly bug
(#38)
- Unable to retrieve OKTA apps automatically bug (#37)
- Improves Push MFA, challenge message
## New features
- Automatic HTTPS prefix on Okta Domain during Okta Setup
- Automatic copy RDS pwd to clipboard (#36)
- MacOS Support (#35)
- New Open Logs Command (#39)
## Bug Fixes
- Error: Unable to assume AWS role bug (#29)
- Error message for incorrect configuration is not a user-friendly bug
(#38)
- Unable to retrieve OKTA apps automatically bug (#37)
- Improves Push MFA, challenge message
Error: Unable to assume AWS role arn:aws:iam::123456789:role using SAML
Expected Behavior
if AWS_Endpoint_URL variable is configured in environment variables for localstack or some other application , it should not consider it
System.InvalidOperationException: Unable to assume AWS role
$(string[] )arn:aws:iam::123456789:role using SAML
System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it.
(localhost:4566)
System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused
it.
at void System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError ,
CancellationToken )
at void
System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.
GetResult(short )
at async ValueTask System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|285_0(
AwaitableSocketAsyncEventArgs , ValueTask , CancellationToken )
at async ValueTask System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(string , int ,
HttpRequestMessage , bool , CancellationToken )
at async ValueTask System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(string , int ,
HttpRequestMessage , bool , CancellationToken )
at async ValueTask<ValueTuple<Stream, TransportContext, IPEndPoint>> System.Net.Http.HttpConnectionPool.
ConnectAsync(HttpRequestMessage , bool , CancellationToken )
at async ValueTask System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(
HttpRequestMessage , bool , CancellationToken )
at async Task System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(QueueItem )
at async ValueTask System.Threading.Tasks.TaskCompletionSourceWithCancellation
1.WaitWithCancellationAsync( CancellationToken ) at async ValueTask<HttpResponseMessage> System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync( HttpRequestMessage , bool , bool , CancellationToken ) at async ValueTask<HttpResponseMessage> System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage , bool , CancellationToken ) at async Task<HttpResponseMessage> System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage , HttpCompletionOption , CancellationTokenSource , bool , CancellationTokenSource , CancellationToken ) at async Task<IWebResponseData> Amazon.Runtime.HttpWebRequestMessage.GetResponseAsync(CancellationToken ) at async Task<T> Amazon.Runtime.Internal.HttpHandler
1.InvokeAsync(IExecutionContext )at async Task Amazon.Runtime.Internal.Unmarshaller.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.ErrorHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.ErrorHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.CallbackHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.Signer.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.EndpointDiscoveryHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.CredentialsRetriever.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.RetryHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.RetryHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.CallbackHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.CallbackHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeAsync(IExecutionContext )
at async Task Amazon.Runtime.Internal.MetricsHandler.InvokeAsync(IExecutionContext )
at async Task Ellosoft.AwsCredentialsManager.Services.AWS.AwsCredentialsService.
GetAwsCredentials(string , string , string , int )
at async Task Ellosoft.AwsCredentialsManager.Services.AWS.AwsCredentialsService.GetAwsCredentials(
string , string , string , int )
at async Task Ellosoft.AwsCredentialsManager.Services.AWS.Interactive.AwsOktaSessionManager.
CreateSessionAsync(string , string , CredentialsConfiguration )
at async Task Ellosoft.AwsCredentialsManager.Services.AWS.Interactive.AwsOktaSessionManager.
CreateOrResumeSessionAsync(string , string )
at async Task Ellosoft.AwsCredentialsManager.Commands.RDS.GetRdsPassword.GenerateDbPassword(string , string , int? ,
string , string , int )
at async Task Ellosoft.AwsCredentialsManager.Commands.RDS.GetRdsPassword.ExecuteAsync(CommandContext , Settings )
at async Task Spectre.Console.Cli.CommandExecutor.Execute(IConfiguration , IEnumerable ) in
//src/Spectre.Console.Cli/Internal/CommandExecutor.cs:83
at async Task Spectre.Console.Cli.CommandApp.RunAsync(IEnumerable ) in //src/Spectre.Console.Cli/
CommandApp.cs:84
at int Spectre.Console.Cli.CommandApp.Run(IEnumerable ) in /_/src/Spectre.Console.Cli/CommandApp.cs:58
at async Task Program.
The text was updated successfully, but these errors were encountered: