79
Views
4
Comments
[SSE Reactive Client] SSE listener not receving or in other words SSE listener drops the message giving tim
sse-reactive-client
Reactive icon
Forge asset by Nuno Damaso
Application Type
Reactive

HI,

I have used this component.
The implemetation is same as given in the demo.
This works very well in Dev & Test environment, but gives error in Production.


2022-08-03 04-32-50
Ravi Punjwani

Hi Manish,

You see the errors on the server or on the app?

Please give more details regarding the error.

2025-01-07 09-05-00
Manish Barapatre

Hi,
I am trying to implement the webhook to be triggered to UI when the external service will complete the process.

So from the API layer I have exposed the alert api to external system.

Once we receive the payload at the alert api, we are Boardcasting the Id from the payload to channel.

And on the End user module have raised as event handler EventSource on Message.
There we are calling another service.

But unfortunately the Boardcast is not able to receive at the Event Source.

This is working very well with Dev and Test, but fails in Production.


This is the end user module where I have used the EventSource webblock.

This is the API module where Broadcast and Openstream is consumed.

Please find the url specified is exposed in eventsource web block 


In the same module have called the Broadcast.

2024-09-08 11-13-40
Nuno Damaso
 
MVP

Hi Manish,

This is likely due to your production environment being clustered/multiple front-ends which the Hub does not support out of the box.


Please refer to the docs and SSE Hub Demo to see a possible implementation. Also check this thread:

https://www.outsystems.com/forums/discussion/81689/sse-push-event-hub-broadcast-not-working-on-clustered-environment/

UserImage.jpg
Manish Barapatre

Thanks Nuno,


I tried using the MultipleFrontEndRepeater server action.
But here our application is not accessible using Server name or Server IP to the external world.
Seems there is some security obligation, and hence cannot ask the server team disable the firewall.
Please suggest how we can achieve it?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.