And everything works fine: I get no errors, mercure is running, published updates are shown in the console and the update_topics fits the subscribed topics but the update does not reach the client.
The updates being published by an application written in symfony 7 using api-platform with mercure: true on one entity.
Subscriptions event triggered by a vue application look like this:
INFO[0035] New subscriber remote_addr={CLIENT_IP_ADDRESS} subscriber_topics="[https://my-url.com/api/some/topic]"
INFO[0048] Update published event_id=1234567 event_retry=0 event_type= remote_addr={SERVER_PUBLIC_IP} update_targets="[]" update_topics="[ https://my-url.com/api/some/topic]"
On my local machine everything work fine.
The only difference i noticed is, that the following event is not triggered on the vhost but on my local machine:
I got mercure running on a vserver with plesk. It uses apache and nginx as a reverse proxy.
I installed the mercure-legacy build without using any cady.file like i do it on my local wsl
I run mercure "successfully" with the following command:
And also tried:
In case of mercure the apache server should not be called because I configured nginx to redirect all request direclty to mercure.
And everything works fine: I get no errors, mercure is running, published updates are shown in the console and the
update_topics
fits the subscribed topics but the update does not reach the client.The updates being published by an application written in symfony 7 using api-platform with mercure: true on one entity.
Subscriptions event triggered by a vue application look like this:
In symfony, when I use localhost (http://localhost:3000/.well-known/mercure) as
MERCURE_URL
I get this for a published update:When I use my domain (https://my-domain/hub/.well-known/mercure) it goes like this:
On my local machine everything work fine. The only difference i noticed is, that the following event is not triggered on the vhost but on my local machine:
Thank you for your help in advance!