OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



The specified OAI URL is not valid

Open Harvester Systems support questions and answers, bug reports, and development issues.

Moderators: jmacgreg, michael, John

Forum rules
Developer Resources:

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome.

The specified OAI URL is not valid

Postby mjordan » Tue Apr 28, 2009 2:02 pm

Hi, long time lurker, first time poster (actually, this is not the first time I've posted) --

I'm trying to add the archive with base URL http://idl-bnc.idrc.ca/dspace-oai/request to a Harvester (version 2.0.1.0). On form submit, I get:

"The specified OAI URL is not valid. Please check the URL and try again."

When I click on "Fetch archive metadata" the form refreshes but produces no error, and AFAIKT does not actually get the archive info, since the contact email is not inserted.

I've used the very fine Google Custom Search on the forms to look for the 'is not valid' message, and relevant threads told me to verify that allow_url_fopen = On both locally and globally, which it is.

Actually, I successfully added a DSpace 1.5 archive yesterday (base URL http://ecommons.usask.ca/dspace-oai/request). It is using http, not https, FWIW.

Running PHP 5.1.6, not sure if SSL is enabled but phpinfo tells me that I have "libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5".
mjordan
 
Posts: 21
Joined: Wed Mar 17, 2004 10:59 pm
Location: Vancouver, BC, Canada

Re: The specified OAI URL is not valid

Postby asmecher » Tue Apr 28, 2009 3:21 pm

Hi mjordan,

Welcome to the community! It looks like that repository is redirecting to SSL, which seems to be causing the problem. Have you tried changing "allow_url_fopen" to Off? It may be due to your wrapper configuration (which might be disallowing https:// connections via fopen).

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8305
Joined: Wed Aug 10, 2005 12:56 pm

Re: The specified OAI URL is not valid

Postby mjordan » Tue Apr 28, 2009 3:35 pm

Hi Alec, allow_url_fopen = Off or On in config.inc.php, same error.
mjordan
 
Posts: 21
Joined: Wed Mar 17, 2004 10:59 pm
Location: Vancouver, BC, Canada

Re: The specified OAI URL is not valid

Postby asmecher » Tue Apr 28, 2009 5:26 pm

Hi mjordan,

That repository appears to be giving me 403 Forbidden errors when I query it via the harvester (though it seems to like Firefox just fine). Do you have any access to the logs to determine why this might be?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8305
Joined: Wed Aug 10, 2005 12:56 pm


Return to Open Harvester Systems Support and Development

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest