Skip to content

404 Error with Mercure public link #60119

Answered by Asmitta-01
Asmitta-01 asked this question in Q&A
Discussion options

You must be logged in to vote

I reverted back all my changes then followed this course: https://symfonycasts.com/screencast/turbo/mercure (Chapter 47-52).
It works now.

Comparing changes, it seems that i should have juste uncomment the #SERVER_NAME: ':80' line in the compose.yaml. And the mercure port is random, so each time if i want to access i should do try http://127.0.0.1:<random_port>/.well-known/mercure. We can get the port with the command:

 symfony var:export --multiline | grep MERCURE

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
6 replies
@MatTheCat
Comment options

@Asmitta-01
Comment options

@MatTheCat
Comment options

@Asmitta-01
Comment options

Answer selected by Asmitta-01
@MatTheCat
Comment options

Comment options

You must be logged in to vote
4 replies
@Asmitta-01
Comment options

@seb-jean
Comment options

@Asmitta-01
Comment options

@seb-jean
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants