W3C home > Mailing lists > Public > public-css-testsuite@w3.org > March 2017

about Failed to connect to test server on http://csswg.test:34543

From: 徐星 <openxu@gmail.com>
Date: Fri, 10 Mar 2017 09:18:59 +0800
Message-ID: <CAEsjuKkfs=uTOr-2vtftKxB4o_98Qt_rOeY4jkrx=oS5s9Nw3w@mail.gmail.com>
To: Public CSS Test suite mailing list <public-css-testsuite@w3.org>
Hi, I am following here https://github.com/w3c/csswg-test Running the Tests
to run css test on my local machine.

But it failed when ./serve, the console outputs:
"INFO:web-platform-tests:Starting http server on csswg.test:34543
CRITICAL:web-platform-tests:Failed to connect to test server on
http://csswg.test:34543 You may need to edit /etc/hosts or similar

The hosts file:
abc@abc-ubuntu:~/w3c$ cat /etc/hosts localhost abc-ubuntu csswg.test www.csswg.test www1.csswg.test www2.csswg.test xn--n8j6ds53lwwkrqhv28a.csswg.test xn--lve-6lad.csswg.test nonexistent-origin.csswg.test

The config.json file:
abc@abc-ubuntu:~/w3c/csswg-test$ cat config.json {"host": "csswg.test",
"doc_root": null, "ws_doc_root": null, "external_host": null,
"ports":{"http":[1234, "auto"], "https":[8443], "ws":["auto"],
"wss":["auto"]}, "check_subdomains": true, "log_level":"debug",
"bind_hostname": true, "ssl": {"type": "openssl", "encrypt_after_connect":
false, "openssl": { "openssl_binary": "/usr/bin/openssl", "base_path":
"_certs", "force_regenerate": false, "base_conf_path": null },
"pregenerated": { "host_key_path": null, "host_cert_path": null }, "none":
{} } }

Received on Friday, 10 March 2017 01:19:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:22 UTC