rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: MoTivE on March 03, 2021, 06:28:29 PM

Title: HFS 2.4 RC7 Login Required Issue - Please help!
Post by: MoTivE on March 03, 2021, 06:28:29 PM
Hi all,

iv been trying to use the latest beta build of HFS 2.4RC7 recently but have come across an issue which I don't have with HFS 2.3 and I'm looking for some advice how to fix it.

I use a url forwarding service for my external ip address which works fine with HFS 2.3 but it seems with HFS 2.4 I get a bug where is will constantly say "Login Required" and the browser will just flash this continually. When I check the connection stats on HFS it is just disconnecting over and over again running through various different ports with no ending until I close the browser page (image attached).

I have tried using other templates to see if this fixes the issue but regardless of template being used this same issue is still there, any ideas what's happening here ?

I really like the newer template login screen with 2.4 but this stops me using it  >:(

Thanks for your help!

Title: Re: HFS 2.4 RC7 Login Required Issue - Please help!
Post by: Mars on March 03, 2021, 08:11:13 PM
which external port are you currently using?
Title: Re: HFS 2.4 RC7 Login Required Issue - Please help!
Post by: MoTivE on March 03, 2021, 09:02:17 PM
Hi,

Just using a random port, 6512.
Title: Re: HFS 2.4 RC7 Login Required Issue - Please help!
Post by: Mars on March 03, 2021, 09:13:43 PM
i can see tyhoemthing wrong in your  template ( not the default but test.html)
login button has this format url

http://***.***.***.**:6512/http://***.***.***.***:6512


red part can only be a folder or a filename


Ok now solved  8)
Title: Re: HFS 2.4 RC7 Login Required Issue - Please help!
Post by: MoTivE on March 03, 2021, 09:24:29 PM
I have switched back to the default template now but the login problem is still there if I use my url redirect but its seem to work fine if browse using my external ip though strangely why is this ?
Title: Re: HFS 2.4 RC7 Login Required Issue - Please help!
Post by: Mars on March 03, 2021, 09:31:08 PM
It is quite normal from a browser in the local network the DNS addresses cannot be used, only the local IP addresses 127.0.0.1 or the one provided by the dhcp are functional

to check the dns address, it is necessary that the browser does not exit through the router which serves HFS, either another communication line, or then first connect to a proxy server which will redirect you to router-> hfs in using the dns url
Title: Re: HFS 2.4 RC7 Login Required Issue - Please help!
Post by: MoTivE on March 03, 2021, 09:36:23 PM
Ok but i have just tried to access my server from my mobile not connected to my internet and it still is doing the same login required issue this seems strange as it does not happen if i run HFS 2.3 at all
Title: Re: HFS 2.4 RC7 Login Required Issue - Please help!
Post by: danny on March 19, 2021, 09:17:00 PM
Ok but i have just tried to access my server from my mobile not connected to my internet and it still is doing the same login required issue this seems strange as it does not happen if i run HFS 2.3 at all
Try the stripes template http://rejetto.com/forum/index.php?topic=13415.msg1066702#msg1066702
version for hfs2.4 has
[unauth]
{.redirect|/~login.}

So, instead of lasting error screen, it should show the login screen instantly.
Also use:  Menu > Other > Users > After Login Redirect To (your real folder).