rejetto forum

Software => HFS ~ HTTP File Server => router & port problems => Topic started by: formattinglab on March 26, 2015, 11:30:41 AM

Title: 503 error for client
Post by: formattinglab on March 26, 2015, 11:30:41 AM
Hi!

I have set up a server for a small business client where they can host images for a webshop.
The items in the shop are uploaded in a CSV file and from there the images are copied to the webshop host.

When I open the images they are displayed, but the webshop host is unable to copy the files.
They get a "HTTP/1.1 503 Service Unavailable" error.

Does anyone know how to repair this?
example image location: http://goo.gl/jHqNsO

HELP!

Regards,
Title: Re: 503 error for client
Post by: bmartino1 on March 26, 2015, 05:13:53 PM
I believe it is an issue with mime types... CSV file i thought were excel files.. not pictures, will have to double check myself on that...

any ways, under hfs:
official Mime: application/csv used and also text/csv

hfs > menu > Other options > mime types
http://stackoverflow.com/questions/7076042/what-mime-type-should-i-use-for-csv

Form a previous post i "updated mime types" -- see picture

under a empty "file mask" you should try "*.csv"
under the line over "description mime" you should try "image/csv"

this way, HFS -- the serve will rad the file as an image via application.. ( i clicked you weblink and went to your HFS folder with image files...) Live template should recognize it being an image and might work with preview....
Title: Re: 503 error for client
Post by: rejetto on March 29, 2015, 11:52:15 AM
HFS replies with 503 only when "overloaded", that means clients have crossed the limits you set. Try removing some limits.
If you have no limits, then that answer doesn't come from HFS.
Ensure the 503 comes truly from HFS. You can see it by this line in the reply headers
Server:HFS 2.3d
Sometimes people get replies from other systems (like proxies) and they don't even know.