Liveblog work on HTTP, but not in HTTPS. And no instruction at all
  • Hello, is about 10 days that I'm trying to install liveblog in production.

    You can see the result here

    https://live.dmove.it

    It looks for a config.js that doesn't exist

    Failed to load resource: the server responded with a status of 404 (Not Found)

    WebSocket connection to 'wss://live.dmove.it:5100/' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR

    and I don't know why

    In the liveblog server log I have

    Dec 19 18:24:05 ubuntu-ddaylive sh[16215]: 18:24:05 wamp.1 | Traceback (most recent call last):
    Dec 19 18:24:05 ubuntu-ddaylive sh[16215]: 18:24:05 wamp.1 |   File "/opt/liveblog/env/lib/python3.5/site-packages/websockets/server.py", line 88, in handler
    Dec 19 18:24:05 ubuntu-ddaylive sh[16215]: 18:24:05 wamp.1 |     extra_headers=self.extra_headers,
    Dec 19 18:24:05 ubuntu-ddaylive sh[16215]: 18:24:05 wamp.1 |   File "/opt/liveblog/env/lib/python3.5/site-packages/websockets/server.py", line 426, in handshake
    Dec 19 18:24:05 ubuntu-ddaylive sh[16215]: 18:24:05 wamp.1 |     path, request_headers = yield from self.read_http_request()
    Dec 19 18:24:05 ubuntu-ddaylive sh[16215]: 18:24:05 wamp.1 |   File "/opt/liveblog/env/lib/python3.5/site-packages/websockets/server.py", line 195, in read_http_request
    Dec 19 18:24:06 ubuntu-ddaylive sh[16215]: 18:24:05 wamp.1 |     raise InvalidMessage("Malformed HTTP message") from exc
    Dec 19 18:24:06 ubuntu-ddaylive sh[16215]: 18:24:05 wamp.1 | websockets.exceptions.InvalidMessage: Malformed HTTP message
    Dec 19 18:24:12 ubuntu-ddaylive sh[16215]: 18:24:12 work.1 | Deleting session not updated since 2018-12-19 14:24:12+00:00 level=INFO process=ForkPoolWorker-1
    Dec 19 18:24:12 ubuntu-ddaylive sh[16215]: 18:24:12 work.1 | Removing expired content for provider: Detached items level=INFO process=ForkPoolWorker-1
    Dec 19 18:24:12 ubuntu-ddaylive sh[16215]: 18:24:12 work.1 | Removed expired content for provider: Detached items count: 0 level=INFO process=ForkPoolWorker-1
    Dec 19 18:29:12 ubuntu-ddaylive sh[16215]: 18:29:12 work.1 | Removing expired content for provider: Detached items level=INFO process=ForkPoolWorker-1
    Dec 19 18:29:12 ubuntu-ddaylive sh[16215]: 18:29:12 work.1 | Removed expired content for provider: Detached items count: 0 level=INFO process=ForkPoolWorker-1
    Dec 19 18:29:12 ubuntu-ddaylive sh[16215]: 18:29:12 work.1 | Deleting session not updated since 2018-12-19 14:29:12+00:00 level=INFO process=ForkPoolWorker-1
    Dec 19 18:30:00 ubuntu-ddaylive sh[16215]: 18:30:00 work.1 | Expiry Time: 2018-12-19 18:30:00+00:00. Starting to remove expired content at. level=INFO process=ForkPoolWorker-1
    Dec 19 18:30:00 ubuntu-ddaylive sh[16215]: 18:30:00 work.1 | Expiry Time: 2018-12-19 18:30:00+00:00. Removing expired content for expiry. level=INFO process=ForkPoolWorker-1
    Dec 19 18:30:00 ubuntu-ddaylive sh[16215]: 18:30:00 work.1 | Expiry Time: 2018-12-19 18:30:00+00:00. Starting to remove published expired items. level=INFO process=ForkPoolWorker-1
    Dec 19 18:30:00 ubuntu-ddaylive sh[16215]: 18:30:00 work.1 | Expiry Time: 2018-12-19 18:30:00+00:00. Completed remove expired content. level=INFO process=ForkPoolWorker-1
    Dec 19 18:30:00 ubuntu-ddaylive sh[16215]: 18:30:00 work.1 | unused item locks deleted count=0 level=INFO process=ForkPoolWorker-1
    Dec 19 18:34:12 ubuntu-ddaylive sh[16215]: 18:34:12 work.1 | Removing expired content for provider: Detached items level=INFO process=ForkPoolWorker-1
    Dec 19 18:34:12 ubuntu-ddaylive sh[16215]: 18:34:12 work.1 | Removed expired content for provider: Detached items count: 0 level=INFO process=ForkPoolWorker-1
    Dec 19 18:34:13 ubuntu-ddaylive sh[16215]: 18:34:13 work.1 | Deleting session not updated since 2018-12-19 14:34:13+00:00 level=INFO process=ForkPoolWorker-1

    Can you help me?
  • 2 Comments sorted by
  • Fixed!
  • Please tell us how!