Skip to content

Failed to send an update. SSL #984

Open
@ma-gu-16

Description

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions