Questions tagged [mercure]

Mercure is a protocol allowing to push data updates to web browsers and other HTTP clients. Mercure Hub is a reference implementation of the protocol.

Mercure is a protocol allowing to push data updates to web browsers and other HTTP clients. Mercure Hub is a reference implementation of the protocol. See the Mercure GitHub project page for more details.

101 questions
0
votes
0 answers

What does Mercure Managed Hub do with published messages if the posts per second limit is exceeded?

On the Mercure Managed Hub page (https://mercure.rocks/pricing) there is a "requests per second" limit that varies depending on how much you pay. What happens to published messages if that limit is exceeded? Do they get queued? Or do they get…
0
votes
0 answers

Mercure 0.14 configuration behind Nginx reverse proxy with supervisor - server not responding

I need help configuring Mercure 0.14 to run on port 3000 on a production server, which nginx will proxy to behind the path /mercure/. To install Mercure, I did the following: Grabbed Mercure 0.14 linux x86_64 binary from the release page on github.…
cheryllium
  • 430
  • 4
  • 15
0
votes
0 answers

Symfony : multiple mercure subscriptions

I've developed an app based on this tutorial : https://symfonycasts.com/screencast/turbo By the way, my app is broadcasting HTML updates on several topics, ie : chat-messages, notifications, chat-channels So, every pages of my app is subscribing to…
Snoop9
  • 13
  • 4
0
votes
0 answers

Symfony ApiPlateform:V3 & mercure fail send update with Operations

Apiplateform:V3 doesn't send Mercure update when I set my crud operations like Post if I uncomment the operation below the mercure update fail being sent update are send only if I don t set the operations manualy #[ORM\Entity(repositoryClass:…
0
votes
0 answers

How set customs params into a payload key of JSW if I use Cookie as auth mechanism and mercure() Twig extension

I have the following scenario for a chatroon with Symfony 5.4 and MercureBundle. Chat conversation function like a charm, but I don't understand how to include additional info (username) into a payload config of mercure to get connected users…
Francisco
  • 194
  • 2
  • 9
0
votes
0 answers

Symfony 6 - Updating Textarea field for usage of multiple users in realtime with ajax and mercure protocol (SSE)

I am currenlty working on a Symfony 6 project. Now I have the requirement to realize an environment in which a textarea field can be used by multiple users in real time. So that each user can see what the other types in this field. My current…
schwaluck
  • 115
  • 9
0
votes
0 answers

How to set a broadcast driver in the event of laravel?

I have an event like this
iamafasha
  • 848
  • 10
  • 29
0
votes
1 answer

chat with Symfony mercure Failed to send an update & Message does not added in the data base

i want to create a real time chat group with symfony mercure, this is my MessageController code but i have this error when i ping mercure to do the update "Failed to send an update", also the message does not added in the database what is the…
ibtihel
  • 1
  • 1
0
votes
0 answers

How to configure mercure connection subscription counts?

I am using eventSource for subscription const eventSource = new EventSource(url); eventSource.onmessage = event => { console.log('publishEventFromTopic');} After 6th connection (new tab in the browser), the connection to the server starts…
Den Step
  • 1
  • 1
0
votes
0 answers

Docker Symfony Mercure TransportException Failed to connect to localhost port 3000 after 0 ms: Connection refused

Can't do publish to mercure inside symfony controller, but I can do it from postMan and from demo mercure URL http://localhost:3000/.well-known/mercure/ui/ From class PublishController extends AbstractController I have: $hub->publish($update); - …
Den Step
  • 1
  • 1
0
votes
2 answers

Mercure and vue subscribing

im having some difficulties with mercure and Vue. I want to subscribe from vue to my mercure topic but im still getting 401 errors Im running my mercure as docker image: sudo docker run \ -e…
Vortex666
  • 65
  • 8
0
votes
1 answer

Mercure keeps binding to port 80

I'm using the Mercure hub 0.13, everything works fine on my development machine, but on my test server the hub keeps on trying to bind on port 80, resulting in a error, as nginx is already running on port 80. run: loading initial config: loading new…
Svdb
  • 337
  • 3
  • 14
0
votes
2 answers

Run Mercure on production : 404 no found

I am contacting you because I can't get mercure to work in production. The binary prebuild runs fine, but when I try to connect to the hub, I get a 404 no found. Here is the command I run : sudo…
yinyang
  • 99
  • 8
0
votes
2 answers

Raspbian / Mercure - bind: permission denied

I'm trying to run Mercure on my Raspbian. First : I tried with mercure-legacy_0.13.0_Linux_armv6.tar.gz using the following command to run mercure JWT_KEY='example'; ADDR='localhost:3000'; DEMO='1'; ALLOW_ANO NYMOUS='1'; CORS_ALLOWED_ORIGINS='*';…
0
votes
0 answers

Symfony 5.3, Mercure and Vue -> SSL connect error for "https://localhost:8000/.well-known/mercure"

I'm trying to make a publish with the Hub Interface but everytime I get this error SSL connect error for "https://localhost:8000/.well-known/mercure" I'm running mercure with the Symfony Local Web Server, so mercure it's running on…