Qlik Community

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

narender123
Valued Contributor

Trigger is not working in Nprinting 17

Hello All,

I have set job, task, trigger, user etc in Nprinting . After applying trigger , I am not getting an email.So how can I check whether a email is working or not

Can I run Nprinting job manually rather than trigger or send some test email ??.

Thanks,

Narender

1 Solution

Accepted Solutions
ogster1974
Honored Contributor II

Re: Trigger is not working in Nprinting 17

Check the logs file for more detail about what's happening when you run your published task.

Logs located in c:\programdata\nprinting\logs

You can run jobs by trigger or on demand from your published tasks screen.  select the job and click run now then check the log file.

26 Replies
ogster1974
Honored Contributor II

Re: Trigger is not working in Nprinting 17

Check the logs file for more detail about what's happening when you run your published task.

Logs located in c:\programdata\nprinting\logs

You can run jobs by trigger or on demand from your published tasks screen.  select the job and click run now then check the log file.

narender123
Valued Contributor

Re: Trigger is not working in Nprinting 17

I checked the log file.

Nprinting log file message is:

17-04-19 02:06:04,466 [49] INFO Qlik.NPrinting.Scheduler.Service.ContentRequestDispatcher - Notifying load balancer of content request.

It is not showing any issue.

Actually i am not able to send email.

Port 587 not working in my server even i have open this port in inbound as well as in outbound firewall rules.

Thanks

Narender

ogster1974
Honored Contributor II

Re: Trigger is not working in Nprinting 17

Is that the engine log?  If you look in the scheduler log you will see more detail of NPrinting trying to execute your published task.

On the email troubleshooting front ive not used GMAIL to send from NPrinting before but might you need to open up the port traffic on your router not just the server?

set the SMTP server to smtp.gmail.com.

Set the your username is yourgooglemailname@gmail.com and make sure "username and password" is complteted check off "TLS" under "Use secure connection."

Port is 587 for SMTP traffic

Regards

Andy

narender123
Valued Contributor

Re: Trigger is not working in Nprinting 17

Thanks Andy for your reply.

This is the Nprinting scheduler log"

2017-04-19 04:20:37,162 [10] INFO Qlik.NPrinting.Scheduler.Service.ContentRequestDispatcher - Notifying load balancer of content request

2017-04-19 04:20:38,885 [EasyNetQ consumer dispatch thread] INFO Qlik.NPrinting.Scheduler.Service.ReportPublishingService - Send e-mail for bucket 85e95c0b-1497-4657-8427-892815fec273.

Please tell me what ahould i do as i dont get ant email while job is running.

Thanks

narender123
Valued Contributor

Re: Trigger is not working in Nprinting 17

On the email troubleshooting front ive not used GMAIL to send from NPrinting before but might you need to open up the port traffic on your router not just the server?

Your mean 587 port  in my router for smtp.gmail.com?            

ogster1974
Honored Contributor II

Re: Trigger is not working in Nprinting 17

Looks like you need to modify your GMAIL account to allow another App in this case NPrinting to send from it.

Nprinting, email settings SMTP error. | Qlik Community

Hope this helps

Andy

narender123
Valued Contributor

Re: Trigger is not working in Nprinting 17

Hi Andy,

I tried as you mentioned but still no success.

Please clarify about 587 port ?

Should we allow it from router ?

Or there is any other issue?

ogster1974
Honored Contributor II

Re: Trigger is not working in Nprinting 17

So you have allowed the less secured app to access your Gmail.

Have you tried the secured option

Port 465 and Use TLS Ticked?

I dont think you need to do anything router wise.

Regards

Andy

narender123
Valued Contributor

Re: Trigger is not working in Nprinting 17

Yes, I allowed less secure app.

Yes with 465 as well as with 587 with TLS ticked.

But these are not working.

Thanks,

Any other option?

Community Browser