-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
The page isn't redirecting properly #247
Comments
You should hard reset your browser's cache and restart Webmin. |
@qooob already did it. It says to many redirects |
What about putting cursor to URL line in Firefox and hitting enter? That shouldn't be the theme's case really.. |
@qooob since was on a virtual machine, I recover from a snapshot without webmin and after the update of the theme the problem happened again |
Could you please try Chrome browser? Did you also try rebooting your machine? In case it happens in Chrome, please make a screenshot from Chrome with DevTools opened.. I really have no idea why this could be happening. Worth checking: http://www.howtogeek.com/forum/topic/firefox-error-the-page-isnt-redirecting-properly |
There is also Webmin cache. It could get stuck. Clear server side cache as well. https://support.mozilla.org/en-US/questions/938531 What is your Webmin version, guys? |
I cleaned everything that could be cleaned, same behaviour. 4719 [19/Sep/2015 13:38:29.004928] - 10.10.0.58 - START "script=index.cgi" |
Can you manually downgrade to let's say version 14 to see what will happen then? I guess you could manually remove Webmin session by deleting I don't see how this issue is related to the theme. |
I downgraded to version 14. Works without any problems as before. |
Can you also clear the cookies? If not just run it in incognito mode, click |
Tried the incognito mode |
Reply from Firefox Forums:
|
I tried different versions of Firefox in Linux, OS X, Windows - I can not reproduce the bug. Please be kind making video screencast for the whole process of signin in, while keeping DevTools opened. (you can send it to me privately in case you are worried about URLs or make it in full-screen mode). I have no clue why this is happening and I have very strong premonition that it's not theme related! |
I hope your premonition is right :) |
I've been doing some testing on various browsers, and so far I haven't been able to reproduce this issue. I'll continue reviewing the issue, though I may ask Jamie to see if he has any input. |
Ok, I think I know where the problem lies! You shouldn't use that module to change the theme. Please goto Try it and let me know. Make sure that in Helped? |
Well... Tried the above, exactly as described by you. |
That should not be happening! :| |
I can not reproduce it on and browser, in any OS. |
Well I'm pretty sure it's not the browser... It's something happening within webmin+authentic theme. |
Do you have any dependencies on any perl modules or anything within webmin ? |
That is so wired. Reboot the system!! I think personally, it's stuckness of Webmin cache somewhere.. |
Did you try Chrome? |
Tried Firefox, Safari, Chrome ( Mac OS X ) |
Changes are huge! Installed directly? Using |
Yes |
I don't know why it's happening. Will see what others will say on testing! Please wait.. |
I don't imagine you have a machine experiencing this issue, that we could remotely access and log in to? A test system, perhaps? |
@qooob @andreychek |
Are you sure is prt($ENV{'REQUEST_URI'}) and not print ? |
Yes, I got that manual function there.. |
It's better to find printed stuff.. |
HTTP/1.0 500 Perl execution failed Server: MiniServ/1.760 Date: Sun, 20 Sep 2015 11:53:28 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close Undefined subroutine &main::prt called at /usr/libexec/webmin/authentic-theme/authentic-lib.cgi line 2009. |
Like I said :) It's cache issue! In the end of the file there should be sub prt {
my ($____v) = @_;
use Data::Dumper;
print '<div style="color: red">';
print Dumper $____v;
print '</div>';
} Do you have this in your file? Did you really restart Webmin? Did you restart machines? (please say as it is, I need it for the future reference) You could get error about not having Take a look at this line: OK instead of print '++++' . $ENV{'REQUEST_URI'} . '++++'; What is the output? |
In case you have |
If I query https://1.2.3.4:10000 the output is / and the loop is gone. |
But what do you query on regular basis? |
This is what you should do? |
Usually I go directly yo https://1.2.3.4:10000/ and sometimes directly to https://1.2.3.4:10000/dhcpd |
Second will never work!! What do you get on the print if you query the first example: |
Actually, if I query https://1.2.3.4:10000/fsdump/ it works without left menu. I wouldn't recommend doing this. Why not just query |
Ok.. I found out the root cause... |
Reallly??? Let me check. This is only possible if I forgot to remove it somewhere - that would be bad! |
Checking... |
Fix for it is following:
|
But this function is not intended to run on users.. and I just checked it - there is not a single place where I would call it.. |
I've seen... Don't know what is actually going on wrong in there, but like I said... You can check to see if you can reproduce the loop by removing the dumper from your system. |
Listen, thank you so much, pal!! I wouldn't believe this unless I tried to simply renaming it something else. I got redirect loop. You're right.. Fixing... Thanks!!! |
:) |
Glad to give something back to the community! |
...but do you realize that this function also in all previous versions? How come it's alright with those versions and fails with 16. Any thoughts? ;) |
To be honest with you... I have no idea why it brakes. :| |
I see. Alright! Thank you anyway!! ;) |
Just coming in to this thread... I just wanted to point out that I am having exactly the same issue as above, with Webmin 1.770 and Authentic 16. Tried all the same steps before coming to this page: clearing local cache, server cache, restarting webmin, rebooting server, changing webmin to non-SSL, switching ports... tried it all, same issue. Also running CentOS 7. |
And.... I just found your v17 update. So here's what I did to fix the bug: I edited /etc/webmin/config, and changed referrers_none=1 to 0. Then I manually added /webmin on the URL after logging in (which is when I get the redirect loop), and that gave me access to the webmin config, where I could then go and manually update the theme to the version available from this repo. I had this happen on several CentOS 7 systems with this same configuration, so it was definitely reproducible for me, but this fix resolved it completely. Odd though, that v17 of your theme doesn't appear to address bug #247, so I'm guessing I missed an update somewhere that caused it to break in the first place. |
That should address the issue. The problem could be in the stuck cache, so you need to restart Webmin or machine in case it doesn't help. |
After updating to version 16, after the login gives the error The page isn't redirecting properly.
Both Firefox and Midori give the error.
I'm using CentOS 7
The text was updated successfully, but these errors were encountered: