Hi Michele,

 

welcome to the list! 

I’ve just tried to reproduce the problem on a plain Azure machine with
Letsencrypt – Nginx has first failed to properly read the certificate files
from the letsencrypt folder and stopped the container (to me, it seems nginx
can’t properly read the symlinks from the live folder), but after copying
the original certificate files (fullchain + private) from the “archive”
folder in /etc/letsencrypt/archive to another folder and referencing them
from there, it has worked.

 

Your config looks good and it seems the UI container is already running –
can you please describe the error you’re currently experiencing?

Maybe you can also show the log output of the UI (docker-compose logs ui)? 

 

Cheers,

Dominik

 

 

From: Canteri, Michele <[email protected]> 
Sent: Tuesday, June 15, 2021 8:22 PM
To: [email protected]
Subject: Streampipes dev and https

 

Hi everyone,

 

I’ve successfully installed and run Streampipes on a Ubuntu 20.04 server
using incubator-streampipes-installer-dev.zip file, it runs 0.68 version.

I’ve followed the instructions about https found on the page:
https://streampipes.incubator.apache.org/docs/docs/dev-guide-ssl.html but it
doesn’t work and tried a couple of variation on that but I still am not able
to make it run.

 

The last configuration that looks partially correct (because I can see that
it open the 443 port) is:

 

./cli/streampipes ps

NAMES                                       IMAGE
STATUS         PORTS

streampipes_ui_1
apachestreampipes/ui:0.68.0-SNAPSHOT                            Up 7 minutes
0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp

 

is the one having the file cli/deploy/standalone/ui/docker-compose.yml 

 

version: "3.4"

services:

  ui:

    image: ${SP_DOCKER_REGISTRY}/ui:${SP_VERSION}

    ports:

      - "80:80"

      - "443:443"

    environment:

      - NGINX_SSL=true

    volumes:

      - /etc/letsencrypt/live/(mysite)/privkey.pem:/etc/nginx/ssl/ssl.pem

      - /etc/letsencrypt/live/(mysite)/fullchain.pem:/etc/nginx/ssl/cert.pem

    depends_on:

      - couchdb

      - activemq

      - consul

      - backend

    logging:

      driver: "json-file"

      options:

        max-size: "1m"

        max-file: "1"

    restart: unless-stopped

    networks:

      spnet:

 

networks:

  spnet:

    external: true

 

Any help is greatly appreciated.

Best regards,

Michele

 

Michele Canteri
_________________________________________________________________

GFT Italia S.r.l.
VIA SILE 18 / floor 4
20139 Milano, Italy

T +39 02 58158503
F      +39 02 58158621
[email protected] <mailto:[email protected]> 
 <https://www.gft.com/it> www.gft.com/it
https://blog.gft.com
https://www.linkedin.com/company/gft-group/
www.twitter.com/gft_it  <https://www.twitter.com/gft_it> 

Registered office: GFT Italia S.r.l., Via Sile 18, 20139 Milan (Italy)
VAT Code and number of registration with the Companies' Register of Milan:
00819200478
Corporate capital: Euro 1,000,000 fully paid-in

Company subject to the direction and coordination activity of GFT
Technologies SE

Ai sensi del Regolamento UE 2016/679 (GDPR) e delle Linee Guida per posta
elettronica ed Internet del Garante Privacy si rende noto che le
informazioni contenute nella presente comunicazione e i relativi allegati
possono essere riservate e sono, comunque, destinate esclusivamente alle
persone o alla Società sopraindicati. Le stesse non sono da considerarsi
comunicazioni personali, quindi eventuali risposte potranno essere
conosciute da persone appartenenti all’azienda. 

In accordance with Regulation EU 2016/679 (General Data Protection
Regulation) and Guidelines Applying to the Use of E-Mails and the Internet
in the Employment Context of Italian Data Protection Authority it is
announced that the information in this communication (which includes any
documents with it) is confidential and meant only for above-mentioned
persons and/or Companies; the information is not personal therefore, It is
intended for the addressee only and any replies will be known by people
belonging to the company.
_________________________________________________________________

Reply via email to