trigger to tcpconnect fails the first time ...

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 42672
interpreted = N
texte = Technical details:1- I have a trigger set on LANserverA.2- This trigger requests a webdna template on LANserverB once ever hour.3- In the template on LANserverB there is a tcpconnect to a template on NETserverC.4- LANserverA and LANserverB are in the local area network and both have internet access.5- NETserverC is in a remote location on the internet.6- The URL used in the trigger on LANserverA is: http://192.168.1.111/rxexport/admin/grab.html7- This trigger has no username or password, and it looks for which exists in the template on LANserverB.8- The html in the template on LANserverB is: [TCPConnect host=www.domain.com&port=80] [TCPSend]GET /secret/data/tcp.html HTTP/1.0[UnURL]%0D%0A%0D%0A[/UnURL][/TCPSend] [/TCPConnect] Here's what works:When I use my browser on LANserverA to manually request the template on LANserverB, the tcpconnect functions properly. In other words, LANserverB requests and successfully retrieves the proper page from NETserverC via tcpconnect. But here's the problem:When I wait for the trigger on LANserverA to request the template on LANserverB, the tcpconnect fails to function properly, or the trigger never sends the request.But if the trigger on LANserverA is failing to request the template from LANserverB, then why is webcat's trigger NextExecute value incremented to the next-scheduled trigger time? If the trigger fails to function, shouldn't this value NOT be incremented? Questions:Does anyone know what's going on here? Is this a trigger problem?It sure seems like it, because if I can get the page from LANserverB via a direct browser request from LANserverA, yet I cannot get the same page via a trigger request from LANserverA, it seems like the trigger feature of webcat simply does not work.Can anyone (at SMSI or elsewhere) tell me what is causing this problem? Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. trigger to tcpconnect fails the first time ... (Kenneth Grome 2002)
Technical details:1- I have a trigger set on LANserverA.2- This trigger requests a webdna template on LANserverB once ever hour.3- In the template on LANserverB there is a tcpconnect to a template on NETserverC.4- LANserverA and LANserverB are in the local area network and both have internet access.5- NETserverC is in a remote location on the internet.6- The URL used in the trigger on LANserverA is: http://192.168.1.111/rxexport/admin/grab.html7- This trigger has no username or password, and it looks for which exists in the template on LANserverB.8- The html in the template on LANserverB is: [TCPConnect host=www.domain.com&port=80] [tcpsend]GET /secret/data/tcp.html HTTP/1.0[unurl]%0D%0A%0D%0A[/UnURL][/TCPSend] [/TCPConnect] Here's what works:When I use my browser on LANserverA to manually request the template on LANserverB, the tcpconnect functions properly. In other words, LANserverB requests and successfully retrieves the proper page from NETserverC via tcpconnect. But here's the problem:When I wait for the trigger on LANserverA to request the template on LANserverB, the tcpconnect fails to function properly, or the trigger never sends the request.But if the trigger on LANserverA is failing to request the template from LANserverB, then why is webcat's trigger NextExecute value incremented to the next-scheduled trigger time? If the trigger fails to function, shouldn't this value NOT be incremented? Questions:Does anyone know what's going on here? Is this a trigger problem?It sure seems like it, because if I can get the page from LANserverB via a direct browser request from LANserverA, yet I cannot get the same page via a trigger request from LANserverA, it seems like the trigger feature of webcat simply does not work.Can anyone (at SMSI or elsewhere) tell me what is causing this problem? Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Security hole in WebCat? (1999) Database Upload (2000) Calculating Shipping charges for multiple items and qtys > 1 (1997) [shownext] and descending order (1997) Can't Update records (1997) trouble updating records in database (1998) [WebDNA] Installation on windows 2008 server (2010) Hard Questions ? (1997) headers in webcat 4.0. (2000) When is unitShipCost calculated? (1998) send mail problem? (1997) syntax question, not in online refernce (1997) Max Record length restated as maybe bug (1997) PCS Frames (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) where to put code (1998) Carts & Refering URLs (1997) suffix mapping for NT? (1997) shipcost - cleaner with a table (1998) [delete] problem (1997)