View Single Post
  #4  
Old 09-30-2013, 03:47 PM
deramor deramor is online now
Registered User
 
Join Date: 05-11-2011
Posts: 27
I would like to bump this. I have been having a mail send issue since January and I suspect it is something my IT group did but just in case...

My failure signature looks very similar. This is a VBP log of the send mail step with all+Hex dump turned on:

9/30/2013 4:32:53 PM: Building project step 'Project steps'...
9/30/2013 4:32:53 PM: Building project step 'Send Mail'...
Connecting to SMTP server '131.101.1.179' on port 25
VISBUILDCMD 23A78 0000 INF: started thread 0x23A78 trace on 09-30-2013 16:32:53 Windows x86-6.1.7600 [7.2.7250.2172]
VISBUILDCMD 23A78 0000 INF: getaddrinfo(0x1c2ead0 [131.101.1.179], 0x0 [], 0x1c2e7c8, 0x1c2e7c4) returned 0
VISBUILDCMD 23A78 0000 INF: socket(2, 1, 6) returned 680
VISBUILDCMD 23A78 0000 INF: ioctlsocket(680, 0x8004667e, 0x1c2e7ec) returned 0
VISBUILDCMD 23A78 0000 INF: ioctlsocket(680, 0x8004667e, 0x1c2e810) returned 0
VISBUILDCMD 23A78 0000 WRN: connect(680, 0x1c2e920 [131.101.1.179]:25, 16) returned -1 [10035]
VISBUILDCMD 23A78 0000 INF: select(64, 0x0, 0x1c2e81c, 0x1c2e9a0, 0x1c2e804) returned 1
VISBUILDCMD 23A78 0000 INF: ioctlsocket(680, 0x8004667e, 0x1c2e810) returned 0
VISBUILDCMD 23A78 45006 INF: select(64, 0x1c2e6d8, 0x0, 0x0, 0x1c2e6d0) returned 0
VISBUILDCMD 23A78 0000 INF: closesocket(680) returned 0

Error connecting to SMTP server: The specified operation has timed out
9/30/2013 4:33:38 PM: Step 'Send Mail' failed
9/30/2013 4:33:38 PM: Build ended (elapsed = 00:00:44).

Notice the return code for connect. I looked up this return code on msdn's sockets function list.
WSAEWOULDBLOCK

Resource temporarily unavailable.

This error is returned from operations on nonblocking sockets that cannot be completed immediately, for example recv when no data is queued to be read from the socket. It is a nonfatal error, and the operation should be retried later. It is normal for WSAEWOULDBLOCK to be reported as the result from calling connect on a nonblocking SOCK_STREAM socket, since some time must elapse for the connection to be established.

This is the info you requested:

Help about:
Visual Build Professional 8.4
Registered to: Teradyne, Inc (1-computer license)
Windows Version: 6.1.7600.0.0
Install path: C:\Program Files (x86)\VisBuildPro8
HideConsole.exe version 1.0.0.0
SftPrintPreview_IX86_U_20.dll version 2.04
VisBuildCmd.exe version 8.4.0.0
VisBuildPro.exe version 8.4.0.0
VisBuildAct.dll version 8.4.0.0
VisBuildCore.dll version 8.4.0.0
VisBuildDotNET.dll version 8.3.0.1
VisBuildExt.dll version 8.4.0.0
VisBuildMisc.dll version 8.4.0.0
VisBuildMS.dll version 8.4.0.0
VisBuildMS2.dll version 8.4.0.0
VisBuildNet.dll version 8.4.0.0
VisBuildSvr.dll version 8.4.0.0
VisBuildSvr.Interop.dll version 1.0.0.0
VisBuildVCS.dll version 8.4.0.0


I've noticed that the mail will never send if the bld file is launched via task scheduler. The setting "launch task even if user is not logged on" must be selected to see this behavior.

When I increase the timeout, the mail sometimes sends. It is still spotty with infinite timeout set.
This makes it sound like the environment I am running in but please do look this over as I am getting no where with my local IT group.

Thank you.
Attached Files
File Type: bld test.bld (799 Bytes, 1064 views)
Reply With Quote