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

gefragt vor 2 Jahren1996 Aufrufe
4 Antworten
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.

beantwortet vor 2 Jahren
  • 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

beantwortet vor 2 Jahren
  • 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.>

beantwortet vor einem Jahr
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)

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen