EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #05638
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] how to tell eprints to use a proxy server
- To: Eprints Tech Mailing List <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] how to tell eprints to use a proxy server
- From: Denis Pitzalis <denis.pitzalis@gmail.com>
- Date: Thu, 28 Apr 2016 11:01:23 +0200
Hi Denis,
i have created the file, reloaded eprints and restarted the apache, but i get the same error message. Here is the full error message:
Unhandled exception in Import::PubMedID: Could not create file parser context f↲
or file "http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&ret↲
mode=xml&rettype=full&id=26993800": No such file or directory at /usr/lib64/per↲
l5/XML/LibXML.pm line 929 XML::LibXML::parse_file('XML::LibXML=HASH(0x7f4130b08↲
500)', 'http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=p...') call↲
ed at /usr/share/eprints/perl_lib/EPrints/XML/LibXML.pm line 93 EPrints::XML::_↲
parse_url('URI::http=SCALAR(0x7f41316851d0)') called at /usr/share/eprints/perl↲
_lib/EPrints/XML.pm line 155 EPrints::XML::parse_url() called at /usr/share/epr↲
ints/perl_lib/EPrints/Plugin/Import/PubMedID.pm line 58 EPrints::Plugin::Import↲
::PubMedID::input_fh('EPrints::Plugin::Import::PubMedID=HASH(0x7f41316d5658)', ↲
'dataset', 'EPrints::DataSet=HASH(0x7f412ca76198)', 'fh', 'File::Temp=GLOB(0x7f↲
412e2111a8)', 'user', 'EPrints::DataObj::User=HASH(0x7f4131687630)', 'filename'↲
, undef, ...) called at /usr/share/eprints/perl_lib/EPrints/Plugin/Screen/Im ...
Do you have any other idea?
Best,
Holger
--
Holger Berth
IT Web/Database
Max-Delbrück-Center for Molecular Medicine in the Helmholtz Association
House 23, Room 228
Robert-Roessle-Str. 10
D-13125 Berlin
phone:+49-(0)30-9406 2828
fax: +49-(0)30-9406 49919
it-hotline: +49-(0)30-9406 4440
mail: holger.berth@mdc-berlin.de
web: www.mdc-berlin.de
Von: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] Im Auftrag von Denis Pitzalis
Gesendet: Donnerstag, 28. April 2016 09:29
An: Eprints Tech Mailing List <eprints-tech@ecs.soton.ac.uk>
Betreff: Re: [EP-tech] how to tell eprints to use a proxy server
Hi Holger,
I have created in cfg/cfg.d a file called proxy.pl with the line:
$c->{proxy} = 'http://proxy.yourproxy.org:yourport';and everything works fine.
Denis
On Thu, Apr 28, 2016 at 9:24 AM, holger.berth@mdc-berlin.de <holger.berth@mdc-berlin.de> wrote:
Hi @ all,
my new eprints server is behind a firewall in a DMZ. If i will import Items from Pubmed ID i get an error message.
-- error : unreachable network --
I think eprints dont know how to communicate outside and i have to set a proxy.
So how can i tell eprints to use a proxy server?
OS: Cent OS 6.7
Eprints Version 3.3.15
King regards,
Holger
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
--
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
--
- References:
- [EP-tech] how to tell eprints to use a proxy server
- From: "holger.berth@mdc-berlin.de" <holger.berth@mdc-berlin.de>
- Re: [EP-tech] how to tell eprints to use a proxy server
- From: Denis Pitzalis <denis.pitzalis@gmail.com>
- Re: [EP-tech] how to tell eprints to use a proxy server
- From: "holger.berth@mdc-berlin.de" <holger.berth@mdc-berlin.de>
- [EP-tech] how to tell eprints to use a proxy server
- Prev by Date: Re: [EP-tech] how to tell eprints to use a proxy server
- Next by Date: Re: [EP-tech] Problems with view generation: EPrints System Error
- Previous by thread: Re: [EP-tech] how to tell eprints to use a proxy server
- Next by thread: Re: [EP-tech] how to tell eprints to use a proxy server
- Index(es):