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:

READFILE command? (1998) Location of Browser Info.txt file (1997) HUGE DATABASES (1998) WebCatalog 2.1b4/Mac available (1997) WebCatalog hosting (2000) WebCatalog for guestbook ? (1997) tpl and Explorer (1998) Email template names (1997) Country & Ship-to address & other fields ? (1997) WebCommerce: Folder organization ? (1997) UPPERCASE (1997) Multiple ShipTo Addresses (2003) [WebDNA] Hosting (2011) Emailer 1.01 bombs (1997) Dates - Search and Sorting (1999) WebCat2 beta 11 - new prefs ... (1997) Quit revisited (1997) redirect from the errorsMessages.db entry (1997) Emailer setup (1997) Using Plug-In while running 1.6.1 (1997)