Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


Hans Hübner
2017-04-21T13:53:21Z
Hello,
using task 'SNMP get' providing IP address of SNMP agent via Job variable generates the following error mesage:
Exception in Task: System.Net.Sockets.SocketException (0x80004005): The requested name is valid, but no data of the requested type was found
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
at VisualCron.Toolkit.ParseIPAddress(String input)
at OBOKIIHBDBPMCFALPGECCIFHCDJPEDKODDGK.DCGJOGCDCKECIPHGHMJFPGLJHGEHECNKALCD.EEFCILIIPJOCABIBNDKAIFFNPEIIFAGBHJDH(List`1 HKAALEHAJJFKOBCNFJCANCIAKFLCOLGPOHOP, String& ) in C:\sourcefiles\code\VisualCronService\Jobs\TaskProcesses\SNMP\clsProcessTaskSNMPGet.vb:line 89
The requested name is valid, but no data of the requested type was found
Using static FQDN or IP address it works without problems.
Using VC 8.2.6 and .net 4.6.2
Sponsor
Forum information
Support
2017-04-24T18:48:31Z
Thanks, as described on email we have fixed this for the next build.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
semonbright
2020-06-03T06:25:35Z
A SocketException is thrown by the Socket and Dns classes when an error occurs with the network. Most of the time these are connectivity issues due to different IP protocols (IPV4/IPV6) between the two server/computers trying to communicate or extra authentication rules setup on one of the computers for in/out connectivity. Ways to troubleshoot this SocketException  are, check you have proper internet connection is there on your machine or not, and you are able to ping the remote server or not. Possible causes for the error:

You are using the wrong IP address.
You are using the wrong port.
Firewall blocking the connection.

Scroll to Top