Bug 20541 - extern Z39.50 search bring no matches
Summary: extern Z39.50 search bring no matches
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Z39.50 / SRU / OpenSearch Servers (show other bugs)
Version: 17.11
Hardware: PC Linux
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-08 09:25 UTC by Sebastian Krieg
Modified: 2018-12-03 20:03 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Konsole listing using yaz-client to search with Z39.50 (1.96 KB, text/plain)
2018-04-08 09:25 UTC, Sebastian Krieg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Krieg 2018-04-08 09:25:26 UTC
Created attachment 73835 [details]
Konsole listing using yaz-client to search with Z39.50

Importing an MARC entry by Z39.50/SRU brings "no matches". 
There are no entries in:
/var/log/messages 
/var/log/koha/koha-intranet-error.log (defined in koha.conf)
/var/log/koha/koha-opac-access.log (defined in koha.conf)
/var/log/koha/koha-opac-error.log (defined in koha.conf)
/var/log/koha/zebrasrv.log

In /var/log/koha/koha-intranet-access.log (defined in koha.conf):
- opens the Z39.50/SRU search/import window
"GET /cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=0&frameworkcode= HTTP/1.1" 200 4310
"POST /cgi-bin/koha/cataloguing/z3950_search.pl HTTP/1.1" 200 3806
- whenn "no matches" shown in the search/import window
"GET /cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=0&frameworkcode= HTTP/1.1" 200 4310
"POST /cgi-bin/koha/cataloguing/z3950_search.pl HTTP/1.1" 200 3806
This should be only an entry for the window...

Using /usr/bin/yaz-client described at https://verbundwiki.gbv.de/display/VZG/Z39.50 brings a result. The listing is shown in the attachment file.

I don't know what's the resaon for this issue.
Comment 1 Katrin Fischer 2018-04-08 18:43:52 UTC
Hi Sebastian,
Z39.50 in general works for me, so I think the problem is with the GBV target. I can't test it: Die Authentifizierung erfolgt automatisch per IP-Adresse oder mittels Zugangsdaten, die Sie von der Verbundzentrale erhalten.

Maybe your server's IP is not allowed access?
Did you double check your configuration in Koha? An additional space at the end can break things already. 

I don't think this is a bug in Koha - better to ask on the mailing list.
Comment 2 Sebastian Krieg 2018-04-09 05:36:13 UTC
If you look in the attachment you will see that I have access when I use the yaz-client: "...Connection accepted by v3 target...." I think, this shows a valid connection.
Comment 3 Katrin Fischer 2018-04-09 06:04:44 UTC
If it was from the same server, that rules out the IP problem. Can you double check your config and post what you used? (preferrably on the mailing list :) )
Comment 4 Sebastian Krieg 2018-04-22 09:59:47 UTC
Hello, do you mean the /etc/koha/koha-conf.xml? Or the configured Z39.50 server connections?
Comment 5 Katrin Fischer 2018-04-22 10:02:46 UTC
The settings for the Z39.50 server. When you write that up, check for additional spaces etc. It often can break things there and it's hard to notice.