Error with WinSCP when security token is too large when connecting to S3

Advertisement

deneman
Guest

Error with WinSCP when security token is too large when connecting to S3

When using WinSCP to access the service, if the security token is too large, I get the following error message:
The security token included in this request is invalid.
However, performing the exact same operation with mc (MinIO Client) works correctly.

Description: screenshot of error message displayed by winscp

winscp.png

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
42,398
Location:
Prague, Czechia

Re: Error with WinSCP when security token is too large when connecting to S3

Thanks for your report. How large is too large?

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

DonatienEneman
Guest

Here is the filelog.

When i compared with one working example i see that some informations are missing in the log for example x-amz-security-token. However, I've check "save password and sensitive" info! I think this can explain why it's not working :)
Description: this file show an example when is not working

Reply with quote

Advertisement

You can post new topics in this forum