Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EmailURLImg in Triggered Events
I can use EmailURLImg in a command button successfully to send both of the following commands, and I get an email with the image from a Vivotek camera (and when using the second URL without the need for separate authentication for the camera):$channel=1;channel=1

But I'm trying to use the EmailURLImg in a triggered event, and neither works.

In the Log Monitor (even though other actions in the triggered event all correctly happen first), I get "Connect Operation Failed. Tried to connecto to".

I tried manaully additng a port (":8080") to the URLs, but then the error message returns the same error with the specified port.

It almost seems like the event is not sending the same info that the command button sends....

Any thoughts or suggestions?

The service may not have permission to do a connection to the HTTP port or some such thing. If you haven't already, create a regular admin account for CQC and have the master server service log in using that account and see if that makes it happy.
Dean Roddey
Explorans limites defectum
Thanks, Dean, but it still does not seem to be happy...

The CQCAppShell service was running on a local system account so I stopped it and tried both an existing admin account and a newly created admin user account (and even rebooted with them as the account(s) running the service) but I get the same error.

What was a interesting was when I put the EMailURLImg command into a scheduled daily event I was able to successfully test the scheduled event and receive an image, but when the actual time for triggering the scheduled event came, same error.

Anything else to try?
Can you, just as a sanity check, change it to try to access some image on the net, to see if that works? I.e. is it something to do with accessing a local HTTP host or something more general. Testing the scheduled event would be doing it in the foreground as well, so it definitely seems somehow related to network access in the background.

Also, can you get me a stack dump with the actual errors in it so that I can see the details? What version of Windows are you on and what version of CQC?
Dean Roddey
Explorans limites defectum
Dean, thanks.

I have Ver 4.4.0 running on 64-bit Windows Home Premium.

I was able to successfully send a public traffic cam image from a url via a command button, but was again unable to connect or send the image using a triggered event (and got the same error in the system log: "tried to connect to:

And please excuse my ignorance, but how do I get a stack dump...?
Update: it's evidently a firewall issue with Norton. When I tried turning Norton's Smart Firewall off the triggered event worked. I checked and all the CQC program exe files were on "Auto" so I changed the EventSr to "Allow" and that seems to work...

Is there any other specific name for the background actions that I should list in Norton as allowed?
The only programs that should make any connections outward bound from the background are the ones that can run actions. So CQCServer (where drivers will do it), CQCEventSrv (where sched/trig events will), possibly CQCWebSrv if you run any CML or load pages that reference external HTTP servers.

They all should be allowed to listen or send locally within the network. If you use RIVA clients from outside, then you'd have to allow the RIVA server (CQCRemVSrv) to accept inbound connections.
Dean Roddey
Explorans limites defectum

Possibly Related Threads…
Thread Author Replies Views Last Post
  Status of Scheduled and Triggered Events gReatAutomation 4 1,801 04-21-2020, 12:58 PM
Last Post: gReatAutomation
  Timers or Waits in events? simplextech 18 6,955 01-08-2020, 02:01 PM
Last Post: Dean Roddey
  Scheduled Events & Variables gReatAutomation 2 1,547 06-20-2019, 01:31 PM
Last Post: gReatAutomation
  your sched/triggered/tasker/IFTTT events IVB 17 10,048 01-18-2018, 07:41 AM
Last Post: RichardU
  Smart Handling of ISY Motion events Sendero 10 6,477 10-05-2016, 09:43 PM
Last Post: Dean Roddey
  Best Way to Handle Wait Times within a Triggered Event kblagron 9 5,315 06-25-2016, 06:03 PM
Last Post: Dean Roddey
  Overlay in an Overlay triggered by Widget Deane Johnson 4 4,041 11-09-2014, 10:29 AM
Last Post: Deane Johnson
  Variable Times for Triggered Events TurboSam 9 5,949 11-19-2013, 10:00 PM
Last Post: Dean Roddey
  Event Server - Scheduled Events DaveB 2 2,744 06-05-2011, 05:58 AM
Last Post: DaveB
  Triggered event to turn stuff off zra 16 6,263 03-30-2011, 03:18 PM
Last Post: znelbok

Forum Jump:

Users browsing this thread: 1 Guest(s)