-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic Authentication popup in production #432
Comments
Hi @insad, What values do you have in the .env file in these parameters: PUMUKIT_HOST, PUMUKIT_SCHEME ? Default value of PUMUKIT_HOST is wrong in your case, you should set your production environment host as value. Best regards! |
Hi Pablo, Thanks for your reply, but still something must be wrong. Here the relevant parts of my .env.local file:
I added my domain in the "TRUSTED_HOSTS" list, set it as "PUMUKIT_HOST" parameter, and finally set "CORS_ALLOW_ORIGIN" to "*" I'm running a fresh (yesterday) copy of the github master (4.0.x-dev) with the paella player installed. Will myself also search for a solution, I do a lot of PHP programming, but besides some libraries I use from Symfony, have no experience with the platform. Muchas gracias nuevamente, Albert |
I have found where the problem originates. E.g. in /admin/series, there is javascript code calling url's /api/keywords/mmobj and /api/keywords/series (window.mmobjkeywords.initialize() resp. window.serieskeywords.initialize()). These API calls cause the popup authentication window, if I click "Cancel" in this window, I get back a 401 error. Not sure how to solve this problem, maybe also your jquery is very very old (1.10.2) ?? |
The user forums seem not to exist anymore, so I'm asking this here.
Running in production mode (until now never happened in dev mode), some menu items show a basic authentication popup. Strange enough it happens only with some back office menu items, and not with other.
I'm running the site with Apache 2.4.41 on Ubuntu 20.04 and PHP 7.4 (using PHP-FPM). but exactly the same happens running under PHP-CGI, with and without .htaccess (generated by symfony/apache-pack).
Correctly set for PHP-FPM:
and also when using PHP-CGI:
Somebody has an idea, what can be going wrong?
Relevant Apache2 site configuration:
The text was updated successfully, but these errors were encountered: