GithubHelp home page GithubHelp logo

qliksensetask's People

Contributors

jparis avatar marcusspitzmiller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qliksensetask's Issues

How to get QlikSense script log in the standard output

Hello,

We use QlikSenseTask.exe to execute QlikSense Tasks from the command line.
In the log of the standard output we have only the log of QlikSenseTask.exe.
We would like to get also the QlikSense script log in the standard output.

Is it possible to get QlikSense script log in the standard output ?

Best Regards.
Sidi

Issue executing bat from from different server

Hi,
Hope you will help me to solve the issue. my requirement is to trigger the sense task when talend job finishes so i have copied the files from my local machine and tried to execute the sense task successfully. but when i tried to call the bat file which is placed in the qliksense server, i am not able to execute. hence i copied the files in the talend server and tried but there is an issue with communication between . so i would like to know the ports which are responsible so that i can open those ports and test.

Thanks in advance,
Gopi

Placing the log file

I can see, that log file is place in the folder from where you call the exe-file.

This will give issues when you try to launch exe-file from another tool - for example SSIS.
I suggest you add a parameter of where to place log-file.

Issue on parallel process

Hello all

Does anybody experience issues trying to run multiple jobs at the same time ?

I am getting this message " The process cannot access the file because it is being used by another process."

I really appreciate your help !

thank you

WHATS IS GOING ON ?

Hello, I have this error occurring every time I try to start a Screenshot_1, what could be wrong?
Screenshot_1_1
Screenshot_2
Screenshot_3
Screenshot_4
Screenshot_5
Screenshot_6

Message: Forbidden: Your account is inactive. Contact your administrator to activate it.

Hello all

I hope you could help me on this issue :(
I have been trying to make it work for days and it is just not happening :(

I download the 3.X.zip on the server; then i extract the folder on the Desktop and then i go where the executable is and simply run this command line:

QlickSenseTask.exe -task:"LPP" -proxy:https://rchqlsed2.na.lennoxintl.com -wait:600

also i tried to go the the link https://rchqlsed2.na.lennoxintl.com/qrs/about on the server

The website declined to show this webpage - HTP 403

2018_03_28_01_52_19,Information,"Task: LPP"
2018_03_28_01_52_19,Information,"Proxy: https://rchqlsed2.na.lennoxintl.com"
2018_03_28_01_52_19,Information,"Wait: 60 seconds"
2018_03_28_01_52_19,Information,"Poll: 30 seconds"
2018_03_28_01_52_19,Information,"Log: C:\Users\jlb\Desktop\QlikSenseTask-3.X\QlikSenseTask-3.X"
2018_03_28_01_52_19,Information,"Delete Log: -90 days"
2018_03_28_01_52_19,Information,"Creating connection..."
2018_03_28_01_52_19,Debug,"Creating web connection..."
2018_03_28_01_52_19,Debug,"Creating CookierAwareWebClient..."
2018_03_28_01_52_19,Debug,"calling /qrs/about"
2018_03_28_01_52_19,Debug,"setting headers"
2018_03_28_01_52_19,Debug,"constructing query string"
2018_03_28_01_52_19,Debug,"calling https://rchqlsed2.na.lennoxintl.com/qrs/about"
2018_03_28_01_52_20,Debug,"error: The remote server returned an error: (403) Forbidden."
2018_03_28_01_52_20,Error,"System.Exception: Couldnt connect to the server at https://rchqlsed2.na.lennoxintl.com , check that the Proxy and QRS are running. Message: Forbidden: Your account is inactive. Contact your administrator to activate it.
at QVnextDemoBuilder.QRSNTLMWebClient..ctor(String QRSserverURL, Int32 requesttimeout, Logger logger)
at QlikSenseJSONObjects.QlikSenseJSONHelper..ctor(String url, Int32 timeout, Logger logger)
at QlikSenseTask.Program.Main(String[] args)"
2018_03_28_01_52_20,Information,"Returning Errorlevel 8"

image

Triggered reload task

Hi, is it possible to work with triggered reload tasks? For example I have two tasks and second task starts only after first one. My question would be: How to get information from second reload task (Is it successful or it failed) entering only first task name as variable to -task: parameter? Is it possible?

Browser does not support Javascript

Hello,

When I launch this executable, I get the following error :
"Since your browser does not support JavaScript, you must press the Resume button once to proceed."

I allowed "Scripting" in IE (version11), in internet options.

it's working on another server but not this one.

Do you have any idea ?

Thanks and Regards,

Julie

Catch Logger.CleanLogFiles - permission denied exception

Within:

public void CleanLogFiles(string logpath, Int32 deletelog)

can you pls. add a catch if the logfile can't be deleted? for some reasons we are checking, the file can't be deleted even as full rights are granted to the service user...

at least the main task should finish it's job ...

Thanks Philipp

Task Runner was failing with error's

Hi,

I was been trying to implement the task runner from Qlikview to Qliksense and also i was trying to run externally to run the tasks externally but i am getting the error as below.

Time, LogLevel, Message
2018_03_29_11_52_51,Information,"Task: Reload task of License monitor"
2018_03_29_11_52_51,Information,"Proxy: http://XXXXX"
2018_03_29_11_52_51,Information,"Wait: 1400 seconds"
2018_03_29_11_52_51,Information,"Poll: 30 seconds"
2018_03_29_11_52_51,Information,"Log: C:\Users\XXXX\Desktop\QlikSenseTask-3.X"
2018_03_29_11_52_51,Information,"Delete Log: -90 days"
2018_03_29_11_52_51,Information,"Creating connection..."
2018_03_29_11_52_51,Debug,"Creating web connection..."
2018_03_29_11_52_51,Debug,"Creating CookierAwareWebClient..."
2018_03_29_11_52_52,Debug,"calling /qrs/about"
2018_03_29_11_52_52,Debug,"setting headers"
2018_03_29_11_52_52,Debug,"constructing query string"
2018_03_29_11_52_52,Debug,"calling http://XXXXXXXXXXX/qrs/about"
2018_03_29_11_52_53,Debug,"error: Unable to connect to the remote server"
2018_03_29_11_52_53,Error,"System.Exception: Couldnt connect to the server at http://g4w9959.houston.hpecorp.net , check that the Proxy and QRS are running. Message: ConnectFailure: Unable to connect to the remote server
at QVnextDemoBuilder.QRSNTLMWebClient..ctor(String QRSserverURL, Int32 requesttimeout, Logger logger)
at QlikSenseJSONObjects.QlikSenseJSONHelper..ctor(String url, Int32 timeout, Logger logger)
at QlikSenseTask.Program.Main(String[] args)"
2018_03_29_11_52_53,Information,"Returning Errorlevel 8"

Even i checked the Proxy and QRS services running perfectly but even though it throws me a same error as above, i have tried changing the HTTP to HTTPS as well, it does't seems to work.

This is an awesome tool, it was working while ago in Qliksense 3.2.3 but after upgrade Qliksense Novemer 2017 Relaease it was not working. Did anybody experienced same scenario please let me know how could i make it work or Any latest version are we going to get.

Thanks,
Ravinder

Logging changes

  1. I second the request to specify where the log files should be saved. Currently they go to the users current directory.
  2. I would like to request a parameter to automatically clean up log entries after a period of time. When the program runs it should look for log files over a certain date and remove them. We are running a lot of jobs a day and our folder already has hundreds of entries.
  3. We had a problem when two tasks started at exact same second. It caused the program to crash because the log file was open. Can you append the task name to the beginning of the log file. It would be helpful for finding logs for a particular task.

Symbols like '&' in task names throw an error

Having a symbol like '&' in the task name for example "Extract&Transform"
Gives an error:
Bad Request: Missing parameter value(s)

But after removing the symbol the task starts correctly.
Is there a way of starting the task by taskID for example?

application quits Unhandled Exception

Hi. I've tried running version 3.x from the command line and from a QlikView script. Each time the application quits and returns the following in the command window. Can you suggest how I might resolve this?

Unhandled Exception: System.IndexOutOfRangeException: Index was outside the boun
ds of the array.
at QlikSenseTask.Program.Main(String[] args)

Bad request: cannot find task

Great tool, thanks for building this!

I keep getting this error message: Bad request: Cannot find a task with the following name, althoug the task does exist. Any ideas how to tackle this issue please?

image

TLS1.2

Hi.

After the organization went to forced TLS1.2, it looks like QlikSensTask is not managing to trigger a task on Qlik Sense server.
I can see that you have started with tls1.2 on the source code, Any binary soon?

Regards
Hermod

Define Slave QSS that runs the task

Hi!

I want to start the task on a specific SLAVE node.
Unfortunately I don't find anything in the API documenation.

Is there any chance to tell Qlik Sense on which QSS-node the task is started?

Thx,
Roland

Asynchronous execution not functioning

Per the instructions, I omit the -wait parameter, but despite having removed the default -wait from config.txt, the default remains 600 seconds. If I put the parameter -wait:0, it has the desired effect of an asynchronous task submission, but does finish with Error Level 8. Using debug and overriding timeout to 0 will then give Error Level 4.

Ideally, it would honor the lack of the -wait parameter and consider it a successful execution even if it's simply to kick off a Task.

QlikSenseTask: "Couldnt connect to the server"

I am getting a similar error to what others have reported;
"System.Exception: Couldnt connect to the server at http://mysenseserver.com , check that the Proxy and QRS are running. Message: Unauthorized:
at QVnextDemoBuilder.QRSNTLMWebClient..ctor(String QRSserverURL, Int32 requesttimeout)
at QlikSenseTask.Program.Main(String[] args)"

I have concluded that it is some sort of permissions error. I have tried this under 2 different users that are setup identically in Sense QMC (as far as I can tell). One user it works fine and the second user it gets this error. Both users are setup as "RootAdmin". One user is my own personal acccount; works great! The other account in the Qlikview service account (the one I need to work) but it triggers the error. I need this to trigger successfully using the exact scenario laid out in the readme.cmd file; run as a supporting task from Qlikview publisher. But, when running it from Publisher is uses the Qlikview service account so that is why I need to get that one to work.

I am at a complete loss of ideas at this point. If I create a new user, assign RootAdmin role it works great. I have checked and double checked that the qlikview service account has the same permissions as the accounts that work but still no success. There has got to be something simple I'm missing. Any ideas are greatly appreciated.

thanks

OMIT -Wait parameter does not work

Hi,

First of all thank you so much for this tool! I use it on all my clients.

I'm facing some problems with the -Wait parameter.
I run the QlikSenseTask using the SQL server agent. And I would like the job in the SQL server agent to finish succesfully right after it have triggered the Sense task, mo matter if the Sense task fails or whatever.

I can see that you should be able to make it return imediately, if you OMIT the -Wait parameter.
But how do you do this exactly?
Delete it from the config file, just defaults it to 600 seconds.

Thank you so much for your help.

/Dennis

Not working from Qlik script

We want to use this tool to reload an app from a Qlik Sense script.

For example :
IF x = 'A' THEN
Run task A
ELSE
Run task B
END IF

The tool reloads a task perfectly when used in a command Window but it isn't working when executed from Qlik script with this command:
EXECUTE lib://QlikSenseTask\QlikSenseTask.exe -task:"Reload task of Dashboard A"

The tool creates a new logfile but that's it. The logfile stays empty. Qlik Sense is in Legacy mode and execution of commands is set in the settings.

What can I do to make this work?

Use 24H timestamp on logfiles?

Hi,

This tool is very useful. But on our server, it creates logfiles with 12H-timestamp. Can I somehow enable 24H-timestamp instead?

Thanks!

Queuing on QlikView

This is a great tool. We use it all the time. One thing we're trying to overcome is queuing on the QlikView QMC for these Qlik Sense tasks. Since they take so little QlikView resources to run, we're curious to see how we can eliminate queuing.

Stopped working after we enable TLS1.2

THe tool was working properly but after we enabled TLS1.2 and disabled TLS1.1 and 1.0, it stopped working.
The error which am getting is as below.

2021_10_08_12_57_37,Debug,"error: The underlying connection was closed: An unexpected error occurred on a receive."
2021_10_08_12_57_37,Error,"System.Exception: Couldnt connect to the server at , check that the Proxy and QRS are running. Message: Object reference not set to an instance of an object.
at QVnextDemoBuilder.QRSNTLMWebClient..ctor(String QRSserverURL, Int32 requesttimeout, Logger logger)
at QlikSenseJSONObjects.QlikSenseJSONHelper..ctor(String url, Int32 timeout, Logger logger)
at QlikSenseTask.Program.Main(String[] args)"
2021_10_08_12_57_37,Information,"Returning Errorlevel 8"

Any help is appreciated

Issue using Global Settings config.txt

Hi! Using Global Settings file in a form -proxy:https://localhost -wait:600 it fails with wrong proxy server (see log file):
Time, LogLevel, Message
2018_07_27_10_50_00,Information,"Task: Automatic reload of My Task"
2018_07_27_10_50_00,Information,"Proxy: "https://localhost" -wait:600"
2018_07_27_10_50_00,Information,"Wait: 600 seconds"
When I use it in a form:
-proxy:https://localhost
-wait:600
(space symbol is replaced by CR/LF) then it works ok.

stopped working since November 2019 upgrade

Hello,
QliksenseTask stopped working since November 2019 upgrade.

throwing following error message:

2020_01_27_16_59_11,Debug,"calling https://servername.company.com/qrs/about"
2020_01_27_16_59_11,Debug,"error: The remote server returned an error: (400) Bad Request."
2020_01_27_16_59_11,Error,"System.Exception: Couldnt connect to the server at https://servername.company.com , check that the Proxy and QRS are running. Message: The http request header is incorrect.: <!doctype html>

Unable to get 2.x to work

I have not been able to get 2.x to work on our 2.1.1 installation of Qlik Sense. It states that -task and -wait are undefined. I am able to get the 1.x and 1.1 versions to work, but the completion codes are not correct. I also noticed that the help portion of 2.x is not displaying correctly.

image

The remote server returned an error: (401) Unauthorized

Hi,
I am getting an error The remote server returned an error: (401) Unauthorized
when I am trying to run a task.
I am connecting to the server with the user that running the services and that user is rootadmin.

Any ideas?

Thanks,
Or

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.