[ 
https://issues.apache.org/jira/browse/JAMES-4038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17848856#comment-17848856
 ] 

ilya terskov commented on JAMES-4038:
-------------------------------------

Mailbird while try STARTTLS 465

07:27:17.138 [ERROR] o.a.j.e.d.InVmEventDelivery - Error while processing 
listener
java.nio.channels.ClosedChannelException: null
        at java.base/sun.nio.ch.FileChannelImpl.ensureOpen(Unknown Source)
        at java.base/sun.nio.ch.FileChannelImpl.read(Unknown Source)
        at 
org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:162)
        ... 62 common frames omitted
Wrapped by: java.io.IOException: null: NIOFSIndexInput(path="/root/_z.tis")
        at 
org.apache.lucene.store.NIOFSDirectory$NIOFSIndexInput.readInternal(NIOFSDirectory.java:180)
        at 
org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:270)
        at 
org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:40)
        at org.apache.lucene.store.DataInput.readVInt(DataInput.java:107)
        at 
org.apache.lucene.store.BufferedIndexInput.readVInt(BufferedIndexInput.java:217)
        at org.apache.lucene.index.TermBuffer.read(TermBuffer.java:64)
        at 
org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:133)
        at 
org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:174)
        at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:202)
        at 
org.apache.lucene.index.TermInfosReader.terms(TermInfosReader.java:304)
        at org.apache.lucene.index.SegmentReader.terms(SegmentReader.java:473)
        at 
org.apache.lucene.index.DirectoryReader$MultiTermEnum.<init>(DirectoryReader.java:1086)
        at 
org.apache.lucene.index.DirectoryReader.terms(DirectoryReader.java:698)
        at 
org.apache.lucene.search.NumericRangeQuery$NumericRangeTermEnum.next(NumericRangeQuery.java:566)
        at 
org.apache.lucene.search.NumericRangeQuery$NumericRangeTermEnum.<init>(NumericRangeQuery.java:508)
        at 
org.apache.lucene.search.NumericRangeQuery.getEnum(NumericRangeQuery.java:313)
        at 
org.apache.lucene.search.MultiTermQuery$RewriteMethod.getTermsEnum(MultiTermQuery.java:74)
        at 
org.apache.lucene.search.TermCollectingRewrite.collectTerms(TermCollectingRewrite.java:34)
        at 
org.apache.lucene.search.ScoringRewrite.rewrite(ScoringRewrite.java:93)
        at 
org.apache.lucene.search.ScoringRewrite$2.rewrite(ScoringRewrite.java:73)
        at 
org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:312)
        at org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:378)
        at 
org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:592)
        at 
org.apache.lucene.search.Searcher.createNormalizedWeight(Searcher.java:167)
        at 
org.apache.lucene.search.IndexSearcher.createNormalizedWeight(IndexSearcher.java:664)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:342)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:330)
        at 
org.apache.james.mailbox.lucene.search.LuceneMessageSearchIndex.update(LuceneMessageSearchIndex.java:1265)
        at 
org.apache.james.mailbox.lucene.search.LuceneMessageSearchIndex.lambda$update$4(LuceneMessageSearchIndex.java:1253)
        at 
com.github.fge.lambdas.runnable.RunnableChainer.doRun(RunnableChainer.java:18)
        at 
com.github.fge.lambdas.runnable.ThrowingRunnable.run(ThrowingRunnable.java:16)
        ... 32 common frames omitted
Wrapped by: com.github.fge.lambdas.ThrownByLambdaException: 
java.io.IOException: null: NIOFSIndexInput(path="/root/_z.tis")
        at 
com.github.fge.lambdas.runnable.ThrowingRunnable.run(ThrowingRunnable.java:20)
        at reactor.core.publisher.MonoRunnable.call(MonoRunnable.java:73)
        at reactor.core.publisher.MonoRunnable.call(MonoRunnable.java:32)
        at 
reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:253)
        at 
reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
        at reactor.core.publisher.MonoUsing.subscribe(MonoUsing.java:109)
        at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
        at reactor.core.publisher.Mono.subscribe(Mono.java:4512)
        at 
reactor.core.publisher.MonoIgnorePublisher.subscribe(MonoIgnorePublisher.java:57)
        at 
reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.resubscribe(FluxRetryWhen.java:219)
        at 
reactor.core.publisher.FluxRetryWhen$RetryWhenOtherSubscriber.onNext(FluxRetryWhen.java:273)
        at 
reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)
        at 
reactor.core.publisher.FluxConcatMapNoPrefetch$FluxConcatMapNoPrefetchSubscriber.innerNext(FluxConcatMapNoPrefetch.java:258)
        at 
reactor.core.publisher.FluxConcatMap$ConcatMapInner.onNext(FluxConcatMap.java:863)
        at 
reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107)
        at 
reactor.core.publisher.MonoFlatMap$FlatMapMain.secondComplete(MonoFlatMap.java:245)
        at 
reactor.core.publisher.MonoFlatMap$FlatMapInner.onNext(MonoFlatMap.java:305)
        at 
reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.complete(MonoIgnoreThen.java:293)
        at 
reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onNext(MonoIgnoreThen.java:188)
        at 
reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:237)
        at 
reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
        at 
reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:165)
        at 
reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.complete(MonoIgnoreThen.java:293)
        at 
reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onNext(MonoIgnoreThen.java:188)
        at 
reactor.core.publisher.MonoDelay$MonoDelayRunnable.propagateDelay(MonoDelay.java:270)
        at 
reactor.core.publisher.MonoDelay$MonoDelayRunnable.run(MonoDelay.java:285)
        at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:68)
        at reactor.core.scheduler.SchedulerTask.call(SchedulerTask.java:28)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at 
java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
 Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
        at java.base/java.lang.Thread.run(Unknown Source)
07:27:18.321 [INFO ] o.a.j.p.n.BasicChannelInboundHandler - Connection closed 
for 172.16.149.220/172.16.149.220:56758

> EHLO Error while connect SMTP
> -----------------------------
>
>                 Key: JAMES-4038
>                 URL: https://issues.apache.org/jira/browse/JAMES-4038
>             Project: James Server
>          Issue Type: Bug
>          Components: James Core, SMTPServer
>    Affects Versions: 3.8.1
>         Environment: debian 11, oracle jdk 21
>            Reporter: ilya terskov
>            Priority: Major
>
> Hi there
> docker run -d --net=host chibenwa/james-jpa:JAMES-4037-2 --generate-keystore
> docker exec ID james-cli AddDomain domain.online
> docker exec ID james-cli AddUser it@domain.online PASS
> networkctl status
> ●   State: routable
> Address: 172.16.149.37 on eth0
>                172.17.0.1 on docker0
> Gateway: 172.16.149.18 (Intel Corporate) on eth0
>        DNS: 172.16.149.14
>                 172.16.149.33
> While trying get smtp test on 587 with SSL, 465 with STARTTLS or 25 
> with/without SSL/STARTTLS for connect happens this
> 06:35:28.976 [ERROR] o.a.j.p.s.c.e.EhloCmdHandler - Invalid EHLO argument 
> received: [IPv6:::ffff:172.16.149.220]. Must be a domain name or an IP 
> address.
> 06:35:28.977 [ERROR] o.a.j.p.s.c.HeloCmdHandler - Invalid EHLO argument 
> received: [IPv6:::ffff:172.16.149.220]. Must be a domain name or an IP 
> address.
> 06:35:28.982 [INFO ] o.a.j.p.n.BasicChannelInboundHandler - Connection 
> established from 172.16.149.220
> 06:35:28.983 [ERROR] o.a.j.p.s.c.e.EhloCmdHandler - Invalid EHLO argument 
> received: [IPv6:::ffff:172.16.149.220]. Must be a domain name or an IP 
> address.
> 06:35:28.984 [ERROR] o.a.j.p.s.c.HeloCmdHandler - Invalid EHLO argument 
> received: [IPv6:::ffff:172.16.149.220]. Must be a domain name or an IP 
> address.
> 06:35:28.989 [INFO ] o.a.j.p.n.BasicChannelInboundHandler - Connection 
> established from 172.16.149.220
> 06:35:28.993 [INFO ] o.a.j.p.n.BasicChannelInboundHandler - Connection 
> established from 172.16.149.220
> 06:35:28.997 [INFO ] o.a.j.p.n.BasicChannelInboundHandler - Connection 
> established from 172.16.149.220
> 06:35:28.998 [ERROR] o.a.j.p.s.c.e.EhloCmdHandler - Invalid EHLO argument 
> received: [IPv6:::ffff:172.16.149.220]. Must be a domain name or an IP 
> address.
> 06:35:28.999 [ERROR] o.a.j.p.s.c.HeloCmdHandler - Invalid EHLO argument 
> received: [IPv6:::ffff:172.16.149.220]. Must be a domain name or an IP 
> address.
> 06:35:29.004 [INFO ] o.a.j.p.n.BasicChannelInboundHandler - Connection 
> established from 172.16.149.220
> 06:35:29.004 [ERROR] o.a.j.p.s.c.e.EhloCmdHandler - Invalid EHLO argument 
> received: [IPv6:::ffff:172.16.149.220]. Must be a domain name or an IP 
> address.
> 06:35:29.006 [ERROR] o.a.j.p.s.c.HeloCmdHandler - Invalid EHLO argument 
> received: [IPv6:::ffff:172.16.149.220]. Must be a domain name or an IP 
> address.
> IPV6 turned off on client side too as well as on server



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to