question

Upvotes
Accepted
7 1 0 7

How to increase timeout or heartbeat for Channel Down Event

Received ChannelDownReconnecting event on channel Channel_1 Error text Ping error for channel: Lost contact with connection


Is there any way I can get rid of this error?


Is Application reconnect on its own ?


Whats the way to reproduce this error?

Appreciate your help.

Thanks,

Vikas

ema-api#product
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@vikas.chaudhary

Hi,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

@vikas.chaudhary

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thanks,

AHS

Upvote
Accepted
22k 58 14 21

Hi @vikas.chaudhary,

Yes, the EMA API will automatically connect to the server after a connection is lost. This behaviour is controlled through the config parameters - ReconnectAttemptLimit and ReconnectMaxDelay. Please refer to the EMA Config guide for description of these parameters.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
7 1 0 7

Thanks Gurpreet, but is there any way I can simulate connection down and up event.

Thanks

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
22k 58 14 21

Hi Vikas,

A connection break will trigger a connection down event. You could do this by physically disconnecting the network cable, or disconnecting the WiFi network, or you could use network tools like Microsoft TCPView etc, to kill an active connection.

SDK will automatically try to connect once the network connection is restored.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.