Error while fetching from Medline

Hi,

I have Jabref version 3.8.2 and I am having issues fetching from Medline (Springer, Google Scholar work fine).

This is the output from the console. Any ideas of what might be going wrong?

12:17:51.500 [JabRef CachedThreadPool] INFO net.sf.jabref.logic.importer.fetcher.MedlineFetcher - 61 results found. Only 50 relevant results will be fetched by default.
12:18:21.616 [JabRef CachedThreadPool] ERROR net.sf.jabref.gui.importer.fetcher.SearchBasedEntryFetcher - Error while fetching from Medline
net.sf.jabref.logic.importer.FetcherException: Error while fetching from Medline
at net.sf.jabref.logic.importer.fetcher.MedlineFetcher.fetchMedline(MedlineFetcher.java:217) ~[JabRef-3.8.2.jar:?]
at net.sf.jabref.logic.importer.fetcher.MedlineFetcher.performSearch(MedlineFetcher.java:176) ~[JabRef-3.8.2.jar:?]
at net.sf.jabref.gui.importer.fetcher.SearchBasedEntryFetcher.processQuery(SearchBasedEntryFetcher.java:37) ~[JabRef-3.8.2.jar:?]
at net.sf.jabref.gui.importer.fetcher.GeneralFetcher.lambda$actionPerformed$5(GeneralFetcher.java:217) ~[JabRef-3.8.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.io.IOException: Server returned HTTP response code: 502 for URL: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&retmode=xml&id=28560158%2C26826512%2C27115027%2C28002426%2C27477113%2C26505297%2C26724777%2C28491462%2C27147956%2C25570065%2C26509116%2C28556431%2C27078862%2C22484410%2C25498427%2C26777076%2C27214558%2C25652391%2C27903438%2C26515546%2C28087489%2C26115451%2C27314214%2C28348958%2C27133221%2C24680870%2C28470878%2C28090658%2C24315018%2C28578156%2C26538488%2C27787666%2C25840837%2C25681570%2C27086167%2C25853085%2C26096639%2C28153637%2C25632148%2C28359565%2C28191681%2C28073491%2C27071950%2C25320805%2C26236626%2C24936416%2C28532604%2C27043358%2C28457975%2C26673945
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1876) ~[?:1.8.0_121]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474) ~[?:1.8.0_121]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) ~[?:1.8.0_121]
at net.sf.jabref.logic.importer.fetcher.MedlineFetcher.fetchMedline(MedlineFetcher.java:205) ~[JabRef-3.8.2.jar:?]
… 6 more

Thank you,

Maria.

Just to add more info, my search term was “NODDI”, and the search works fine if I search directly in https://www.ncbi.nlm.nih.gov/pubmed/?term=NODDI

I think we fixed this issue recently. Can you please try out the latest development version (please make make a backup of your database before)

It is indeed working fine on this latest development version, thank you very much!

1 Like

Hi there,
I just updated the latest version (http://builds.jabref.org/master/) and have still no access to pubmed and google scholar.

“Error while fetching from Google Scholar. Please try again later/and or check your network connection. Cookie configuration for google scholar failed”.

Any ideas?

Thank you

@Lisawein This is strange. It works for me and also our automatic tests run without failure. Is it just pubmed and google scholar that are not working for you? Do you get further logs in the error console?

@Lisa: Despite an updated JabRef, Google Scholar might still be blocking JabRef if it got blocked before. Usually, all you have to do is a manual search in Google Scholar in the browser, answer a captcha, and then JabRef should be able to import again. At least this worked for other people before.