Stuck at "dns error: The requested name is valid, but no data of the requested type was found. (os error 11004)"
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.
Forgot to state:
Affected: Monolith v2.6.1 (04 Jul 2021) OS: Win 10 x64
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!
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.