Cannot open status website after installing master

8 views
Skip to first unread message

Woyce Batkins

unread,
Aug 15, 2020, 5:56:22 AM8/15/20
to Zotonic users
I have successfuly compiled and started zotonic (master) on WSL (windows subsystem for linux)  but when I open  https://localhost:8443/  in my webbrowser, I get the error message:     localhost unexpectedly closed the connection. 
Any idea what is going on?

Marc Worrell

unread,
Aug 15, 2020, 11:57:11 AM8/15/20
to zotoni...@googlegroups.com
Hi,

Can you check the Erlang console and/or the console.log file?

Cheers,

Marc

Sent from my iPhone

On 15 Aug 2020, at 11:56, Woyce Batkins <mysare...@gmail.com> wrote:

I have successfuly compiled and started zotonic (master) on WSL (windows subsystem for linux)  but when I open  https://localhost:8443/  in my webbrowser, I get the error message:     localhost unexpectedly closed the connection. 
Any idea what is going on?

--

---
You received this message because you are subscribed to the Google Groups "Zotonic users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zotonic-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zotonic-users/ae358842-69b6-4d6b-9883-bf830b43e308n%40googlegroups.com.

Woyce Batkins

unread,
Aug 15, 2020, 12:28:30 PM8/15/20
to Zotonic users
 This is the output of the console:

2020-08-15 11:38:56.190 [info] <0.244.0> Setup running ...
2020-08-15 11:38:56.191 [info] <0.244.0> Directories verified. Res = ok
2020-08-15 11:38:56.191 [info] <0.244.0> Setup finished processing hooks (Mode=normal)...
2020-08-15 11:38:57.240 [info] <0.260.0> msg: "Starting reporters with []\n", options: []
2020-08-15 11:38:58.375 [info] <0.288.0> filezcache: repopulating cache with 0 keys
2020-08-15 11:38:58.375 [info] <0.288.0> filezcache: scanning cache directory for unknown files.
2020-08-15 11:39:01.996 [info] <0.407.0>@zotonic_launcher_sup:start_link:36 ================
2020-08-15 11:39:01.996 [info] <0.407.0>@zotonic_launcher_sup:start_link:37 Zotonic starting
2020-08-15 11:39:01.996 [info] <0.407.0>@zotonic_launcher_sup:start_link:38 ================
2020-08-15 11:39:01.996 [info] <0.407.0>@zotonic_launcher_sup:start_link:39 Init files used:
2020-08-15 11:39:02.042 [info] <0.407.0>@zotonic_launcher_sup:start_link:40 - /home/penny/.zotonic/1/erlang.config
2020-08-15 11:39:02.042 [info] <0.407.0>@zotonic_launcher_sup:start_link:41 Config files used:
2020-08-15 11:39:02.048 [info] <0.407.0>@zotonic_launcher_sup:start_link:43 - /home/penny/.zotonic/1/zotonic.config
2020-08-15 11:39:02.048 [info] <0.407.0>@zotonic_launcher_sup:start_link:44 ================
2020-08-15 11:39:02.314 [warning] <0.410.0>@zotonic_filewatcher_sup:which_watcher:95 zotonic_filewatcher: please install fswatch or inotify-tools to improve automatic loading of changed files
2020-08-15 11:39:03.043 [info] <0.410.0>@zotonic_listen_smtp:start_link:69 SMTP server listening on 127.0.0.1:2525
2020-08-15 11:39:03.234 [info] <0.444.0> gen_smtp_server starting at 'zotonic@LAPTOP-SPECIAL'
2020-08-15 11:39:03.278 [info] <0.444.0> gen_smtp_server listening on {127,0,0,1}:2525 via tcp
2020-08-15 11:39:03.336 [info] <0.448.0>@zotonic_listen_mqtt:start_mqtt_listeners_ip4:130 MQTT server listening on IPv4 any:1883
2020-08-15 11:39:03.448 [info] <0.443.0>@zotonic_listen_http:start_http_listeners_ip4:148 HTTP IPv4 server listening on any:8000
2020-08-15 11:39:03.453 [info] <0.448.0>@zotonic_listen_mqtt:start_mqtts_listeners_ip4:161 MQTT ssl server listening on IPv4 any:8883
2020-08-15 11:39:03.503 [error] <0.448.0>@z_ssl_certs:ensure_self_signed:181 Missing cert file "/home/penny/.zotonic/security/self-signed/LAPTOP-SPECIAL-self-signed4096.crt", regenerating keys
2020-08-15 11:39:03.503 [info] <0.448.0>@z_ssl_certs:generate_self_signed:221 Generating self-signed ssl keys in '/home/penny/.zotonic/security/self-signed/LAPTOP-SPECIAL-self-signed4096.pem'
2020-08-15 11:39:03.504 [error] <0.443.0>@z_ssl_certs:ensure_self_signed:181 Missing cert file "/home/penny/.zotonic/security/self-signed/LAPTOP-SPECIAL-self-signed4096.crt", regenerating keys
2020-08-15 11:39:03.504 [info] <0.443.0>@z_ssl_certs:generate_self_signed:221 Generating self-signed ssl keys in '/home/penny/.zotonic/security/self-signed/LAPTOP-SPECIAL-self-signed4096.pem'
2020-08-15 11:39:06.497 [info] <0.443.0> SSL: Generated SSL self-signed certificate in '/home/penny/.zotonic/security/self-signed/LAPTOP-SPECIAL-self-signed4096.key'
2020-08-15 11:39:06.520 [info] <0.441.0>@z_sites_manager:do_start_site:686 Starting site zotonic_site_status
2020-08-15 11:39:06.585 [info] <0.433.0>@zotonic_core_sup:spawn_delayed_status:85 ================
2020-08-15 11:39:06.585 [info] <0.433.0>@zotonic_core_sup:spawn_delayed_status:86 Sites Status
2020-08-15 11:39:06.586 [info] <0.433.0>@zotonic_core_sup:spawn_delayed_status:87 ================
2020-08-15 11:39:06.586 [info] <0.433.0>@zotonic_core_sup:spawn_delayed_status:99 zotonic_site_status - new
2020-08-15 11:39:06.586 [info] <0.433.0>@zotonic_core_sup:spawn_delayed_status:102 ================
2020-08-15 11:39:07.566 [info] <0.448.0> SSL: Generated SSL self-signed certificate in '/home/penny/.zotonic/security/self-signed/LAPTOP-SPECIAL-self-signed4096.key'
2020-08-15 11:39:09.604 [info] <0.443.0>@zotonic_listen_http:start_https_listeners_ip4:191 HTTPS IPv4 server listening on any:8443
2020-08-15 11:39:11.024 [info] <0.903.0>@z_module_manager:manage_schema_if_db:1285 [zotonic_site_status] Skipping schema for mod_base as zotonic_site_status does not use a database ('nodb').
2020-08-15 11:39:11.559 [info] z_site_startup:74 [zotonic_site_status] info @ z_site_startup:74  Site zotonic_site_status started, modules loaded

Cheers

Message has been deleted

Woyce Batkins

unread,
Aug 15, 2020, 12:47:40 PM8/15/20
to Zotonic users
WGET :

wget --no-check-certificate  https://localhost:8443
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/home/penny/.wget-hsts'. HSTS will be disabled.
--2020-08-15 18:46:02--  https://localhost:8443/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8443... connected.
Unable to establish SSL connection.

Cheers

Marc Worrell

unread,
Aug 15, 2020, 3:27:15 PM8/15/20
to zotoni...@googlegroups.com
Anything of interest in priv/log/console.log?

Sent from my iPhone

On 15 Aug 2020, at 18:47, Woyce Batkins <mysare...@gmail.com> wrote:

WGET :

Woyce Batkins

unread,
Aug 15, 2020, 4:08:11 PM8/15/20
to Zotonic users
Everything is fine. I have another Ubuntu machine where I did the same installation and it is working fine. There seems to be an issue with accessing a service inside WSL on localhost from the windows host. I have yet to find a solution for it.
For the time being, I will start my journey with zotonic on a pure linux VM.
Cheers

Reply all
Reply to author
Forward
0 new messages