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

Tectonic throws DNS error when trying to fetch web-bundle #949

Closed
klingtnet opened this issue Oct 8, 2022 · 6 comments
Closed

Tectonic throws DNS error when trying to fetch web-bundle #949

klingtnet opened this issue Oct 8, 2022 · 6 comments

Comments

@klingtnet
Copy link

klingtnet commented Oct 8, 2022

Tectonic throws a DNS error when trying to compile a document because it cannot resolve relay.fullyjustified.net.
I'm a bit surprised that tectonic requires some external service to be online.
Anways, you can find a minimal example to reproduce the problem below:

$ cat README.md
# A Readme

Some test.
$ pandoc --version
pandoc 2.19.2
Compiled with pandoc-types 1.22.2.1, texmath 0.12.5.2, skylighting 0.13,
citeproc 0.8.0.1, ipynb 0.2, hslua 2.2.1
Scripting engine: Lua 5.4
User data directory: /root/.local/share/pandoc
Copyright (C) 2006-2022 John MacFarlane. Web:  https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
$ tectonic --version
Tectonic 0.11.0
$ pandoc --pdf-engine tectonic README.md -o README.pdf
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: Name does not resolve
caused by: error trying to connect: dns error: failed to lookup address information: Name does not resolve
caused by: dns error: failed to lookup address information: Name does not resolve
caused by: failed to lookup address information: Name does not resolve
Error producing PDF.
note: reading from standard input; outputs will appear under the base name "texput"
note: connecting to https://relay.fullyjustified.net/default_bundle_v33.tar

I was able to reproduce the problem locally as well as in Docker. My Dockerfile looks like this:

FROM ubuntu:jammy
ADD https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-1-arm64.deb /pandoc.deb
RUN dpkg -i /pandoc.deb
ADD https://github.com/tectonic-typesetting/tectonic/releases/download/tectonic%400.11.0/tectonic-0.11.0-arm-unknown-linux-musleabihf.tar.gz /tectonic.tar.gz
RUN tar -zvxf /tectonic.tar.gz tectonic\
        && mv tectonic /usr/bin/tectonic\
        && rm tectonic.tar.gz
@klingtnet
Copy link
Author

I found a workaround by specifying an alternative web-bundle URL like:

$ pandoc --pdf-engine tectonic --pdf-engine-opt='-w https://archive.org/services/purl/net/pkgwpub/tectonic-default' README.md -o README.pdf

The URL was copied from this thread: #685 (comment)

@klingtnet klingtnet changed the title Tectonic throws DNS error Tectonic throws DNS error when trying to fetch web-bundle Oct 8, 2022
@pkgw
Copy link
Collaborator

pkgw commented Oct 8, 2022

See #951 . The domain was expired for about 2 hours. It should be fixed now, maybe taking a few hours for DNS to propagate through the system.

@klingtnet
Copy link
Author

Can confirm that it works again and thanks for the quick reply!

@heyarne
Copy link

heyarne commented Aug 7, 2023

I am currently facing the same error. Is this a temporary issue?

@pkgw
Copy link
Collaborator

pkgw commented Aug 8, 2023

@heyarne Generally, if you are experiencing a network-related issue like this, it is much more likely that it is on your side than the Tectonic side. At the moment everything in the Tectonic web services appears to be stable and running normally.

@heyarne
Copy link

heyarne commented Aug 8, 2023

Can confirm that it works now. Sorry for the noise!

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