dunglas / mercure

🪽 An open, easy, fast, reliable and battery-efficient solution for real-time communications
https://mercure.rocks
GNU Affero General Public License v3.0
3.98k stars 297 forks source link

Failed to send an update. SSL #984

Open ma-gu-16 opened 3 days ago

ma-gu-16 commented 3 days ago

Hi, i receeiving sometimes while i try to push an update. error 500 "Failed to send an update."

log: "class": "Symfony\\Component\\HttpClient\\Exception\\TransportException", "message": "Error:0A000438:SSL routines::tlsv1 alert internal error for \"https://domain.com/.well-known/mercure\".",

i use port 443. and after i start the mercure run with caddyFile the debug shows a certificate is active.

config:

`{ {$GLOBAL_OPTIONS} debug }

{$CADDY_EXTRA_CONFIG} https://domain.com { log { format filter { fields { request>uri query { replace authorization REDACTED } } } } tls { protocols tls1.2 } encode zstd gzip

mercure {
    # Transport to use (default to Bolt)
    transport_url {$MERCURE_TRANSPORT_URL:bolt://mercure.db}
    # Publisher JWT key secret
    publisher_jwt xxxx
    # Subscriber JWT key secret
    subscriber_jwt xxxx

    publish_origins https://domain.com
    cors_origins https://domain.com

    subscriptions
    {$MERCURE_EXTRA_DIRECTIVES}
}

{$CADDY_SERVER_EXTRA_DIRECTIVES}

redir / /.well-known/mercure/ui/

respond /healthz 200
respond /robots.txt User-agent: * Disallow: /
respond "Not Found" 404

} `

it happens not every time i push content to subscribers. often each 5. reload.