BookmarkSubscribeRSS Feed
xbh0mxw
Calcite | Level 5

Hello,

 

I am a first time proc s3 user - and am trying to connect to our newly created s3 bucket. This is the test code I am using simply to see if I connect, and list the contents in my bucket:

 

xbh0mxw_0-1697035816224.png

However, I am getting the following ERROR messages in the log:

 

xbh0mxw_1-1697035867264.png

 

This is being run on SAS 9.4 (TS1M7) PC SAS

 

I am certain the region, secret, and keyids are correct.

The bucket is correct but I am unsure if I need "/arn:aws:s3:::" in the bucket information, if I remove this part I get "ERROR: The credentials provided did not authenticate" so I assume it is needed.

 

Does anyone know what causes this Connection reset by peer issue?

 

Thanks.

 

3 REPLIES 3
Sajid01
Meteorite | Level 14

Simply speaking "connection reset by peer" means the network connection has been dropped.
In client server environment the net packet sent from the client has not been acknowledged by the server or response is taking too long to come and possibly getting timed out.
There could be variety of reasons for this.

xbh0mxw
Calcite | Level 5

Just an update on this -

 

you do no need the ARN information in front - it is simply "/bucket/" - will leave this here for anyone else experiencing this issue.

SASKiwi
PROC Star

@xbh0mxw  - If that fixes your error please update the post as answered.

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 3850 views
  • 0 likes
  • 3 in conversation