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

Document expected accession of fullyjustified.net #1188

Open
colindean opened this issue May 1, 2024 · 3 comments
Open

Document expected accession of fullyjustified.net #1188

colindean opened this issue May 1, 2024 · 3 comments

Comments

@colindean
Copy link

I've been using tectonic for few years and just now encountered an unexpected error:

[…]
warning: texput.tex:1108: Missing character: There is no ���� (U+1F6A7) in font [lmroman10-regular]:mapping=tex-text;!
warning: could not represent character "🚧" (0x1f6a7) in font "[lmroman10-regular]:mapping=tex-text;"
warning: failure requesting "SHA256SUM" from network
caused by: unexpected HTTP response code 403 Forbidden for URL https://data1.fullyjustified.net/tlextras-2022.0r0.tar
warning: failure requesting "SHA256SUM" from network
caused by: unexpected HTTP response code 403 Forbidden for URL https://data1.fullyjustified.net/tlextras-2022.0r0.tar
warning: failure requesting "SHA256SUM" from network
caused by: unexpected HTTP response code 403 Forbidden for URL https://data1.fullyjustified.net/tlextras-2022.0r0.tar
warning: failure requesting "SHA256SUM" from network
caused by: unexpected HTTP response code 403 Forbidden for URL https://data1.fullyjustified.net/tlextras-2022.0r0.tar
warning: open of input lmmono8-regular failed
caused by: unexpected HTTP response code 403 Forbidden for URL https://relay.fullyjustified.net/default_bundle_v33.tar
error: texput.tex:1161: Font TU/lmtt/m/n/8=[lmmono8-regular]: at 8.0pt not loadable: Metric (TFM) file or installed font not found
error: halted on potentially-recoverable error as specified
Error producing PDF.
note: reading from standard input; outputs will appear under the base name "texput"
note: Running TeX ...
note: downloading SHA256SUM
note: connecting to https://relay.fullyjustified.net/default_bundle_v33.tar

I couldn't find anything on the tectonic website about fullyjustified.net and that domain bare just redirects to the tectonic website… so clearly it's a project resource!

Looking around, I found that fullyjustified.net appears in the source in a few places - it's where tectonic gets its packages. OK, that makes perfect sense.

When I access those URLs in the error message directly with a browser, I can see that my corporate firewall is blocking the domain. It's been a while since I worked on the document I'm working on today and I'm aware of a more aggressive firewall policy lately, so it's unsurprising that I'd not encountered this until now.

What I'd expect is some kind of something — documentation somewhere — saying that tectonic may connect to this domain. I'm fully aware of tectonic retrieving packages on demand, but I thought they came from CTAN or something else with a more recognizably safe domain.

@apraga
Copy link

apraga commented Jul 24, 2024

I have a different but related issue. Behind a company proxy, the error is quite clear

note: connecting to https://relay.fullyjustified.net/default_bundle_v33.tar
error: error sending request for url (https://relay.fullyjustified.net/default_bundle_v33.tar): error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
caused by: error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
caused by: dns error: failed to lookup address information: Temporary failure in name resolution
caused by: failed to lookup address information: Temporary failure in name resolution

Setting HTTPS_PROXY gives this

note: resolved to https://data1.fullyjustified.net/tlextras-2022.0r0.tar
note: downloading index https://data1.fullyjustified.net/tlextras-2022.0r0.tar.index.gz
note: downloading SHA256SUM
warning: failure requesting "SHA256SUM" from network
caused by: unexpected HTTP response code 200 OK for URL https://data1.fullyjustified.net/tlextras-2022.0r0.tar
warning: failure requesting "SHA256SUM" from network
caused by: unexpected HTTP response code 200 OK for URL https://data1.fullyjustified.net/tlextras-2022.0r0.tar
warning: failure requesting "SHA256SUM" from network
caused by: unexpected HTTP response code 200 OK for URL https://data1.fullyjustified.net/tlextras-2022.0r0.tar
warning: failure requesting "SHA256SUM" from network
caused by: unexpected HTTP response code 200 OK for URL https://data1.fullyjustified.net/tlextras-2022.0r0.tar
error: failed to retrieve "SHA256SUM" from the network; this most probably is not Tectonic's fault -- please check your network connection.

I’m a bit surprised that "200" is unexpected. Maybe update the error message ?
Also, I’m interested in a workaround :)

@Mrmaxmeier
Copy link
Contributor

Mrmaxmeier commented Jul 25, 2024

I’m a bit surprised that "200" is unexpected. Maybe update the error message ?

Tectonic is expecting a 206 Partial Content response here. The bundle system is designed to only fetch the parts that are used on-the-fly and is issuing HTTP range requests. I guess it would be nice for tectonic to handle this gracefully though and cache the entire response, but as a workaround you can download the full bundle manually and pass it to --bundle.

@apraga
Copy link

apraga commented Jul 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants