Questions tagged [reconnect]

**reconnct** is a technique to established a connection to a service, which was lost and it is vital to execution of a program.

A web service or a database service are 24/7 online and so the necessity exists to keep the connection alive between program and service.

usage hint

  1. programming language or Framework
  2. Service name
  3. the reconnect tag

example:

210 questions
4
votes
1 answer

C# application getting disconnected from local api, usure how to reconnect without restarting the program

Hi everyone I'm new to c# and I've done my first 2 weeks in this language, so my knowlege is pretty basic. I'm playing with an app that connects to a client (League of legends client) and uses varius methods to send and get info (Get, Post, Put and…
Germ
  • 117
  • 6
4
votes
1 answer

BLE-device stops connecting with Android after working flawlessly for weeks

I have a device with Blue Gecko BLE and everything seems to be working fine with various Android phones and tablets: connecting, data transfer and reconnect after disconnection. Note: we do not pair our device it is just connected and we do not use…
4
votes
1 answer

Core Bluetooth: Cannot get iPhone (the central) and Mac (the peripheral) to pair

I am developing an iPhone application and a Mac application that communicate with each other via Bluetooth LE. The iPhone is the central, and the Mac is the peripheral. I would like the iPhone application to be able to reconnect to the Mac…
EJV
  • 1,009
  • 1
  • 10
  • 17
4
votes
4 answers

How to call API (Oauth 1.0)?

I am trying to call this API (Oauth1.0 standard): https://appcenter.intuit.com/api/v1/Connection/Reconnect And what I am doing is : (It am working on java) Base64Encoder baseEncoder = Base64Encoder.getInstance(); CloseableHttpClient…
MrYo
  • 1,797
  • 3
  • 19
  • 33
4
votes
2 answers

How to deal with thrift client disconnection issue

My project use bottle and HBase, client connect to HBase via python thrift client, code simplify like this #!/usr/bin/env python from bottle import route, run, default_app, request client = HBaseClient() @route('/', method='POST') def index(): …
linbo
  • 2,393
  • 3
  • 22
  • 45
4
votes
1 answer

check if the connection to websocket still open with Net::Async::WebSocket

I am Perl beginner and I am fighting with websockets at the moments. After a lot of reading, trying and copy-pasting I got this code to work: use strict; use warnings; use utf8; use Data::Dumper; use IO::Async::Loop; use…
storyteller
  • 47
  • 1
  • 5
4
votes
3 answers

How to assure that DB (Postgres) connection is still alive between prepare and execute?

I have daemon script which runs forever in while loop. I have a prepared statement and this statement is executed on every loop. Example: my $dbh; sub get_dbh { return DBI->connect(...); } my $dbh = get_dbh(); my $sth =…
toktok
  • 279
  • 1
  • 5
  • 13
4
votes
1 answer

iOS: XMPP Reconnect with Old School SSL connection

XMPPFramework provides an extension named XMPPReconnect for "accidental disconnections" and automatically reconnects the stream. This works well on the setting of the normal connection: [xmppStream connect:&error] [xmppStream…
Protocole
  • 1,733
  • 11
  • 28
  • 42
3
votes
0 answers

gstreamer 1.14.5 multiple rtspsrc element pipeline, reconnect individual streams when disconnected via 'C' code

Hello GStreamer community & fans, I have a working pipeline that connects to multiple H.264 IP camera streams using multiple rtspsrc elements aggregated into a single pipeline for downstream video processing. Intermittently & randomly, streams…
doug4350
  • 83
  • 8
3
votes
2 answers

Robust aio-pika connection to multiple RabbitMQ hosts

In our setup we have a central RabbitMQ instance running on three hosts, each with its own URL. For maintenance, any of these hosts may go down at any time for several hours. When this happens, we would like to connect to one of the other hosts. We…
fafl
  • 7,222
  • 3
  • 27
  • 50
3
votes
0 answers

When PostgreSQL stops TFDConnection.Connected remains True

I am connecting to PostgreSQL 9.5 x64 using Delphi 10 and FireDAC. There is a reconnect feature in my software which relies on TFDConnection.Connected flag: if not _conn.Connected then if _autoConnect then _conn.Connected := True else …
Paul
  • 25,812
  • 38
  • 124
  • 247
3
votes
1 answer

User session is getting interrupted after approx. 45 seconds

I have the shiny application deployed on the Rshiny pro server(1.5.2). Application does some heavy computations and generates the report without any problem if it gets completed before approximately 45 seconds. If the computation and report…
Abhinandan Satpute
  • 2,558
  • 6
  • 25
  • 43
3
votes
1 answer

Reconnection strategy in Mule ESB

I am trying to verify the Reconnection strategy in Mule ESB as mentioned in the documentation. I have set the standard Reconnection strategy with retry attemts as 5 and with some timeout. (My end point is not reachable, as intentionally stopped it…
Kaaviraaj
  • 175
  • 2
  • 11
3
votes
1 answer

How to use a client side reconnection event in Meteor

How do I use a client side reconnection event in Meteor. On the client, Meteor.apply takes a new wait option, which ensures that no further method calls are sent to the server until this method is finished; it is used for login and logout…
Harry
  • 52,711
  • 71
  • 177
  • 261
3
votes
2 answers

C# WCF Service resending data after reconnect? What property is this?

A little background. I am working in C# with .NET Framework 4. My binding is WsHttpBinding with no security on it currently. I have a WCF client that reports a heartbeat to the WCF server every second or so. This heartbeat is just an unsigned…
Tom
  • 1,270
  • 2
  • 12
  • 25
1 2
3
13 14