Problems with OpenRemoteIP

Legacy support with Phidget21
rich
Phidgetly
Posts: 40
Joined: Sat Jul 02, 2011 2:47 pm
Contact:

Problems with OpenRemoteIP

Postby rich » Mon Sep 12, 2011 10:31 am

Hi,
I've been running an SBC remotely for about a month and have been generally pleased with its operation. Lately, I've developed a utility to allow a client to attach and run various tasks, but have found that the OpenRemoteIP function doesn't always work as expected. I've been getting a lot of timeouts. At first I thought maybe I was cycling through the sensors too fast - so I trimmed back the sensitivity, the change trigger and data rate in hopes of alleviating the problem. That doesn't seem to help. I can always log in immediately with putty and with the webservice - no problem. But haven't been able to log in with either my program or with the phidgets interface.
I get:
[9] - 09/12/11 09:24:15 2/WARN Authentication failed or bad version - closing connection
Since I don't see any other messages using the OpenRemoteIP in VB6, I can't decode that either, other than a timeout. Logging doesn't seem to reveal anything.

One other question - if anyone might have some insight - is there a library in Phidgets that will allow the server to identify a client logging in? There's obviously a password mechanism - but it would simplify my world a lot to be able to identify a client. Thanks in advance to any answers to these two issues.

Best!

Rich.

User avatar
Patrick
Lead Developer
Posts: 3064
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Problems with OpenRemoteIP

Postby Patrick » Mon Sep 12, 2011 10:46 am

Probably your client and server side are out of sync - Bad Version. You should update both sides to the latest release.

-Patrick

rich
Phidgetly
Posts: 40
Joined: Sat Jul 02, 2011 2:47 pm
Contact:

Re: Problems with OpenRemoteIP

Postby rich » Mon Sep 12, 2011 11:43 am

Thanks for your quick reply, Patrick. I'll try getting both sides updated and see how that goes.

Best!

Rich.

rich
Phidgetly
Posts: 40
Joined: Sat Jul 02, 2011 2:47 pm
Contact:

Re: Problems with OpenRemoteIP

Postby rich » Mon Sep 12, 2011 2:56 pm

Ok, I've still got a problem - but not as bad. I've got the following loaded on the SBC:
-Board Name PhidgetSBC
-Board Revision 100
-Firmware Version 1.0.4.20110615 (full)
-Kernel Version Linux version 2.6.32.14 (root@sl) (gcc version 4.3.4 (Buildroot 2010.05) ) #1 PREEMPT Wed Jun 15 13:00:36 MDT 2011
Phidget Library Phidget21 - Version 2.1.8 - Built Jun 15 2011 12:56:53

and for my client:
- Current Version: 2.1.8.20110615, June 15 2011

I'm still having problems connectin about 50% of the time.
Any suggestions would be appreciated.

Thanks!


Rich.


Return to “VB 6.0”

Who is online

Users browsing this forum: No registered users and 2 guests