monolith icon indicating copy to clipboard operation
monolith copied to clipboard

Stuck at "dns error: The requested name is valid, but no data of the requested type was found. (os error 11004)"

Open hairycactus opened this issue 2 years ago • 3 comments

Monolith is unable to save: http://tmpvar.com/markdown.html

The webpage loads instantly in the browser, & also works fine offline with all its functionality intact.

Observed Behaviour:

The command console repeatedly shows a dns error: The requested name is valid, but no data of the requested type was found. (os error 11004) error.

The saving process never completes, & one has to forcibly terminate the never-ending process by using CTRL-C at the command prompt.

There is no output HTML file at all.

Commands Tried:

monolith.exe -F "http://tmpvar.com/markdown.html" -o "Test.html"  
monolith.exe -F -j "http://tmpvar.com/markdown.html" -o "Test.html"  
monolith.exe -F -I "http://tmpvar.com/markdown.html" -o "Test.html"  
monolith.exe -F "http://tmpvar.com/markdown.html" -b "http://tmpvar.com/markdown.html" -o "Test.html"  
monolith.exe -F -I "http://tmpvar.com/markdown.html" -b "http://tmpvar.com/markdown.html" -o "Test.html"  
monolith.exe -e "http://tmpvar.com/markdown.html" -o "Test.html"  
monolith.exe -e -F -I "http://tmpvar.com/markdown.html" -b "http://tmpvar.com/markdown.html" -o "Test.html"  

All of the above permutations result in the following error:

http://tmpvar.com/markdown.html
http://tmpvar.com/css/github-80066d274e40dad6be1ac4b06b88b5f1a0fdf80a.css

ESC[31mhttps://a248.e.akamai.net/assets.github.com/images/modules/books/background-effect.gif?b404bb76
(error sending request for url (https://a248.e.akamai.net/assets.github.com/images/modules/books/background-effect.gif?b404bb76):
error trying to connect: dns error: The requested name is valid, but no data of the requested type was found. (os error 11004))ESC[0m

ESC[31mhttps://a248.e.akamai.net/assets.github.com/images/modules/callouts/octotip-octocat.png?0535d35f
(error sending request for url (https://a248.e.akamai.net/assets.github.com/images/modules/callouts/octotip-octocat.png?0535d35f):
error trying to connect: dns error: The requested name is valid, but no data of the requested type was found. (os error 11004))ESC[0m

ESC[31mhttps://a248.e.akamai.net/assets.github.com/images/modules/notices/close.png?34eb8e58
(error sending request for url (https://a248.e.akamai.net/assets.github.com/images/modules/notices/close.png?34eb8e58):
error trying to connect: dns error: The requested name is valid, but no data of the requested type was found. (os error 11004))ESC[0m

ESC[31mhttps://a248.e.akamai.net/assets.github.com/images/spinners/octocat-spinner-16px.gif?a7b76cca
(error sending request for url (https://a248.e.akamai.net/assets.github.com/images/spinners/octocat-spinner-16px.gif?a7b76cca):
error trying to connect: dns error: The requested name is valid, but no data of the requested type was found. (os error 11004))ESC[0m

ESC[31mhttps://a248.e.akamai.net/assets.github.com/images/modules/ajax/success.png?0d47d810
(error sending request for url (https://a248.e.akamai.net/assets.github.com/images/modules/ajax/success.png?0d47d810):
error trying to connect: dns error: The requested name is valid, but no data of the requested type was found. (os error 11004))ESC[0m

ESC[31mhttps://a248.e.akamai.net/assets.github.com/images/modules/ajax/error.png?01d10868
(error sending request for url (https://a248.e.akamai.net/assets.github.com/images/modules/ajax/error.png?01d10868):
error trying to connect: dns error: The requested name is valid, but no data of the requested type was found. (os error 11004))ESC[0m

ESC[31mhttps://a248.e.akamai.net/assets.github.com/images/modules/pricing/card-visa.gif?b0f086da
(error sending request for url (https://a248.e.akamai.net/assets.github.com/images/modules/pricing/card-visa.gif?b0f086da):
error trying to connect: dns error: The requested name is valid, but no data of the requested type was found. (os error 11004))ESC[0m

[...]
^C

The said dns error: The requested name is valid, but no data of the requested type was found. (os error 11004) is also observed in Issue #289. But there, it only occurs once at the end of the saving process, & there is a "faulty" output HTML file saved in that case.

hairycactus avatar Nov 28 '21 02:11 hairycactus

Forgot to state:

Affected: Monolith v2.6.1 (04 Jul 2021) OS: Win 10 x64

hairycactus avatar Nov 28 '21 02:11 hairycactus

Very interesting!

It seems like it might've been something related to the server that holds that asset file, temporary issues on their side. I was able to save and use that page while offline: monolith.exe -I http://tmpvar.com/markdown.html -o test.html should work, could you please try again?

You might also want to give a try to this original tool: http://web.archive.org/web/20120319123606/http://github.github.com/github-flavored-markdown/preview.html Should be possible to save with Monolith using the same exact command as the one above.

And if something hangs for a long time, you could try to adjust network request timeout (monolith.exe -t 5 ...). Please let me know if it works!

snshn avatar Dec 06 '21 07:12 snshn

This seems to be working fine on GNU/Linux. Please give it a try on Windows whenever you get a chance, and if it's working, we'll mark this issue as resolved.

snshn avatar Feb 18 '22 07:02 snshn