【发布时间】:2017-12-13 12:34:36
【问题描述】:
我正在尝试通过 OAI 服务从外部存储库中收集一个集合,但是当我尝试通过终端 ping url 或测试模块 xmlui 中的配置时:
By xmlui, testing the configurations of collection return this:
* OAI server could not be reached.
By terminal:
C:\dspace5\bin>dspace harvest -g -a https://repositorioaberto.uab.pt/oai/request -i all
Using DSpace installation in: C:\dspace5
Testing basic PMH access: 8967 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - requestURL=https://repositorioaberto.uab.pt/oai/request?verb=Identify
23544 [net.sf.ehcache.CacheManager@6d167f58] DEBUG net.sf.ehcache.util.UpdateChecker - Update check failed: java.net.ConnectException: Connection timed out: connect
invalidAddress: OAI server could not be reached.
Testing ORE support: 31598 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - requestURL=https://repositorioaberto.uab.pt/oai/request?verb=Identify
invalidAddress: OAI server could not be reached.
52641 [main] DEBUG net.sf.ehcache.CacheManager - CacheManager already shutdown
By terminal returning status: 200 OK!:
Other test with other url oai service:
Using DSpace installation in: C:\dspace5
Testing basic PMH access: 38726 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - requestURL=https://demo.dspace.org/oai/request?verb=Identify
40198 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - responseCode=200
40205 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - contentEncoding=null
41265 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - requestURL=https://demo.dspace.org/oai/request?verb=ListMetadataFormats
41278 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - responseCode=200
41284 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - contentEncoding=null
41292 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - requestURL=https://demo.dspace.org/oai/request?verb=ListMetadataFormats
41350 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - responseCode=200
41398 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - contentEncoding=null
OK
Testing ORE support: 41541 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - requestURL=https://demo.dspace.org/oai/request?verb=Identify
41555 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - responseCode=200
41555 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - contentEncoding=null
41557 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - requestURL=https://demo.dspace.org/oai/request?verb=ListMetadataFormats
41566 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - responseCode=200
41570 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - contentEncoding=null
41573 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - requestURL=https://demo.dspace.org/oai/request?verb=ListMetadataFormats
41591 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - responseCode=200
41591 [main] DEBUG ORG.oclc.oai.harvester2.verb.HarvesterVerb - contentEncoding=null
OK
41604 [main] DEBUG net.sf.ehcache.CacheManager - CacheManager already shutdown
这与我的 dspace 应用程序的代理或收集的应用程序 oai 服务有关吗?
我的代理配置设置正确:
http.proxy.host=http://myproxy.org
http.proxy.port = 8080
我也在其他没有代理的环境中进行了测试,包括在 demo.dspace.org/xmlui 中。它返回相同的错误:
- 无法访问 OAI 服务器。
老实说,我无法看到问题或如何解决此问题
【问题讨论】:
标签: dspace