Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

151
Visualizações
Unable to upload to S3 with Grails S3 Demo Application

I am trying to run a demo project for uploading to S3 with Grails 3.

The project in question is this, more specifically the S3 upload is only for the 'Hotel' example at the end.

When I run the project and go to upload the image, I get an updated message but nothing actually happens - there's no inserted url in the dbconsole table.

I think the issue lies with how I am running the project, I am using the command:

grails -Daws.accessKeyId=XXXXX -Daws.secretKey=XXXXX run-app

(where I am supplementing the X's for my keys obviously).

This method of running the project appears to be slightly different to the method shown in the example. I run my project from the command line and I do not use GGTS, just Sublime.

I have tried inserting my AWS keys into the application.yml but I receive an internal server error then.

Can anyone help me out here?

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

Check your bucket policy in s3. You need to grant permissions to the API user to allow uploads.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda