我在使用POP3连接器从gmail接收邮件时遇到问题。 我收到了身份验证错误和套接字EOF错误..
org.mule.module.launcher.DeploymentStartException: AuthenticationFailedException: EOF on socket
at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:155)
at org.mule.module.launcher.artifact.ArtifactWrapper$4.execute(ArtifactWrapper.java:98)
at org.mule.module.launcher.artifact.ArtifactWrapper.executeWithinArtifactClassLoader(ArtifactWrapper.java:129)
at org.mule.module.launcher.artifact.ArtifactWrapper.start(ArtifactWrapper.java:93)
at org.mule.module.launcher.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:26)
at org.mule.module.launcher.DefaultArchiveDeployer.guardedDeploy(DefaultArchiveDeployer.java:310)
at org.mule.module.launcher.DefaultArchiveDeployer.deployArtifact(DefaultArchiveDeployer.java:330)
at org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedApp(DefaultArchiveDeployer.java:297)
at org.mule.module.launcher.DefaultArchiveDeployer.deployExplodedArtifact(DefaultArchiveDeployer.java:108)
at org.mule.module.launcher.DeploymentDirectoryWatcher.deployExplodedApps(DeploymentDirectoryWatcher.java:290)
at org.mule.module.launcher.DeploymentDirectoryWatcher.start(DeploymentDirectoryWatcher.java:151)
at org.mule.module.launcher.MuleDeploymentService.start(MuleDeploymentService.java:99)
at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:152)
at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:15)
Caused by: org.mule.api.lifecycle.LifecycleException: Failed to start inbound endpoint "endpoint.pop3.mailaddress.gmail.com"
at org.mule.endpoint.DefaultInboundEndpoint.start(DefaultInboundEndpoint.java:118)
at org.mule.construct.AbstractFlowConstruct.startIfStartable(AbstractFlowConstruct.java:322)
at org.mule.construct.AbstractPipeline.doStart(AbstractPipeline.java:315)
at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:141)
at org.mule.construct.AbstractFlowConstruct$2.onTransition(AbstractFlowConstruct.java:137)
at org.mule.lifecycle.AbstractLifecycleManager.invokePhase(AbstractLifecycleManager.java:138)
at org.mule.construct.FlowConstructLifecycleManager.fireStartPhase(FlowConstructLifecycleManager.java:92)
at org.mule.construct.AbstractFlowConstruct.start(AbstractFlowConstruct.java:136)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:622)
at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:237)
at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:273)
at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:152)
at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:123)
at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:76)
at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:136)
at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:91)
at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:87)
at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:69)
at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:61)
at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:278)
at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:133)
... 13 more
我的流程是......
<pop3:connector checkFrequency="100" doc:name="POP3" name="POP3" validateConnections="true" />
<flow name="incoming-orders" doc:name="incoming-orders">
<pop3:inbound-endpoint connector-ref="POP3" doc:name="POP3" host="pop.gmail.com" password="pwd" port="995" responseTimeout="1000" user="mail%40gmail.com"/>
<logger message="#[payload]" level="INFO" doc:name="Logger"/>
</flow>
我想收到我的邮件...我无法连接到gmail ..我的密码和用户名都是正确的我仍然收到身份验证错误。 在我的Gmail帐户中,POP3已启用.. 我怎样才能解决这个问题????
答案 0 :(得分:0)
我正在看你的评论,我遇到了同样的问题,只做了一次,但后来改变了我的pop3s配置,这样,它起作用了,我希望并且也适合你。
<pop3s:connector name="pop3sConnector" checkFrequency="30000" doc:name="POP3" validateConnections="true">
<pop3s:tls-client path="*" storePassword="*"/>
<pop3s:tls-trust-store path="*" storePassword="*"/>
</pop3s:connector>
答案 1 :(得分:-1)
尝试删除&#39; @ gmail.com&#39;用户属性的一部分。