Skip to content
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

ISBN fetching fails #9979

Closed
2 tasks done
Uwe100github opened this issue Jun 6, 2023 · 10 comments · Fixed by #10211
Closed
2 tasks done

ISBN fetching fails #9979

Uwe100github opened this issue Jun 6, 2023 · 10 comments · Fixed by #10211
Labels
bug Confirmed bugs or reports that are very likely to be bugs fetcher
Milestone

Comments

@Uwe100github
Copy link

Uwe100github commented Jun 6, 2023

JabRef version

5.9 (latest release)

Operating system

Windows

Details on version and operating system

Windowa 10 21H1

Checked with the latest development build

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

Hallo, seit ein paar Wochen funktioniert das Erstellen eines Eintrags über die ISBN nicht mehr. Ich nutze JabRef 5.9–2023-01-08–76253f1a7 unter Windows 10. Beim Versuch, den Datensatz zu erzeugen, hängt sich das Programm auf. Der Prozess wird leider nicht im Ereignisprotokoll eingetragen.

Following ISBN will fail:

9783746633756

Appendix

org.jabref.logic.importer.FetcherException: An internal parser error occurred
at [email protected]/org.jabref.logic.importer.IdBasedParserFetcher.performSearchById(Unknown Source)
at [email protected]/org.jabref.logic.importer.fetcher.isbntobibtex.IsbnFetcher.performSearchById(Unknown Source)
at [email protected]/org.jabref.logic.importer.fetcher.isbntobibtex.IsbnFetcher.performSearch(Unknown Source)
at [email protected]/org.jabref.gui.mergeentries.FetchAndMergeEntry.lambda$fetchAndMerge$3(Unknown Source)
at [email protected]/org.jabref.gui.util.BackgroundTask$1.call(Unknown Source)
at [email protected]/org.jabref.gui.util.DefaultTaskExecutor$1.call(Unknown Source)
at [email protected]/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: org.jabref.logic.importer.ParseException: javax.net.ssl.SSLException: Tag mismatch
at [email protected]/org.jabref.logic.importer.fileformat.BibtexParser.parseEntries(Unknown Source)
... 13 more
Caused by: javax.net.ssl.SSLException: Tag mismatch
at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source)
at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(Unknown Source)
at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source)
at java.base/java.io.BufferedInputStream.read1(Unknown Source)
at java.base/java.io.BufferedInputStream.implRead(Unknown Source)
at java.base/java.io.BufferedInputStream.read(Unknown Source)
at java.base/sun.net.www.http.ChunkedInputStream.fastRead(Unknown Source)
at java.base/sun.net.www.http.ChunkedInputStream.read(Unknown Source)
at java.base/java.io.FilterInputStream.read(Unknown Source)
at java.base/sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(Unknown Source)
at java.base/java.io.BufferedInputStream.read1(Unknown Source)
at java.base/java.io.BufferedInputStream.implRead(Unknown Source)
at java.base/java.io.BufferedInputStream.read(Unknown Source)
at java.base/java.io.FilterInputStream.read(Unknown Source)
at [email protected]/org.jabref.logic.net.ProgressInputStream.read(Unknown Source)
at java.base/java.io.BufferedInputStream.read1(Unknown Source)
at java.base/java.io.BufferedInputStream.implRead(Unknown Source)
at java.base/java.io.BufferedInputStream.read(Unknown Source)
at java.base/sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at java.base/sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at java.base/sun.nio.cs.StreamDecoder.lockedRead(Unknown Source)
at java.base/sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.base/java.io.InputStreamReader.read(Unknown Source)
at java.base/java.io.BufferedReader.fill(Unknown Source)
at java.base/java.io.BufferedReader.implRead(Unknown Source)
at java.base/java.io.BufferedReader.read(Unknown Source)
at java.base/java.io.FilterReader.read(Unknown Source)
at java.base/java.io.PushbackReader.read(Unknown Source)
at [email protected]/org.jabref.logic.importer.fileformat.BibtexParser.read(Unknown Source)
at [email protected]/org.jabref.logic.importer.fileformat.BibtexParser.skipWhitespace(Unknown Source)
at [email protected]/org.jabref.logic.importer.fileformat.BibtexParser.parseDatabaseID(Unknown Source)
at [email protected]/org.jabref.logic.importer.fileformat.BibtexParser.parse(Unknown Source)
... 14 more
Caused by: javax.crypto.AEADBadTagException: Tag mismatch
at java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(Unknown Source)
at java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(Unknown Source)
at java.base/javax.crypto.Cipher.doFinal(Unknown Source)
at java.base/sun.security.ssl.SSLCipher$T13GcmReadCipherGenerator$GcmReadCipher.decrypt(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.decodeInputRecord(Unknown Source)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)
... 47 more

Log File
Paste an excerpt of your log file here
![image](https://github.com/JabRef/jabref/assets/135751199/68027143-869d-4257-aef8-98417ce06444)


</details>
@ThiloteE
Copy link
Member

ThiloteE commented Jun 6, 2023

Hallo Uwe, hast du es schon mit der neuesten Entwicklungsversion von JabRef versucht?
Danke für die Fehlermeldung, die ist bestimmt hilfreich bei der Fehlersuche.

Wäre es dir möglich eine ISBN die zu der Fehlermeldung führt zu nennen?

@ThiloteE ThiloteE added bug Confirmed bugs or reports that are very likely to be bugs fetcher labels Jun 6, 2023
@github-project-automation github-project-automation bot moved this to Normal priority in Prioritization Jun 6, 2023
@Uwe100github
Copy link
Author

Bei der Version 5.10 habe ich das gleiche Problem

@github-project-automation github-project-automation bot moved this from Normal priority to Done in Prioritization Jun 6, 2023
@Uwe100github
Copy link
Author

sorry nicht completed, bin neu hier ...

@Uwe100github Uwe100github reopened this Jun 6, 2023
@Uwe100github
Copy link
Author

Der Fehler betrifft jedwede ISBN, ich habe auch die probiert, die früher funktionierten z.B. 9783746633756

@ThiloteE ThiloteE moved this from Done to Normal priority in Prioritization Jun 7, 2023
@Siedlerchr
Copy link
Member

@Uwe100github Danke für das Errorlog. Benutzt du oder bist du vielleicht hinter einem Proxy-Server? Das sieht nach irgendeiner Netzwerk Geschichte aus

@Uwe100github
Copy link
Author

Hallo Christoph,
Danke, aber es gibt keinen Proxy, die üblichen DNS Server und die DSL-Verbindung übernimmt die Fritzbox.

@koppor
Copy link
Member

koppor commented Jun 8, 2023

https://www.ebook.de/de/ hat den ISBN-Endpunkt https://www.ebook.de/de/tools/isbn2bibtex abgeschaltet. Früher kamen darüber die Daten inkl. einer URL, wo man das Buch über ebook.de kaufen konnte.

@hugendubeldigital / @jpapenhagen wisst ihr evtl. mehr? Könnt ihr helfen? Gerne auch private Mail an mich (Sichtbar über GitHub profil)

Siedlerchr added a commit that referenced this issue Jun 8, 2023
* Fix freezing when fetching IBSN and no results are found

Fixes part of #9979

* Modernize IsbnFetcher

* Add missing dots

---------

Co-authored-by: Oliver Kopp <[email protected]>
@jhenkehd
Copy link

jhenkehd commented Jun 8, 2023

Hallo,

ich bin Team-Leiter für die Shop-Enwticklung bei Hugendubel Digital. Wir haben vor kurzem unseren Shop auf eine komplett neue technische Basis gestellt. Dabei sind eine größere Anzahl alter Schnittstellen entfallen, einschließlich dieser. Die Schnittstelle wurde vor langer Zeit als Privatprojekt eines Entwickler umgesetzt und daher heute nicht länger weiterentwickelt bzw. neuimplementiert.

Mit freundlichen Grüßen
Jan Henke

@Siedlerchr
Copy link
Member

Siedlerchr commented Jun 8, 2023

@jhenkehd Vielen Dank für die schnelle Antwort. Für uns und unsere Nutzer ist es natürlich schade...
Gibt es vielleicht bereits eine alternative API die wir nutzen könnten und dürften? z. B. auf JSON Basis
Wir (der gemeinnützige Verein JabRef e.V.) würden uns über eine Kollaboration freuen. Details können wir auch per Mail an vorstand[at]jabref.org klären.

Das Parsing und Konvertieren in BibTeX können wir in JabRef übernehmen.

Mit freundlichen Grüßen
Christoph Schwentker

@koppor
Copy link
Member

koppor commented Aug 14, 2023

Discussion on the technical fix is going on at #10125

This issue is about user-facing discussion. The other one is about developer-facing discussion. This means, no devleoper discussion here.

@github-project-automation github-project-automation bot moved this from High priority to Done in Prioritization Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs fetcher
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants