One Star

[resolved] tpop time out

Hello, Someone knows how to solve time out problem in TPop?
connecting to socket on port 3635
connected
Exception in component tPOP_1
javax.mail.MessagingException: Connect failed;
  nested exception is:
java.net.ConnectException: Connection timed out: connect
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:210)
at javax.mail.Service.connect(Service.java:295)
at canales.aperturas_desde_correo_0_1.aperturas_desde_correo.tPOP_1Process(aperturas_desde_correo.java:318)
at canales.aperturas_desde_correo_0_1.aperturas_desde_correo.runJobInTOS(aperturas_desde_correo.java:693)
at canales.aperturas_desde_correo_0_1.aperturas_desde_correo.main(aperturas_desde_correo.java:561)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:288)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:231)
at com.sun.mail.pop3.Protocol.<init>(Protocol.java:107)
at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:261)
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:206)
... 4 more
disconnected
16 REPLIES
Moderator

Re: [resolved] tpop time out

Hi,
What's your pop server? gmail or office 365? Have you checked out " use SSL" option?
Could you please show us your tPop component setting screenshot?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] tpop time out

Hi,
What's your pop server? gmail or office 365? Have you checked out " use SSL" option?
Could you please show us your tPop component setting screenshot?
Best regards
Sabrina

everytime when i execute the job i receive this error who have an idea about this problem please??
Exception in component tPOP_1
javax.mail.MessagingException: Connect failed;
  nested exception is:
java.net.ConnectException: Connection timed out: connect
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
at javax.mail.Service.connect(Service.java:275)
at local_project.testjava_0_1.testjava.tPOP_1Process(testjava.java:328)
at local_project.testjava_0_1.testjava.runJobInTOS(testjava.java:650)
at local_project.testjava_0_1.testjava.main(testjava.java:507)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
Moderator

Re: [resolved] tpop time out

Hi achraf_mabroukk,
Are you behind proxy? Is your network Ok with you? Could you please show us your tPop component setting screenshot?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] tpop time out

I see there is no solution for this, i have also the same issue, can you please help
Exception in component tPOP_1
javax.mail.MessagingException: Connect failed;
  nested exception is:
java.net.ConnectException: Connection timed out: connect
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
at javax.mail.Service.connect(Service.java:275)
at tmp.pop_0_1.pop.tPOP_1Process(pop.java:348)
at tmp.pop_0_1.pop.runJobInTOS(pop.java:718)
at tmp.pop_0_1.pop.main(pop.java:577)
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:570)
at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:141)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:163)
at com.sun.mail.pop3.Protocol.<init>(Protocol.java:81)
at com.sun.mail.pop3.POP3Store.getPort(POP3Store.java:201)
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:144)
as user id I tried domain\user and domain\\user  and domain/user  and user.. doesnt work
it doesnt work with the business mailbox and it works fine with an outlook.com mailbox
checking of the server address and port are correct, got them from the settings of the outlook web version
thank you very much for your help
Moderator

Re: [resolved] tpop time out

Hi zephyrus2600,
Could you please post your tPOP component setting screenshot into forum which will be helpful for us to address your issue?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] tpop time out

Sorry I believe I've done that but it didn't save
One Star

Re: [resolved] tpop time out

unfortunately I am unable to attach it, seems to be a security matter for new users to avoid spam or something
here is the config:
Host: "mail.domain.com" Port: 995
Username: "corp\\userid" Password: "password"
output directoru: "c:/users/userid/Desktop/Exports
Filename Pattern: TalendDate.getDate(yyyyMMdd-hhmmss")+"_"+(counter_tPOP_1+1)+".mail"
<x> Retrieve all email?  
<> Delete emails from server
Choose the protocol pop3
<x> Use SSL
Moderator

Re: [resolved] tpop time out

Hi,
Host: "mail.domain.com" Port: 995

It seems that there is something wrong with your business mailbox. Is the "Host" correct for you?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] tpop time out

Hello
without any valid reason or any modifications at all, it started working..
thanks a lot for your time
One Star

Re: [resolved] tpop time out

Hello
Sorry I have another issue with the same component, now that I get it working, it downloads only latest emails, what I wanted to do is to filter by emails using the filters, and ticking "Newer emails first", when I do select newer emails first, the component doesnt give any results, when I untick  it,  it download the emails
any ideas please?
Moderator

Re: [resolved] tpop time out

Hi,
How did you set your filter in tPOP component? Did you want to get the latest email?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] tpop time out

Hi,
in the filter, I set it to:
Filter item    |      Pattern
To                      "Email@address.com"

with this filter, it works fine but it download ALL the emails, I wanted that it download the newer emails first, so that I can limit that it download for example 2 newest emails but when I check the "Newer email first" from the basic settings, it doesnt download anything at all
it shows:
connected
disconnected
job ended..
nothing retrieved at all
I tried also to modify the filter saying that I want only emails downloaded after a specific date (to limit that we receive only new emails) but i got also the same issue, no emails downloaded at all

to do that, I added to the filter:
Filter item                                 |      Pattern
After date("dd-MM-yyyy")                   "01-07-2016"

thank you
One Star

Re: [resolved] tpop time out

hello
it is working fine, thank you for your time, for info, the "new email" option fetch only emails create since the use of the component, it doesnt load unread or old emails
thank you
Moderator

Re: [resolved] tpop time out

Hi,
Great it works. Can we consider this topic as resolved?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] tpop time out

Yes indeed
thanks
One Star

Re: [resolved] tpop time out

Hi,
how are you?
i want to explore t_pop but I win certains problems and i need you help me.


Démarrage du job CorrespondanceIp a 19:14 06/09/2016.
connecting to socket on port 3757
connected
Exception in component tPOP_1
javax.mail.AuthenticationFailedException: (#MBR1212) Incorrect username or password.
      at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:146)
      at javax.mail.Service.connect(Service.java:275)
      at projetp1.correspondanceip_0_1.CorrespondanceIp.tPOP_1Process(CorrespondanceIp.java:328)
      at projetp1.correspondanceip_0_1.CorrespondanceIp.runJobInTOS(CorrespondanceIp.java:647)
      at projetp1.correspondanceip_0_1.CorrespondanceIp.main(CorrespondanceIp.java:504)