-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EBSCO KB: ‘No results found’ #567
Comments
I'm having the exact same issue. My initial diagnosis led me to "Peer's certificate issuer has been marked as not trusted by the user." error returned from the call to curl
I turned off SSL verification using the following two lines: But now I'm stuck at a "/php/urlblock.php?" on Amazon CloudFront. I've tried setting curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); but that hasn't solved the problem either. |
Here is the code I am using in EbscoKbService to track down the errors
|
I can confirm I have the same error on my instance, where EbscoKB used to work. |
@vinny75 @haozeng0 @veggiematts I created a new VM with a fresh install of Coral from the master branch (Centos 7 server, php 5.6.40) and am not having issues. This leads me to believe that this is a server issue and not a code issue. Let me know if you want me to try with a later php version. Or, if you want to do some local troubleshooting yourself, you can use my coral-erm vagrantbox At Sirsi we were having similar trouble getting the SOAP client to work for SUSHI. Here is somewhat of a brain-dump on how we troubleshot the issue. Eliminate EBSCOkb variableCreate a php file somewhere on your server. And test if you can get a curl response or
For file_get_contents, I was getting the following error:
Update OpenSSLWe tried this before doing anything else. It didn't fix the issue, but I'm letting you know because I cannot say if the below will work without updating OpenSSL. On our the Sirsi servers (where ebscoKB is working), we have OpenSSL 1.1.0h installed. Set default_socket_timeoutAfter more testing, we found that the Set openssl.capathI found this article about CA file issues. Which lead me to discover that in our From: Note that the path we used is the standard location (based on what the article says). But your server might be different. Also, where your |
I think you're right - I'm getting the same peer certificate error now when trying yum. I'll have to see if my IT shop has made any changes to my VM without telling me |
@veggiematts, I tried disabled SSL, still the same error. |
Troubleshooting with Bill Mckinney from EBSCO this morning. Add |
I double checked with EBSCO that the API key they provided is valid. But I still get this error:
[Thu Mar 21 16:25:19.486256 2019] [:error] [pid 5268:tid 1076] [client 24.0.158.46:53909] PHP Warning: array_map(): Argument #2 should be an array in C:\Apache24\htdocs\coral\resources\admin\classes\domain\EbscoKbService.php on line 307, referer: https://archives.yu.edu/coral/resources/ebsco_kb.php
The text was updated successfully, but these errors were encountered: