On Sat, 3 Apr 2021 at 04:51, Long Nguyen Xuan <long...@gmail.com> wrote: > > Hi all, > I'm new to nikola and today when I tried my first site with `nikola init > --demo my-1st-site` then cd to my-1st-site folder and `nikola build`, it > throw below error, > Tried with Google but nothing help, > Can you please help me fix it? > > > λ nikola build > Scanning posts........done! > . render_posts:cache\pages\manual.html > TaskError - taskid:render_posts:cache\pages\manual.html > PythonAction Error > Traceback (most recent call last): > [snip] > File "c:\users\longnx\appdata\local\programs\python\python39\lib\ssl.py", > line 500, in wrap_socket > return self.sslsocket_class._create( > File "c:\users\longnx\appdata\local\programs\python\python39\lib\ssl.py", > line 997, in _create > raise ValueError("check_hostname requires server_hostname") > ValueError: check_hostname requires server_hostname > > ######################################## > render_posts:cache\pages\manual.html <stdout>:
The demo site includes the manual, which has a demo of the gist directive — and that requires making a request to gist.github.com. The connection attempt failed, perhaps due to your employer/ISP/etc messing with your traffic, or due to issues at GitHub. Try running `nikola build` again, and if it fails with the same error, you can just delete pages/manual.rst and avoid the network request altogether. -- Chris Warrick <https://chriswarrick.com/> PGP: 5EAAEA16 -- You received this message because you are subscribed to the Google Groups "nikola-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to nikola-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nikola-discuss/CAMw%2Bj7Lgnmgw_7JtE-yERtpTQxUJa7_SA5tdKQuorbvR6VjVfg%40mail.gmail.com.