[OAI-implementers] Problem connecting to remote sites

Tim Brody tim@tim.brody.btinternet.co.uk
Tue, 15 Jan 2002 12:14:25 -0000


AFAIK there aren't any restrictions on the cogprints site (i.e. no .htaccess
limitations), and, for my own server, there definitly aren't any
restrictions in citebase (http://citebase.eprints.org/cgi-bin/oai).

It may be that you are sitting behind a firewall, which is crossed using a
HTTP proxy. Try manually connecting to an external HTTP server using telnet
(# telnet servername 80). Also look in your Web browser's connection
settings. If you are firewalled you will need to implement proxy support
(basically connect to your proxy and send the same request, and things
should work).

N.B. CogPrints doesn't (currently) use resumptionToken flow control and
isn't very strict to the OAI protocol, so isn't necessarily a good test bed.

All the best,
Tim Brody

----- Original Message -----
From: "Letts, David" <David.Letts@bl.uk>
To: <oai-implementers@oaisrv.nsdl.cornell.edu>
Sent: Tuesday, January 15, 2002 11:36 AM
Subject: [OAI-implementers] Problem connecting to remote sites


> I am writing a Java program to harvest data from remote sites. I am using
> the COGPrints site (http://cogprints.soton.ac.uk/perl.oai) as a test. I
have
> also tried many other sites (as listed in the Repository Explorer). When
the
> Java program tries to connect to the site it throws a
> java.net.ConnectException with the message Conection refused.
> I am displaying the URL that the program is using and when I paste this
into
> the browser then the records are returned correctly. If I use the program
to
> harvest data from our own repository (only available over a LAN at the
> moment) then there isn't a problem.
> I'm wondering if the problem is an .htaccess file is refusing the Java
> program entry to the site?
>
> Any ideas would be extremely welcome,
>
> Thanks in advance,
>
> David Letts
>
>
> *********************************************************************
> The information contained in this e-mail is confidential and may be
> legally privileged. It is intended for the addressee(s) only. If you
> are not the intended recipient, please delete this e-mail and notify
> the postmaster@bl.uk : The contents of this e-mail must not be
> disclosed or copied without the sender's consent.
>
> The statements and opinions expressed in this message are those of
> the author and do not necessarily reflect those of the British
> Library. The British Library does not take any responsibility for
> the views of the author.
> *********************************************************************
> _______________________________________________
> OAI-implementers mailing list
> OAI-implementers@oaisrv.nsdl.cornell.edu
> http://oaisrv.nsdl.cornell.edu/mailman/listinfo/oai-implementers