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

已提問 2 年前檢視次數 1998 次
4 個答案
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.

已回答 2 年前
  • 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

已回答 2 年前
  • 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.>

已回答 1 年前
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)

已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南