Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
gdevarashettyhf
Contributor III
Contributor III

EDX Command Line trigger not working

*****************************************************  NOTE *******************************************************************************************

I posted this in wrong forum looks like. Updated the thread to Deployment forum. Also attached a word document that tells how to do but I am not able to find the QVCertTool.zip file. Anyone knows where can I find the zip file please. THANK YOU. Ganesh

*****************************************************  NOTE ******************************************************************************************

I am using command line EDX run. did the following.

1. Created a QMC Task with EDX trigger and password

2. Copied the EDX command program onto a machine (even on server).

3. executing below in cmd (admin mode)

   qmsedx -task="ABC.qvw" -qms="http://PUB:4799/QMS/Service"  -password=Password123 -verbosity=3

4. Get below error message followed by an exception trace:

Failed to create a client to the specified Uri.

The request channel timed out while waiting for a reply after 00:00:59.8979898.

Increase the timeout value passed to the call to Request or increase the SendTim

eout value on the Binding. The time allotted to this operation may have been a p

ortion of a longer timeout.

5. If I give https://PUB:4799/QMS/Service  (https instead of http), the following error comes up

Failed to create a client to the specified Uri.
The provided URI scheme 'https' is invalid; expected 'http'.
Parameter name: via

Unhandled Exception: System.ArgumentException: The provided URI scheme 'https' i
s invalid; expected 'http'.

6. If enter http://PUB:4799/QMS/Service URL in browser, there is no response (timeout). If I enter https://PUB:4799/QMS/Service  URL in browser, a certificate message shows up but webpage opens up.

Any help is greatly appreciated.

Thank you,

Ganesh

Message was edited by: Ganesh Devarashetty Added a Word Document that lists how to do it. But I am not able to find the QVCertTool.zip file. Anyone knows where can I find the zip file please. THANK YOU. Ganesh

12 Replies
martinzalloccodxc
Contributor II
Contributor II

Thank you for your support Mahesh! It cost me more than expected to get the .config file correcly configurated (I had to do some tweaks like "CurrentUser" storeName="Root" and I think it is now). Now I am receiving an error message:

Failed to create a client to the specified Uri.
Could not establish trust relationship for the SSL/TLS secure channel with authority '10.173.101.6:4799'.

Unhandled Exception: System.ServiceModel.Security.SecurityNegotiationException: Could not establish trust relationship for the SSL/TLS secure channel with authority '10.173.101.6:4799'. ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

I understand I need to implement a certificate in order to allow trust to reach the URL. In my case I think it is a very dificult option due to costs. Is there any way to change something on the config file to avoid expecting https and allow me to use http? FYI , from a web browser in can reach access point, QMC, etc without having this issue.

Thank you in advance!!

ilyas393
Creator
Creator

Hi @gdevarashettyhf@maheshacharya12 or anyone who know -

where can I find this QVCertTool.exe tool mention in the document?

Also, the instruction in the document seem to be different than what @maheshacharya12 mentioned. Does both work or need to be combined in some way?

I appreciate any assistance. Thanks

ilyas393
Creator
Creator

Hi @gdevarashettyhf , @gdevarashettyhf 

 

I was able to figure out and fix the specified uri error, and I think I am pretty close to solving it. I am stuck with missing service key. where can I find this or configure this service key?

Here is the error message I am getting now: 

Error while starting task with id/name=taskname
Error message: Service key is missing
Failed to start the task!

I have already looked into Solved: Re: Service key is missing - Qlik Community - 1436424 and has behaviorConfiguration="ServiceKeyEndpointBehavior" in the config file

 

Thank you for your help