• Rainer Gottschall
    0
    I am using a S3 compatible storage with my provider and using the GUI I have no issue accessing the service.
    When I try to use the powershell and use Select-CloudFolder -Path "nasbackup" it tries to access https://nasbackup.s3provider.net which fails because the DNS name does not exist - it should access https://s3provider.net/nasbackup (as the GUI does) - this even happens when I say Set-CloudOption -PathStyle path
  • David Gugick
    84
    Can you post the call to Select-CloudFolder with values for any variables if you are using them? Please replace any revealing bucket/path names with temporary names if needed). Thanks.
  • Rainer Gottschall
    0
    $s3=Get-CloudS3Connection -Key "xxxxxxxxxxxxx" -Secret "yyyyyyy" -EndPoint "cloudstore.test.net:8082"
    
    Set-CloudOption -PathStyle path
    
    $s3|Select-CloudFolder -Path "nasbackup"
    
    Select-CloudFolder : The remote name could not be resolved: 'nasbackup.cloudstore.test.net'
    At line:1 char:5
    + $s3|Select-CloudFolder -Path "nasbackup"
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Select-CloudFolder], LightWebException
        + FullyQualifiedErrorId : CloudBerryLab.Base.HttpUtil.Light.LightWebException,CloudBerryLab.Explorer.PSSnapIn.Comm
       ands.SelectCloudFolder
    
  • James E
    2

    Seems like you need to add ' -SignatureVersion 2' to your Get-CloudS3Connection string as per our PowerShell snap-in guide on our site because you use S3-Compatible storage service.
bold
italic
underline
strike
code
quote
ulist
image
url
mention
reveal
youtube
tweet
Add a Comment

Welcome to MSP360 (CloudBerry) Forum!

Thank you for visiting! Please take a moment to register so that you can participate in the discussions!