Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

139
Vistas
How to set endpoint for storage service compatible with s3 by using AWSSDKCPP?

I am writing an APP talking with 3rd (no aws) storage compatible with s3 (bucket and object service) by using AWS SDK CPP.

I tried to use below code to override endpoint, e.g., http://192.168.10.10:8800, but it doesn't work and return "InternalError". Could anyone please give a hand ? thanks in advance.

{   
Aws::SDKOptions options;
Aws::SDKOptions options;
Aws::SDKOptions options;`
Aws::InitAPI(options);
ClientConfiguration config;
config.scheme = Scheme::HTTP;
config.connectTimeoutMs = 30000;
config.requestTimeoutMs = 30000;
config.endpointOverride = "192.168.10.10:8800"  //customized address
Aws::S3::S3Client *s3client = new Aws::S3::S3Client(Aws::Auth::AWSCredentials("key", "secret"), config);

auto list_buckets_outcome = s3client->ListBuckets();

if( list_buckets_outcome.IsSuccess())
    std::cout << "List OK" << std::endl;
else
    std::cout << "List Error" <<       
           list_buckets_outcome.GetError().GetExceptionName() << 
           list_buckets_outcome.GetError().GetMessage() << std::endl;
    Aws::ShutdownAPI(options); 
}
about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda