Login  
Search All Forums
Dart Home | PowerTCP Telnet for .NET | Custom Development Reply | PowerTCP Telnet for .NET Topics | Forums   
AuthorForum: PowerTCP Telnet for .NET
Topic: Telnet Connection Timeout
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 8, 2012 1:14 PM

Hello - Just purchased this component. It was working fine in my program (derived from console sample) with the test key. I activated live key now I keep getting connection timeout errors.

What is going on. I can use other telnet programs with no problem to this sco server.

Again, this was working until I activated dart component.
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 8, 2012 1:36 PM

The presence of the license should have absolutely no bearing on the component's functionality; I've just tested this myself, and have had no problems connecting to our local server with the license installed. Does the included Telnet Client sample connect to your server successfully?

If you remove the license file from the bin directory in the program files directory for the component, and recompile your application, does your application start working against your server again?

What are you referring to by 'test key'? Are you just referring to its functionality without installing any key?
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 8, 2012 2:00 PM

Pardon my lack of specifics.

I had working c# code with the test component. I download and installed a purchased component and it no longer connects. Keeps saying it it timeing out. I see no timeout connect parameter.
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 8, 2012 2:25 PM

Hello,

What are you referring to by 'test component'? (For version 4.0 and above) The trial that may be downloaded through our website is licensable, and is the same code as what would be downloaded when the full version is purchased.

Were you using a different version of the component previously?

Are you able to connect to your server with our included Telnet Client sample?

Is the exception thrown on Connect() or Login()?

No timeout is available for Connect(), because the .NET Framework does not provide this functionality.
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 8, 2012 2:45 PM

The windows sample no longer connects.
It gets the same error I get in my code.
Has there been a recent version change?
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 8, 2012 2:49 PM

Hello,

We've recently released an update on 2012-10-24, but no changes should be causing this issue. All releases can be seen in the release history here:
http://www.dart.com/pttelnet_relhist.aspx

What version were you using previously? Can you send in server and login details into support@dart.com so we can test the two versions against your server?
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 8, 2012 2:55 PM

I think I was using the the pre oct 24 version.

I am pretty sure u cannot get to this server. 

It is an internal server behind a firewall.

If u want I can run your window sample with the params I use and send a picture of the params entered and then the response. This is a pretty old sco unix box. I purchased and used the componant because I had trouble with some of the freebies out there.

Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 8, 2012 3:29 PM

Hello,

Can you send in the call stack?

Are you referring to version 4.4.3.1? Here is a download link for that version (will only be active for 7 days):

http://dotnet.dart.com/dartregistration/4cd17d4e234c4a1ea3b6fecf10af70e7.aspx

Does it work in this version? Is there any way to provide us with access to your server? If we did introduce an issue, we'd like to address it.
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 8, 2012 3:36 PM

Yes it was working with 4.4.3 I had downloaded on 10/9.

Here is the thing, I am a contractor working onsite at a client. It would be a major pain and probably not possible for me to try to get dart access to this internal server.

If u have like webex or something like that maybe we could do a session and I can give u my desktop?



jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 8, 2012 3:39 PM

BTW it is sco openserver release 5
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 8, 2012 4:03 PM

Hello,

Thanks for the details; which version of release 5; 5.0.7, or one of the earlier ones?
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 8, 2012 4:10 PM

Actually when i do uname -X

I get 3.2v 5.0.4

So I am dead in the water.

Any help would be appreciated.
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 8, 2012 4:14 PM

Hello,

I'm confused; how does 'uname -X' relate to the Connect method timing out?
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 8, 2012 4:20 PM

unix command to get version. I thought u asked for sco version detail in your previous post.
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 8, 2012 4:23 PM

Yes, but you said 'So I am dead in the water.'; have you tried installing the older version that I provided the download link for?
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 8, 2012 4:35 PM

Sorry, I did not understand that was what u wanted. I just uninstalled 4.4 and installed the version from your link.

Now your sample works. 

My code also works again with that .dll
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 8, 2012 4:41 PM

Hello,

Thank you for testing; you can license that version with your current license key, so continue using that version for now. We will look into whether we can setup SCO OpenServer for testing against to resolve this in the next version of the component.
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 9, 2012 3:55 PM

Hello,

What was the exact exception you were getting?
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 9, 2012 4:12 PM

Sorry I did not see an error number and do not have the complete text.

The message in general said that a host had not responded in time.
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 9, 2012 4:20 PM

Hello,

What were you using as the delimiter in the Telnet Client sample? The behavior of the ReadToDelimiter method (used by the Login method) has been changed, and may have resulted in this behavior for you. However, I am not able to reproduce any exception on the Connect method. Can you please confirm this?

Was the exception:
'Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connection host has failed to respond'
?
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 9, 2012 4:28 PM

That is very close to the wording if not the exact wording. Our command prompt is a hash
"#"
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 9, 2012 4:31 PM

Hello,

When logging in, we noticed that the effective initial command prompt is "TERM = (tty) " (the parentheses may contain something else, such as ansi)

Have you been able to determine if the exception was thrown on Login() or Connect()?
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 9, 2012 4:38 PM

You r correct there is a line as u describe "Term = (tty)" when logging into that server. In fact right after connect I send a \r\n to get to a hash prompt I think.

I am not really sure if it was blowing up on Login or Connect. I know I was not seeing or getting to that line "Term = (tty)"
Nick B (Admin)

From: Utica, NY USA
Posts: 619
Member Since: 05/25/10

Extra Support Options
Custom Application Development

posted November 9, 2012 4:44 PM

With the change to the behavior of Login(), you wouldn't see that line, we started throwing an when the command prompt wasn't found in this release. We're going to reconsider its behavior.
jkilvinski

From: Springboro, OH USA
Posts: 13
Member Since: 11/08/12
posted November 9, 2012 4:50 PM

That is consitant with the behavior I experienced. BTW - I think I mentioned I tried some freebies. They all worked good enough for me with other servers. However, they had this same problem at login though for this server because it did not immediately give the hash. 

Dart dealt with it and that is why I chose Dart.

Reply | PowerTCP Telnet for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX