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

403 for "lookup fulltext" #11357

Open
2 tasks done
jiucenglou opened this issue Jun 7, 2024 · 2 comments · May be fixed by #12389
Open
2 tasks done

403 for "lookup fulltext" #11357

jiucenglou opened this issue Jun 7, 2024 · 2 comments · May be fixed by #12389
Assignees
Labels
📍 Assigned Assigned by assign-issue-action (or manually assigned) component: fetcher

Comments

@jiucenglou
Copy link

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 [email protected]/org.jabref.logic.net.URLDownload.openConnection(Unknown Source)
	at [email protected]/org.jabref.logic.net.URLDownload.asInputStream(Unknown Source)
	at [email protected]/org.jabref.gui.linkedfile.DownloadLinkedFileAction$FileDownloadTask.call(Unknown Source)
	at [email protected]/org.jabref.gui.linkedfile.DownloadLinkedFileAction$FileDownloadTask.call(Unknown Source)
	at [email protected]/org.jabref.gui.util.BackgroundTask$3.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.FetcherClientException: Encountered HTTP Status code 403
	... 13 more
@laky241
Copy link

laky241 commented Jan 12, 2025

/assign-me

@github-actions github-actions bot added the 📍 Assigned Assigned by assign-issue-action (or manually assigned) label Jan 12, 2025
Copy link
Contributor

👋 Hey @laky241, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and don't forget to check out our workspace setup guidelines to get started smoothly.

In case you encounter failing tests during development, please check our developer FAQs!

Having any questions or issues? Feel free to ask here on GitHub. Need help setting up your local workspace? Join the conversation on JabRef's Gitter chat. And don't hesitate to open a (draft) pull request early on to show the direction it is heading towards. This way, you will receive valuable feedback.

Happy coding! 🚀

⏳ Please note, you will be automatically unassigned if the issue isn't closed within 90 days (by 12 April 2025). A maintainer can also add the "📌 Pinned"" label to prevent automatic unassignment.

@laky241 laky241 linked a pull request Jan 14, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📍 Assigned Assigned by assign-issue-action (or manually assigned) component: fetcher
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants