Cant upload to elastic beanstalk

2

I have an elastic bean-stalk instance. It is not allowing me to upload code. I have previously uploaded to this bean stalk instance I can upload to the S3 bucket successfully There is no errors displayed while uploading

demandé il y a 2 ans1996 vues
4 réponses
2

I had the same issue today. I needed to disable/override content-security-policy (https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) in my browser to be able to upload my application zip file using the AWS Console.

répondu il y a 2 ans
  • That is the issue. Turning off CSP did not work for me unfortunately.

  • turning off CSP did not work for me either. Did you ever figure out another way to make it work?

2

I have been having the same issue. Disabling CSP headers using the chrome extension has helped https://www.ibm.com/support/pages/disabling-content-security-policy-csp

répondu il y a 2 ans
  • Thanks - this allowed the uploads to work again. Really hacky way to get around an AWS bug.

1

March 20, 2023. I have the same error. "Could not upload file: unknown exception" Disabling CSP headers using the chrome extension has not helped. In my case, after enabling the VPN <chrome extension>, the jar file was loaded without any errors on the first try. <I changed my IP from Ukraine to U.S.>

répondu il y a un an
0

I also have the same issue periodically. This bug seems to reappear once every couple of months. It's happening today again (Aug-31-2022) on US-West-2 for me. @AWS, can this please be fixed for good?

(To clarify, as others answered, the issue is that CSP is misconfigured, so the only way to upload an application version in the AWS Console is to disable CSP in my browser)

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions