[greenstone-users] java.io.IOException: Server returned HTTP response code: 403

From S M Niaz Arifin
DateThu Aug 11 17:56:38 2011
Subject [greenstone-users] java.io.IOException: Server returned HTTP response code: 403
Hi,
I just installed Greenstone Version 2.84 on my Mac (which I intend to use as
the Greenstone server). It runs OK and I can build/view collections using
safari.

However, when I tried to connect to the server from another Mac (by running
the script ./gli/client-gli.sh), I am getting refused:
Server returned HTTP response code: 403 for URL: ...

The GLI Server address I used is:
http://myServerName:8283/greenstone/cgi-bin/gliserver.pl

I checked the following:

- myServer is using port 8283, e.g. in Safari.
- to test if the client works locally, I ran it from within myServer, and
it worked.
- I also turned off proxi settings for Safari.


Any suggestions to work this out?

Details of the error:

:> ./gli/client-gli.sh

Greenstone Librarian Interface (Client-GLI)
Copyright (C) 2008, New Zealand Digital Library Project, University Of
Waikato
Client-GLI comes with ABSOLUTELY NO WARRANTY; for details see LICENSE.txt
This is free software, and you are welcome to redistribute it

Greenstone version found: 2
Checking GSDL2: /Users/arif/Greenstone
Your environment has successfully been set up to run Greenstone
+Your environment is now setup for the GNOME support library extension
+Adding in executable path for apache-httpd

GSDLHOME is: /Users/arif/Greenstone

Perl:
/usr/bin/perl

Java:
/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/bin/java


Running the Client-GLI Librarian Interface...
Perl and GSDLHOME (/Users/arif/Greenstone) detected.
Downloading is enabled.

Version: 2.84

Java vendor: Apple Inc.
Note that the Librarian Interface has been developed and tested with Java
from Sun Microsystems.
gliserver args: cmd=greenstone-server-version
java.io.IOException: Server returned HTTP response code: 403 for URL:
http://myServerName:8283/greenstone/cgi-bin/gliserver.pl?cmd=greenstone-server-version&ts=1313040621922
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1436)
at
org.greenstone.gatherer.remote.RemoteGreenstoneServer.sendCommandToServerInternal(RemoteGreenstoneServer.java:669)
at
org.greenstone.gatherer.remote.RemoteGreenstoneServer.sendCommandToServer(RemoteGreenstoneServer.java:504)
at
org.greenstone.gatherer.remote.RemoteGreenstoneServerAction$VersionAction.perform(RemoteGreenstoneServerAction.java:272)
at org.greenstone.gatherer.remote.ActionQueue.run(ActionQueue.java:136)
Remote Greenstone server version: -1
Exiting, number of jobs on queue: 0
Done!

Any help would be appreciated.

--
Thanks,
S. M. Niaz Arifin
Graduate Student
206 Cushing, Department of Computer Science and Engineering
University of Notre Dame, IN 46556, USA
Research: https://sites.google.com/a/nd.edu/publications
Website: http://smniazarifin.tripod.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://list.scms.waikato.ac.nz/mailman/private/greenstone-users/attachments/20110811/e2083fdf/attachment.html