Page MenuHomePhabricator

ZoomViewer FCGI broken
Closed, ResolvedPublic

Description

The ZoomViewer project on toollabs uses a custom .lighttpd-conf file that adds a target for a fcgi process:
https://tools.wmflabs.org/zoomviewer/iipsrv.fcgi?FIF=cache/779543aa14d92a2dff180a4cbc0eb2f6.tif&obj=IIP,1.0&obj=Max-size&obj=Tile-size&obj=Resolution-number

This seemed to have stipped working (whereas the regulat php components of teh zoomviewer still work).

Event Timeline

dschwen assigned this task to yuvipanda.
dschwen raised the priority of this task from to Needs Triage.
dschwen updated the task description. (Show Details)
dschwen added a project: Toolforge.
dschwen subscribed.
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
valhallasw added subscribers: yuvipanda, valhallasw.

As far as I can see, this is an application error:

tools.zoomviewer@tools-webgrid-lighttpd-1401:~$ curl "http://localhost:60146//zoomviewer/iipsrv.fcgi?FIF=cache/779543aa14d92a2dff180a4cbc0eb2f6.tif&obj=IIP,1.0&obj=Max-size&obj=Tile-size&obj=Resolution-number"
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
  <title>503 - Service Not Available</title>
 </head>
 <body>
  <h1>503 - Service Not Available</h1>
 </body>
</html>

although the proxy does do a very good job at making that non-obvious...

Hmm, so where can I see details on that error? My ~/error.log is empty.

tools.zoomviewer@tools-webgrid-lighttpd-1401:~$ ls -l /proc/5591/fd
total 0
lrwx------ 1 tools.zoomviewer tools.zoomviewer 64 Oct 24 11:39 0 -> /dev/null
lrwx------ 1 tools.zoomviewer tools.zoomviewer 64 Oct 24 11:39 1 -> /dev/null
l-wx------ 1 tools.zoomviewer tools.zoomviewer 64 Oct 24 11:39 2 -> /data/project/zoomviewer/error.log (deleted)
l-wx------ 1 tools.zoomviewer tools.zoomviewer 64 Oct 24 11:39 3 -> /data/project/zoomviewer/error.log (deleted)
lrwx------ 1 tools.zoomviewer tools.zoomviewer 64 Oct 24 11:39 4 -> socket:[17054]
l-wx------ 1 tools.zoomviewer tools.zoomviewer 64 Oct 24 11:39 5 -> /data/project/zoomviewer/access.log
lrwx------ 1 tools.zoomviewer tools.zoomviewer 64 Oct 24 11:39 6 -> anon_inode:[eventpoll]
lrwx------ 1 tools.zoomviewer tools.zoomviewer 64 Oct 24 11:39 7 -> socket:[17070]

so the error.log was probably deleted/truncated, or it's an effect of NFS issues we had a few weeks ago. Restarting the server should solve that issue.

I restarted the webservice and it seems to work now?!

dschwen claimed this task.

Thanks, yes, it works now.