hypothesis / hypothesis/via

Unexpected server response (301) while retrieving PDF from arxiv

Open
#1,484 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29
Forks
13
PR merge metrics
No merged PRs in 30d

Description

I got the following message when I tried to annotate PDFs from arxiv in obsidian (with the Annotator plugin). I use "..." for brevity.
Unexpected server response (301) while retrieving PDF "https://via.hypothes.is/proxy/static/.../https://arxiv.org/pdf/...pdf".

The related markdown is
`annotation-target:: https://arxiv.org/pdf/...pdf`

Same syntax works well for other PDF links. Any idea what the problem is and how to fix it? Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the request using the `annotation-target` URL shown in the issue and compare the arXiv PDF response with a PDF link that works. Trace how the proxy handles the arXiv response and its 301 status. Done means arXiv PDF retrieval succeeds for the documented annotation syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.