rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: Justinh on July 07, 2014, 12:20:00 AM

Title: icon images don't load - 503 error?
Post by: Justinh on July 07, 2014, 12:20:00 AM
Hi -
When I log in to HFS (from the LAN or localhost) the icons don't load, or else some load sporadically.  F5 doesn't fix it.  The log says:
Code: [Select]
Requested GET /~img18
Not served: 503 - Overload
Requested GET /~img1
Not served: 503 - Overload
Requested GET /favicon.ico
Not served: 503 - Overload

I'm using the default templates (v2.3a) on Server2003 on a low-traffic network.  I do have port 80 running another service (still not much traffic), so I have HFS on a diff port.  Browser-independent.

Any hints on this one?

Thanks,
Justin
Title: Re: icon images don't load - 503 error?
Post by: bmartino1 on July 07, 2014, 12:20:51 PM
Quote:
I'm using the default templates (v2.3a) on Server2003 on a low-traffic network

---------------

are you hosting a webpage(that is not the default template of hfs) that directs to a folder of icons?
*can you be any more specific, ie when (these hfs option are on/this path on this port/etc...)

Are attempting to use HFS default template(have you chagned any of the code???

Since you are on a different port, i would check the webpage you are going and double check the html and find your resources to verfy that they are reaching the correct browser path.. (do tis on the hfs serving machien and go to localhost (http://127.0.0.1:###/%website you hit to get errors)

ie: if a css file is located local on the computer (example - ip 192.168.1.254) ant the html code just says *.css with out a FQDN true html path, then you would get similar errors trying to load resources....

correctable via editing the html code you may be using and adding resource folder.

IF that doesn't fix your issues, i recommend you re download the latest build of hfs and start over.

following some basic steps ie: creating hfs side web folder

c:\webroot\hfs\hfs.exe
create your folders or add you html file data and add them to hfs as real folders....
Title: Re: icon images don't load - 503 error?
Post by: bmartino1 on July 07, 2014, 12:27:25 PM
http://www.checkupdown.com/status/E503.html

It also could be that you changed some hfs "limits" and as such they are set too low and refusing the connection via time time...


HFS > Menu > LIMITS > Inactivity time out needs to be increased giving hfs more time to connect the html sockets!...

*see pic
Title: Re: icon images don't load - 503 error?
Post by: Justinh on July 08, 2014, 01:15:05 AM
I'm using default templates...

However, I found the problem.  It was with a Limit.  I had set the "Max connections from a single IP address" to 4.  It looks like every thing that downloads (page plus icons) is a 'connection'.  I bumped up the value and all is good now.

Thanks.
Title: Re: icon images don't load - 503 error?
Post by: LeoNeeson on July 20, 2014, 11:34:26 PM
That's right. If your website has a lot of (small) images, you may use "sprites". Search in Google this: CSS Image Sprites (http://www.w3schools.com/css/css_image_sprites.asp). So, for example, instead of loading five small images you only load one bigger image. This makes your website load faster, since you don't need to make so many requests to your server.
Good luck! ;)