SAS Programming

DATA Step, Macro, Functions and more
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-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 4351 views
  • 0 likes
  • 3 in conversation