Gozargah / Marzban-node

Proxy Node for Marzban
GNU Affero General Public License v3.0
166 stars 73 forks source link

[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007) #42

Closed fractalshine closed 5 months ago

fractalshine commented 7 months ago

Followed by your guidlines can't pair panel and node. Receiveing error: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)

fractalshine commented 7 months ago

I got it. Some wrong translation from farsi, and bad example in docs

ultraleks commented 5 months ago

I got it. Some wrong translation from farsi, and bad example in docs

Please, tell me, how is right?

fractalshine commented 5 months ago

I got it. Some wrong translation from farsi, and bad example in docs

Please, tell me, how is right?

Just uncomment this line # SSL_CLIENT_CERT_FILE: "/var/lib/marzban-node/ssl_client_cert.pem" in https://github.com/Gozargah/Marzban-node/blob/master/docker-compose.yml

to make file looks like this

services:
  marzban-node:
    image: gozargah/marzban-node:latest
    restart: always
    network_mode: host

    environment:
      SSL_CERT_FILE: "/var/lib/marzban-node/ssl_cert.pem"
      SSL_KEY_FILE: "/var/lib/marzban-node/ssl_key.pem"
      SSL_CLIENT_CERT_FILE: "/var/lib/marzban-node/ssl_client_cert.pem"

    volumes:
      - /var/lib/marzban-node:/var/lib/marzban-node