-
Notifications
You must be signed in to change notification settings - Fork 115
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
Empty response from server #236
Comments
iipsrv runs as an FCGI process, so you cannot make direct HTTP requests. You need to connect via a web server, such as Lighttpd. When you install the Ubuntu package iipimage-server, it should normally install an iipsrv lighttpd config file. Take a look in /etc/lighttpd/conf-available/. If it's not there, uninstall the iipimage-server package and then re-install. If it's now there, activate using the lighttpd-enable-mod command if necessary, restart lighttpd and iipsrv should hopefully be running at http://localhost/iipsrv/iipsrv.fcgi |
Hey @ruven, thank you for the quick response!
Sorry, I was mislead by the documentation stating it is possible to start the server directly from the command line.
Indeed the config was not present. However, following your advice and reinstalling the As for lighttpd, I've tried using it in the following manner following the above linked
After that,
At this point, by pointing the browser at the |
@ruven Is there anything else I could check to come across this? |
In fact the blog you refer to is really about manually building iipsrv with Kakadu, so you have ended up massively over-complicating things! Anyway, I think your error is simply because you're connecting with your browser to the wrong address. You should connect to lighttpd itself, which is running on port 80 (not port 9000) and use the path defined for iipsrv in your config, which is: http://localhost/fcgi-bin/iipsrv.fcgi You can change this path to whatever you want. Your lighttpd config defines this path at the beginning:
Hopefully this should fix things for you. If not, let me know. |
Hello, I have tried setting up the IIP server from both command line and using lighttpd but ran into the same problem - the server seems to be running but is providing no response.
Let me walk you through the steps on Ubuntu 20.04:
sudo apt-get install iipimage-server
./iipsrv.fcgi --bind 127.0.0.1:9000
from/usr/lib/iipimage-server
According to the Troubleshooting page, pointing the browser to http://localhost:9000/ should reveal server version number. However, I get an
ERR_EMPTY_RESPONSE
When trying to reach the same address through
wget
, the response is following:I've checked the log file - it seems to catch only the server initialisation log, but reveals nothing about the empty response:
I have tried to follow the
lighttpd
directions from http://circle-theory.blogspot.com/2015/01/jpeg2000-support-with-iipimage-iipsrv.html, however, the result is exactly the same.Googling for the error did not bring me further. Only thing I found was this https://groups.google.com/g/iiif-discuss/c/nxjGYieLaLQ however there only the log file was mentioned and no answer was provided after linking to the circle-theory blog.
Could you please let me know how to proceed with debugging this?
Thank you
The text was updated successfully, but these errors were encountered: