Web search returns with error

I got “Unhandled exception occurred: A network error occurred” error messages always for IEEEXplore searches and most of the time by Google Scholar searches in the last two, or three weeks. Since it is improbable that the services has any trouble for such a long time, I’ve installed the latest development version, but the error did not go away.

The stacktrace did not help me, but hopefully it tell the issue to the developers:

org.jabref.logic.importer.FetcherException: A network error occurred
	at org.jabref/org.jabref.logic.importer.SearchBasedParserFetcher.performSearch(Unknown Source)
	at org.jabref/org.jabref.gui.importer.fetcher.WebSearchPaneViewModel.lambda$search$1(Unknown Source)
	at org.jabref/org.jabref.gui.util.BackgroundTask$1.call(Unknown Source)
	at org.jabref/org.jabref.gui.util.DefaultTaskExecutor$1.call(Unknown Source)
	at org.jabref.merged.module@5.1.591/javafx.concurrent.Task$TaskCallable.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://ieeexploreapi.ieee.org/api/v1/search/articles?apikey=86wnawtvtc986d3wtnqynm8c&querytext=10.1109%2FMW-M.2006.247916
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
	at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
	at org.jabref/org.jabref.logic.net.URLDownload.asInputStream(Unknown Source)
	... 11 more
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: https://ieeexploreapi.ieee.org/api/v1/search/articles?apikey=86wnawtvtc986d3wtnqynm8c&querytext=10.1109%2FMW-M.2006.247916
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
	at org.jabref/org.jabref.logic.net.URLDownload.openConnection(Unknown Source)
	... 12 more

My current jabref version:
JabRef 5.1–2020-06-09–595f085
Linux 4.15.0-101-generic amd64
Java 14.0.1

Thanks for the report. We are working on a solution.
Our API key for IEEE got disabled. We are currently trying to get a new one.
Refs : https://github.com/JabRef/jabref/issues/6369

Google Scholar is a known problem which we can’t do anything about. If you do to many searches google blocks your IP for a while.

Thanks for the reply! I’ve subscribed to that thread to know when the issues is solved.

It’s too bad that still none of the web searches work. I think it is a must have feature in any bibliography management software nowadays (well, it was even 10 years ago…) to provide some automated way to fill out the necessary details from the web. Is there something I miss? Any bugfix, or an alternative way?

Update: The document data is fetched from the DOI in the Library->New Entry (Ctrl+N) window.

It’s too bad that still none of the web searches work.

Our tests show that some fetchers, such as GVK and zbMath, work. CCSB and dblp should also work. Which fetchers did you check? Maybe, you are searching in the text of abstracts, don’t you? Otherwise, I would have guessed that CCSB and dblp provide the same coverage. If not, I would like to know some examples to learn about the quality of these bibliobliographic sources.

Any bugfix, or an alternative way?

The DOI way is the way to go: We documented the steps at https://docs.jabref.org/finding-sorting-and-cleaning-entries/getbibtexdatafromdoi.