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
0
votes
1 answer

Socket.io: IE fires reconnecting event only once

I have an app with node.js/socket.io running fine. Every time a client looses connection, it tries to reconnect using socket.io predefined process for that: var io = io.connect("/", { 'reconnect': true, 'reconnection delay': 1000, …
0
votes
2 answers

socket.io event on reconnect timeout

I am using socket.io to do websocket communication within my application. After the connection is lost, it tries to reconnect 6 times, then it reaches a timeout. Is there any event, emitted when it is no longer trying to reconnect?
Coxer
  • 1,694
  • 2
  • 26
  • 44
0
votes
0 answers

Google App Engine Channel Presence Not Firing On Reused Channel Token

I have an app that supports a two way connection between a "master" device and multiple "remotes" using the Google App Engine Channel API. To conserve data consumption, the "master" only sends it's data to the remote devices who have been noted in a…
0
votes
3 answers

Is there a way asterisk reconnect calls when internet connection is missed

For being specific, I am using asterisk with a Heartbeat active/pasive cluster. There are 2 nodes in the cluster. Let's suppose Asterisk1 Asterisk2. Eveything is well configured in my cluster. When one of the nodes looses internet connection,…
0
votes
1 answer

Puzzle: Bluetooth data send interval shortened by half after each reconnect

I modified the standard Bluetoothchat example to send 4 bytes of data at a time to a bluetooth device every half a second. It works fine if I start the App fresh. However, there is a problem if I reconnect as follows: While Bluetooth is connected,…
Terrapin
  • 21
  • 3
0
votes
1 answer

Does anyone knows any SSH client with reconnect and capable to get password from file?

I need a ssh client capable to reconnect if connection breaks, and, on reconnection, to get password from a file or web address. Thank You.
daniel
  • 1,868
  • 1
  • 12
  • 9
0
votes
1 answer

Event Problem in .NET Remoting

Learning from INGO RAMMER's "Advanced .NET Remoting", I tried to use the following codes for firing events to clients: foreach (Delegate del in MessageArrived.GetInvocationList()) { try { mah = (MessageArrivedHandler) del; mah(msg); } catch…
cui chun
  • 107
  • 1
  • 10
0
votes
1 answer

Connect to WiFi why .disconnect() than reconnect()?

All- I have an app in which I want the user to be able to connect with a WiFi network. I looked at this question and I had the app being able to disconnect and than reconnect (in other words I had the right SSID and password), but his is not exactly…
ninge
  • 1,592
  • 1
  • 20
  • 40
0
votes
1 answer

Ruby mysql gem 'reconnect' object variable

I am encountering the 'mysql has gone away' error in Ruby after a certain amount of time that the script has been running. I want to try to tell the mysql gem to auto-reconnect when the connection is lost. My current code looks like the…
ethicalhack3r
  • 1,062
  • 3
  • 15
  • 16
0
votes
1 answer

Python client won't reconnect to server

I'm sorry for my English, but I've some problems with my software and I need some help. But first of all, some code! Client side: if connessione.connect(host, port) == True: connect = True print 'connection granted' else: connect =…
imAlessandro
  • 61
  • 1
  • 10
0
votes
1 answer

JMS Message Sending After JMS Server Restart During Runtime

I am having a problem about JMS. The problem is, I have an application and it is trying to send a message through JMS , but after JMS server restart, it throws exception as when the server was down time. It is not reconnecting. It is completely fine…
Neron
  • 1,500
  • 7
  • 30
  • 52
-1
votes
2 answers

AWS JAVA IoT client reconnects every 10 minutes

I use IoT SDK in JAVA. When my application starts, it connects to IoT core of AWS: iotClient = new AWSIotMqttClient(. . .); iotClient.connect(); But after application starting I see in my log a very strange behavior and it happens every…
Rougher
  • 834
  • 5
  • 19
  • 46
-1
votes
1 answer

I get Winerror 10038 when i try to reconnect

Twitch randomly disconnects my python bot. I googled a lot and found out that this is a common problem. Only solution seems to be an automated reconnect. Tried this, but my knowledge seems to be way too limited to make it work. I tried to shut down…
DrMohn
  • 1
  • 2
-1
votes
1 answer

CMD to Powershell -reconnect -install

I have a batch file in windows where I run: run program.exe -reconnect xxxx - install I was wondering what would be the simplest way to do the same in powershell. Any ideas?
Khul
  • 19
  • 1
  • 1
  • 8
-2
votes
2 answers

Python: Read xml and search for missing files

I'm looking to reconnect my missing files through Python! Is it possible to read an XML file and get the name of the files in between the tags example: A013_C025_08264E.MOV A002_C001_BLABLA.MOV Then search for that Files…
1 2 3
13
14