Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to send an update. SSL #984

Open
ma-gu-16 opened this issue Nov 19, 2024 · 0 comments
Open

Failed to send an update. SSL #984

ma-gu-16 opened this issue Nov 19, 2024 · 0 comments

Comments

@ma-gu-16
Copy link

ma-gu-16 commented Nov 19, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant