Skip to content

403 for "lookup fulltext" #11357

Open
Open
@jiucenglou

Description

@jiucenglou

JabRef version

5.13 (latest release)

Operating system

Windows

Details on version and operating system

No response

Checked with the latest development build (copy version output from About dialog)

  • 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

  1. open https://pubs.acs.org/doi/10.1021/ja010365z in browser
  2. click jabref browser extension to import
  3. the error occurs
    Error message: org.jabref.logic.importer.FetcherClientException: Encountered HTTP Status code 403 
    URL: https://pubs.acs.org/doi/pdf/10.1021/ja010365z 
    Please check the URL and try again.
    
  4. pdf can be viewed or downloaded in browser

Appendix

...

Log File
2024-06-07 11:45:50 [JabRef - Remote Listener Server on port 6050] org.jabref.gui.remote.CLIMessageHandler.handleCommandLineArguments()
INFO: Processing message [-importToOpen, C:\Users\HiWin10\AppData\Local\Temp\tmp244C.tmp]
2024-06-07 11:45:55 [JavaFX Application Thread] org.jabref.gui.fieldeditors.LinkedFileViewModel.download()
INFO: Downloading file from 
2024-06-07 11:45:55 [JavaFX Application Thread] org.jabref.gui.linkedfile.DownloadLinkedFileAction.execute()
INFO: Downloading file from https://pubs.acs.org/doi/pdf/10.1021/ja010365z
2024-06-07 11:45:55 [JavaFX Application Thread] org.jabref.gui.linkedfile.DownloadLinkedFileAction.onFailure()
ERROR: Error downloading from URL: URLDownload{source=https://pubs.acs.org/doi/pdf/10.1021/ja010365z}: java.io.IOException: org.jabref.logic.importer.FetcherClientException: Encountered HTTP Status code 403
	at org.jabref@5.13.60000/org.jabref.logic.net.URLDownload.openConnection(Unknown Source)
	at org.jabref@5.13.60000/org.jabref.logic.net.URLDownload.asInputStream(Unknown Source)
	at org.jabref@5.13.60000/org.jabref.gui.linkedfile.DownloadLinkedFileAction$FileDownloadTask.call(Unknown Source)
	at org.jabref@5.13.60000/org.jabref.gui.linkedfile.DownloadLinkedFileAction$FileDownloadTask.call(Unknown Source)
	at org.jabref@5.13.60000/org.jabref.gui.util.BackgroundTask$3.call(Unknown Source)
	at org.jabref@5.13.60000/org.jabref.gui.util.DefaultTaskExecutor$1.call(Unknown Source)
	at org.jabref.merged.module@5.13.60000/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.FetcherClientException: Encountered HTTP Status code 403
	... 13 more

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions