Logstash javapipeline error=> (OpenTimeout) execution expired

Hi Teams.

The problem is in the pipeline.
I noticed that data periodically stops flowing for one index. I checked and after a certain time the port stops "listening". At the input, TCP is listening, I saw this message in the logs:

[ERROR][logstash.javapipeline    ][expressway-pipe] Pipeline worker error, the pipeline will be stopped {:pipeline_id=>"expressway-pipe", :error=>"(OpenTimeout) execution expired", :exception=>Java::OrgJrubyExceptions::RuntimeError, :backtrace=>["org.jruby.RubyRegexp.match?(org/jruby/RubyRegexp.java:1132)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.start_workers(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:304)"], :thread=>"#<Thread:0x4c60c64f /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:134 sleep>"}

Logstash version 8.13.3

At first the data is coming, but then problems start? Any ideas?
Thanks.

Hi, update.

Noticed a pipeline problem again, but with a different port. The error is the same. Any ideas? I'd be glad for any ideas.
Logstash version = 8.13.3 elastic version = 8.15.0. Could this cause some compatibility issues? But according to the matrix there shouldn't be any or am I missing something?

Hi. I started to notice some more problems on one more port.
I updated logstash to version 8.15 but still have problems. I'm losing logs, any ideas?

[ERROR][logstash.javapipeline    ][gw-pipe] Pipeline worker error, the pipeline will be stopped {:pipeline_id=>"gw-pipe", :error=>"(OpenTimeout) execution expired", :exception=>Java::OrgJrubyExceptions::RuntimeError, :backtrace=>["org.jruby.RubyRegexp.match?(org/jruby/RubyRegexp.java:1138)", "usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.start_workers(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:304)"], :thread=>"#<Thread:0x125776d0 /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:134 sleep>"}
[WARN ][logstash.javapipeline    ][gw-pipe] Waiting for input plugin to close {:pipeline_id=>"gw-pipe", :thread=>"#<Thread:0x125776d0 /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:134 run>"}