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: 
Anonymous
Not applicable

[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
Labels (3)
18 Replies
Anonymous
Not applicable
Author

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
_AnonymousUser
Specialist III
Specialist III

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)
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

Sorry I believe I've done that but it didn't save
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

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
Anonymous
Not applicable
Author

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