lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xie kidd <xiezh...@gmail.com>
Subject email datasource connect timeout issue
Date Thu, 19 Dec 2013 02:30:11 GMT
Hi all,

When i try to set up a email data source as
http://wiki.apache.org/solr/MailEntityProcessor ,  connect timeout
Exception happened.  i am sure the user and password is correct, and the
rss data source also work well. anyone can do me a favior?

This issue base on solr4.5 with tomcat7, exception information as following:
--------------------------------------------------------------------------

Full Import failed:java.lang.RuntimeException:
java.lang.RuntimeException:
org.apache.solr.handler.dataimport.DataImportHandlerException:
Connection failed Processing Document # 1
	at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:270)
	at org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:411)
	at org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:476)
	at org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:457)
Caused by: java.lang.RuntimeException:
org.apache.solr.handler.dataimport.DataImportHandlerException:
Connection failed Processing Document # 1
	at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:410)
	at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:323)
	at org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:231)
	... 3 more
Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException:
Connection failed Processing Document # 1
	at org.apache.solr.handler.dataimport.MailEntityProcessor.connectToMailBox(MailEntityProcessor.java:271)
	at org.apache.solr.handler.dataimport.MailEntityProcessor.getNextMail(MailEntityProcessor.java:121)
	at org.apache.solr.handler.dataimport.MailEntityProcessor.nextRow(MailEntityProcessor.java:112)
	at org.apache.solr.handler.dataimport.EntityProcessorWrapper.nextRow(EntityProcessorWrapper.java:243)
	at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:469)
	at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:408)
	... 5 more
Caused by: javax.mail.MessagingException: Connection timed out;
  nested exception is:
	java.net.ConnectException: Connection timed out
	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:571)
	at javax.mail.Service.connect(Service.java:288)
	at javax.mail.Service.connect(Service.java:169)
	at org.apache.solr.handler.dataimport.MailEntityProcessor.connectToMailBox(MailEntityProcessor.java:267)
	... 10 more
Caused by: java.net.ConnectException: Connection timed out
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:310)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:176)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:163)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
	at java.net.Socket.connect(Socket.java:542)
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:570)
	at sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)
	at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:233)
	at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
	at com.sun.mail.iap.Protocol.<init>(Protocol.java:107)
	at com.sun.mail.imap.protocol.IMAPProtocol.<init>(IMAPProtocol.java:104)
	at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:538)
	... 13 more

--------------------------------------------------------------------------

Thanks in advanced.

Thanks,
Kidd


For the ideal, never give up, fighting!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message