naijim opened a new issue, #9206: URL: https://github.com/apache/seatunnel/issues/9206
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened I am trying seatunnel-web of the latest HEAD of main branch, Commit 2abcb21. I found failure regarding mongodb. This is a fresh install compiled from source. I have no idea what happened. ### SeaTunnel Version seatunnel-web: Commit 2abcb21(compiled with java 1.8) seatunnel: 2.3.8, downloaded from official website. ### SeaTunnel Config ```conf Install seatunnel 3.2.8, start it with sh `bin/seatunnel-cluster.sh` with default config. I have following config in `/etc/profile`: export SEATUNNEL_HOME=/Users/jack/Downloads/apache-seatunnel-2.3.8 export SEATUNNEL_WEB_HOME=/Users/jack/Downloads/apache-seatunnel-web-1.0.3-SNAPSHOT export ST_WEB_BASEDIR_PATH=/Users/jack/Downloads/apache-seatunnel-web-1.0.3-SNAPSHOT export PATH=$PATH:$SEATUNNEL_HOME/bin:$SEATUNNEL_WEB_HOME/bin ``` ### Running Command ```shell follow instruction from `https://github.com/apache/seatunnel-web` and install seatunnel-web. start seatunnel-web with: sh bin/seatunnel-backend-daemon.sh start ``` ### Error Exception ```log 2025-04-21 16:48:15.328 seatunnel Walnut.local INFO [tr:,sp:] [main] [AbstractLogger.info():69] - Client statistics is enabled with period 5 seconds. 2025-04-21 16:48:15.362 seatunnel Walnut.local WARN [tr:,sp:] [main] [GroovyTemplateAutoConfiguration$GroovyMarkupConfiguration.checkTemplateLocationExists():86] - Cannot find template location: classpath:/templates/ (please add some templates, check your Groovy configuration, or set spring.groovy.template.check-template-location=false) 2025-04-21 16:48:15.528 seatunnel Walnut.local INFO [tr:,sp:] [main] [AbstractContextSource.afterPropertiesSet():424] - Property 'userDn' not set - anonymous context will be used for read-write operations 2025-04-21 16:48:15.623 seatunnel Walnut.local INFO [tr:,sp:] [main] [SLF4JLogger.info():71] - MongoClient with metadata {"driver": {"name": "mongo-java-driver|sync|spring-boot", "version": "4.7.1"}, "os": {"type": "Darwin", "name": "Mac OS X", "architecture": "aarch64", "version": "15.3"}, "platform": "Java/Oracle Corporation/1.8.0_391-b13"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=null, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DBRefCodecProvider{}, DBObjectCodecProvider{}, DocumentCodecProvider{}, IterableCodecProvider{}, MapCodecProvider{}, GeoJsonCodecProvider{}, GridFSFileCodecProvider{}, Jsr310CodecProvider{}, JsonObjectCodecProvider{}, BsonCodecProvider{}, EnumCodecProvider{}, com.mongodb.Jep395R ecordCodecProvider@78839c2e]}, clusterSettings={hosts=[localhost:27017], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[]', serverSelectionTimeout='30000 ms', localThreshold='30000 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, sendBufferSize=0}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, sendBufferSize=0}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicati onName='null', compressorList=[], uuidRepresentation=JAVA_LEGACY, serverApi=null, autoEncryptionSettings=null, contextProvider=null} 2025-04-21 16:48:15.627 seatunnel Walnut.local INFO [tr:,sp:] [cluster-ClusterId{value='6806064f57f67e414e012019', description='null'}-localhost:27017] [SLF4JLogger.info():76] - Exception in monitor thread while connecting to server localhost:27017 com.mongodb.MongoSocketOpenException: Exception opening socket at com.mongodb.internal.connection.SocketStream.open(SocketStream.java:70) at com.mongodb.internal.connection.InternalStreamConnection.open(InternalStreamConnection.java:180) at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.lookupServerDescription(DefaultServerMonitor.java:193) at com.mongodb.internal.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:157) at java.lang.Thread.run(Thread.java:750) Caused by: java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:476) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:218) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:394) at java.net.Socket.connect(Socket.java:606) at com.mongodb.internal.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:107) at com.mongodb.internal.connection.SocketStream.initializeSocket(SocketStream.java:79) at com.mongodb.internal.connection.SocketStream.open(SocketStream.java:65) ... 4 common frames omitted ``` ### Zeta or Flink or Spark Version _No response_ ### Java or Scala Version _No response_ ### Screenshots _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
