Forum Discussion
Thomas_Walker_1
Feb 14, 2005Historic F5 Account
VB.net help please!?!
OK - I haven't really written anything in VB for a good 6 years, and never VB.net so please excuse my total lack of ability. I'm looking at the sample VB app packaged with the SDK and I can't seem to get past the connection and login to a BIG-IP (at least I think that's what is happening). I have set up the app with my BIG-IPs IP address, port 683 and a correct webGUI username/password and the app will build and execute but when the app tries to call the first sub to pull a value I get an exception and this error: "Additional information: The underlying connection was closed: Could not establish secure channel for SSL/TLS." Will you provide a couple clues for reporting or logging entries I can make to report if the login was a success? Even better, could you provide a small example of calling to a BIGIP for a single variable? I'm really somewhat intimidated and a little confused by the volume of calls, references, and such in even the smaller packaged examples i.e. - SystemInfo under /sdk/support/SOAP/DOTNET/VB/console/System (this is the one I've been using). Thanks for any help -
Thom
- Thom, The first issue I see is that you have the port number wrong. The default port number for SSL is 443 and you said you used 683 which is the IIOP[s] port which we used on 4.x for our CORBA portal. The error message indicated this in that it said you couldn't establish an SSL/TLS connection to the specified address:port. The SOAP samples should all be going through port 443.
- There's already a VB.Net sample in the SDK in the iControl-9.0\sdk\samples\soap\vb\microsoft\LocalLB\VSStats directory that should give you everything you need for pulling down VIP stats.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects