banana icon indicating copy to clipboard operation
banana copied to clipboard

IS THIS PROJECT STILL LIVE?!

Open buchnick7 opened this issue 4 years ago • 4 comments

keep getting CSP error when trying to reach banana dashboard until I cancel CSP brutally, that seems to be bad practice.. is anyone still use it? if so, what is your setup? lastest solr? cloud or standalone? how do you handle CSP? @athana seems like you were here last:) any idea? cheers

buchnick7 avatar Mar 15 '20 07:03 buchnick7

An example deployment consists of a single node SolrCloud, Banana, and maybe other frameworks, Docker pod. Another example is a JAR deployment inside Solr. As for CSP please provide more details about the environment, i.e. browser, Solr, OS, ... versions and the deployment details so we can help resolve the issue. No need for CAPS :)

aadel avatar Mar 15 '20 12:03 aadel

Hi, I'm getting the CSP error with following environment: Solr 8.4.0, Banana: Latest (b3ff48d), Browser: Yandex 20.11.2.78 (uses the latest chromium as of now).

I'm using Option 1 for installation, just copied src folder into webapp folder of Solr installation. Error is at the index page on line 20:

<script>require(['app'], function () {})</script>

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-Zs0Bv9TGaBOO3qehscmoa7MX4IoCUw0dVEFwV3nb/tg='), or a nonce ('nonce-...') is required to enable inline execution.

uyilmaz avatar Dec 17 '20 18:12 uyilmaz

@uyilmaz PR #367 should resolve that issue.

aadel avatar Dec 20 '20 14:12 aadel

@uyilmaz PR #367 should resolve that issue.

Oh, no. 8.7 still have the problem.

leyafo avatar Jan 13 '21 14:01 leyafo