-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Settings Admin page reloads every second on HTTPS #22977
Comments
Your trusted domains look strange? |
@nickvergessen To be sure that it gets all the domain and hosts @jnweiger developed a update-config.php script that is used to update the trusted domains. Used in the VM we developed last year as well: https://github.com/owncloud/vm/tree/master/vagrant/oc8ce |
At least those two entries:
should at most be one. Not sure the trusted_domain causes your problem, but might be related. |
I changed it, and it had no effect. Thanks for noticing! |
How can I debug this? @LukasReschke |
Just noticed, it happens on some VMs and other not. Just tested to download and mount it again and the error was gone. Will keep investigating. EDIT: Not able to reproduce anymore. |
Just chiming in to say I am also seeing this. My personal owncloud is in a docker container behind an apache proxy which terminates TLS. Admin panel is unusable, unfortunately. Everything else seems to work fine |
@espenaf Thanks for confirming! Have you found the cause of the error? |
No, sorry. Checking the logs I am getting an infinite loop of these messages:
Not what's going on here. "Undefined index: newVersionString at /var/www/html/apps/updatenotification/templates/admin.php#8", seems to happen in between every batch of requests (different reqId), so that's suspicious. Could that be triggering the reloads? |
@esphen That's unrelated, here is a fix: #22917 |
Can you check the browser JS console and also network console ? |
@esphen As I don't seem to be able to reproduce this anymore, could you please help us debug this? |
Sure, I've had a look at the logs in both FF and Chrome, which both are looping, and this is what I'm seeing: Both browsers are looping while logging I am seeing two interesting things:
Does that help you at all? Tell me if you need anything else |
Ok, I got it again. Here are some error outputs from inspect tool in Chrome:
|
Ok, so Can you try this: Both should return 403. I suspect that something in your setup is blocking the data folder using a different approach. |
@PVince81 Sorry, can't test right now. But regarding the permissions I use ownClouds recommended script: https://github.com/enoch85/ownCloud-VM/blob/master/production/setup_secure_permissions_owncloud.sh I get a lot of emails regarding this so it would be super if @LukasReschke could help us out here. And @esphen maybe you could try the commands? --^ |
Could this be related to #23482 (comment) ? |
Slightly related. But the setup check has a flag "allowAuthErrors" to prevent the global handler to do anything. Let me do a test to confirm. |
Works for me. If I hack Webdav to return 401, the global handler properly ignores the error, no reload. @enoch85 you can try commenting out this line https://github.com/owncloud/core/blob/v9.0.0/core/js/js.js#L749 and see if the reloading still happens. |
Tested in Firefox 44.0.2 and Chromium 48.0.2564.116 |
That fixed it. Will this be addressed in 9.0.1? |
This also effects unshared links: https://en0ch.se/index.php/s/nEZEzFJqOCmcKjW PHP 5.5 |
@oparoz This is caused by a request to "https://en0ch.se/index.php/apps/gallery/config?extramediatypes=1" which 401's. |
Will this be fixed in 9.0.1? |
@LukasReschke - It's because of the template used to show that message. We're on a public page, using a public link URL, which should contain a token, but another template is being used, so the script thinks it's on a regular page, not a public page and makes a request to the private route. |
When I comment out # And I can also confirm that this happens on HTTP as well, not just SSL. @LukasReschke Any thoughts? |
Been doing some more tests now, it seems to be gone in RC1. This errors is so strange. Did you merge anything to fix this? Problem now is that .htaccess does not seem to work. Get a setup warning. Double checked everything and everything seems correct.
I know this may be a config issue, but help would be much appreciated! |
I think I fixed it (.htaccess issue) by moving the datadir outside webroot. No more errors, and no reloading. This is on 9.0.1 RC1. Don't know what caused it still... Closing this. I'll reopen if it remains. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Steps to reproduce
user: ocadmin / pass: owncloud
Expected behaviour
No constant reloading of page
Actual behaviour
on HTTPS the Setup & Security check make the page reload every second. When I go to "Log" (or below the check) the site stops reloading. I can also see with the inspect tool that I get a new requesttoken on every reload.
Server configuration
Operating system:
Ubuntu 14.04
Web server:
Apache 2.4
Database:
MySQL 5.6
PHP version:
7.0 deb sury
ownCloud version: (see ownCloud admin page)
9.0.0 stable
Updated from an older ownCloud or fresh install:
Fresh
Where did you install ownCloud from:
Ubuntu Packages (ownCloud)
Signing status (ownCloud 9.0 and above):
List of activated apps:
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Client configuration
Browser:
Chrome 49
Operating system:
Deepin 15 (Debian) & Windows (tested both)
Logs
Web server error log
ownCloud log (data/owncloud.log)
SSL Config
Virtual Host
https://github.com/enoch85/ownCloud-VM/blob/master/beta/owncloud_install.sh#L180-L208
The text was updated successfully, but these errors were encountered: