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.>

답변함 일 년 전
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠