Logstash s3 error Failed to open TCP connection

I have been trying to get the s3 plugin to work have been running into issues connecting to the url. The interest part is the url it reports in the error message is missing the region, which was referenced in the endpoint. What am I missing?

Error validating bucket write permissions! {:message=>"Failed to open TCP connection to bucket.xxxx-xxxxxxxxxxxxxxxxx-xxxxxxxx.s3.vpce.amazonaws.com:443

below you will notice that the region is dropped from the url even though its set in endpoint and region settings.

"https://bucket.xxxx-xxxxxxxxxxxxxxxxx-xxxxxxxx.s3.us-east-1.vpce.amazonaws.com"
bucket.xxxx-xxxxxxxxxxxxxxxxx-xxxxxxxx.s3.vpce.amazonaws.com:443

s3 section:

    s3 {
      access_key_id => "XXXXXXXXXXXXXXXXXXXX"
      secret_access_key => "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
      endpoint => "https://bucket.xxxx-xxxxxxxxxxxxxxxxx-xxxxxxxx.s3.us-east-1.vpce.amazonaws.com"
      bucket => "dev-analytics"
      region => "us-east-1"
      size_file => 2048
      time_file => 5
      codec => "json"
      canned_acl => "bucket-owner-full-control"
      additional_settings => { "force_path_style" => "true" } 
    }

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.