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

asked 2 years ago1984 views
4 Answers
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.

answered 2 years ago
  • 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

answered 2 years ago
  • 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.>

answered a year ago
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)

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions