Could not connect to the Telldus Service

Moderator: Telldus

Post Reply
hekj
Posts: 990
Joined: Thu Jan 18, 2018 11:08 am
Location: Stockholm
Contact:

Could not connect to the Telldus Service

Post by hekj » Thu Jan 18, 2018 11:08 am

I'm forced to restart the Telldus Service very often, because I get the error message "Could not connect to the Telldus Service".

I have connected my Tellstick Duo to pc with Windows XP and Windows 7 x64.

/Henrik

micke.prag
Site Admin
Posts: 2233
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: Could not connect to the Telldus Service

Post by micke.prag » Thu Jan 18, 2018 11:08 am

The same issue on both Windows versions?

Which version of the Telldus software are you running?
Micke Prag
Software
Telldus Technologies

hekj
Posts: 990
Joined: Thu Jan 18, 2018 11:08 am
Location: Stockholm
Contact:

Re: Could not connect to the Telldus Service

Post by hekj » Thu Jan 18, 2018 11:08 am

micke.prag wrote:The same issue on both Windows versions?

Which version of the Telldus software are you running?
Yes, same issue on both Windows versions.

Windows XP = 2.0.102
Windows 7 x64 = 2.0.103

/Henrik

micke.prag
Site Admin
Posts: 2233
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: Could not connect to the Telldus Service

Post by micke.prag » Thu Jan 18, 2018 11:08 am

Can you find a way to reproduce the problem?
Micke Prag
Software
Telldus Technologies

hekj
Posts: 990
Joined: Thu Jan 18, 2018 11:08 am
Location: Stockholm
Contact:

Re: Could not connect to the Telldus Service

Post by hekj » Thu Jan 18, 2018 11:08 am

micke.prag wrote:Can you find a way to reproduce the problem?
Maybe, I'm using NexaHome and that application asks for last sent command and value every minute.

return CLibrary_INSTANCE.tdLastSentCommand(intDeviceId, TELLSTICK_TURNON | TELLSTICK_TURNOFF | TELLSTICK_DIM);
return CLibrary_INSTANCE.tdLastSentValue(intDeviceId);

I have 35 remotely controlled devices.

I'm forced to restart the service in my Windows 7 x64 pc every day (the win xp service needs to be restarted after 7-14 days).

Can it be a memory problem, should I release the returned string?

/Henrik

micke.prag
Site Admin
Posts: 2233
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: Could not connect to the Telldus Service

Post by micke.prag » Thu Jan 18, 2018 11:08 am

Yes, you are supposed to call tdReleaseString() on all functions returning a string.
Micke Prag
Software
Telldus Technologies

micke.prag
Site Admin
Posts: 2233
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: Could not connect to the Telldus Service

Post by micke.prag » Thu Jan 18, 2018 11:08 am

Do I need any special version of your software or does the same thing happen with your the latest released version?
Micke Prag
Software
Telldus Technologies

hekj
Posts: 990
Joined: Thu Jan 18, 2018 11:08 am
Location: Stockholm
Contact:

Re: Could not connect to the Telldus Service

Post by hekj » Thu Jan 18, 2018 11:08 am

micke.prag wrote:Do I need any special version of your software or does the same thing happen with your the latest released version?
Same thing happens with all versions, you can use the latest released version.

/Henrik

micke.prag
Site Admin
Posts: 2233
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: Could not connect to the Telldus Service

Post by micke.prag » Thu Jan 18, 2018 11:08 am

Some good, some bad news.

Good news is that we can reproduce the problem and we know where the problem is. It is also only affecting the Windows version.

Bad news is that it is not easy to fix... The problem is that the service stops receiving signals from Windows when a new client is connected. Seems like it happens after a couple of thousands successful connections.
Micke Prag
Software
Telldus Technologies

micke.prag
Site Admin
Posts: 2233
Joined: Thu Jan 18, 2018 11:08 am
Location: Lund
Contact:

Re: Could not connect to the Telldus Service

Post by micke.prag » Thu Jan 18, 2018 11:08 am

@hekj: Could you try one thing for us?
I am guessing both tdLastSentCommand() and tdLastSentValue() happens directly after each other?
Try adding a pause between the calls and see it the same thing happens. You only need to try it against 2.0.103 since to much has changed since 2.0.102.
Micke Prag
Software
Telldus Technologies

mariasam
Posts: 1
Joined: Thu Jan 18, 2018 11:08 am

Re: Could not connect to the Telldus Service

Post by mariasam » Thu Jan 18, 2018 11:08 am

I need any special version of your software or does the same thing happen with your the latest released version
Braindumps Braindumps
Certkiller 642-642 dumps Certkiller 642-642 dumps
Certkiller 70-648 dumps Certkiller 70-648 dumps
Certkiller mcp certification Certkiller mcp certification

Post Reply