Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地启动报错 #210

Open
javamyth opened this issue Jun 12, 2024 · 0 comments
Open

本地启动报错 #210

javamyth opened this issue Jun 12, 2024 · 0 comments

Comments

@javamyth
Copy link

按照操作手册的方式,拉的是main分支,启动的polardbx-sql,报错如下:

2024-06-12 10:38:10.839 INFO [TDDL] New session: XSession sid=2 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.844 INFO [TDDL] New session: XSession sid=3 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.844 INFO [TDDL] New session: XSession sid=4 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.845 INFO [TDDL] New session: XSession sid=5 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.845 INFO [TDDL] New session: XSession sid=6 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.845 INFO [TDDL] New session: XSession sid=7 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.845 INFO [TDDL] New session: XSession sid=8 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.845 INFO [TDDL] New session: XSession sid=9 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.845 INFO [TDDL] New session: XSession sid=10 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.845 INFO [TDDL] New session: XSession sid=11 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.846 INFO [TDDL] New session: XSession sid=12 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.846 INFO [TDDL] New session: XSession sid=13 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.846 INFO [TDDL] New session: XSession sid=14 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.846 INFO [TDDL] New session: XSession sid=15 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.846 INFO [TDDL] New session: XSession sid=16 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.847 INFO [TDDL] New session: XSession sid=17 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.847 INFO [TDDL] New session: XSession sid=18 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.848 INFO [TDDL] New session: XSession sid=19 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.848 INFO [TDDL] New session: XSession sid=20 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.848 INFO [TDDL] New session: XSession sid=21 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:10.848 INFO [TDDL] New session: XSession sid=22 status=Init from XClient of X-NIO-Client to my_polarx#[email protected]:32886, tddl version: 5.4.19-20240612
2024-06-12 10:38:15.447 INFO [TDDL] XProtocol NIOWorker start with 20 threads and 13421772 bytes buf per thread., tddl version: 5.4.19-20240612
2024-06-12 10:38:18.961 INFO [TDDL] XConnectionManager new datasource to [email protected]:32886 id is 0 NOW_GLOBAL_SESSION: 0, tddl version: 5.4.19-20240612
2024-06-12 10:39:35.107 ERROR ERR-CODE: [PXC-10003][ERR_X_PROTOCOL_CONNECTION] XClientPool to my_polarx#[email protected]:32886 get XConnection timeout. 10000000000ns XClientPool to my_polarx#[email protected]:32886 now 0 TCP(0 aging), 0 sessions(0 running, 0 idle), 0 waiting connection.
com.alibaba.polardbx.common.exception.TddlNestableRuntimeException: ERR-CODE: [PXC-10003][ERR_X_PROTOCOL_CONNECTION] XClientPool to my_polarx#[email protected]:32886 get XConnection timeout. 10000000000ns XClientPool to my_polarx#[email protected]:32886 now 0 TCP(0 aging), 0 sessions(0 running, 0 idle), 0 waiting connection.
at com.alibaba.polardbx.rpc.pool.XConnectionManager.getConnection(XConnectionManager.java:514)
at com.alibaba.polardbx.rpc.compatible.XDataSource.getConnection(XDataSource.java:193)
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.initTsoServicesX(MetaDbDataSource.java:139)
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.initXDataSourceByJdbcProps(MetaDbDataSource.java:202)
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.initMetaDbDataSource(MetaDbDataSource.java:213)
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.doInit(MetaDbDataSource.java:135)
at com.alibaba.polardbx.common.model.lifecycle.AbstractLifecycle.init(AbstractLifecycle.java:43)
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.getInstance(MetaDbDataSource.java:530)
at com.alibaba.polardbx.gms.metadb.MetaDbDataSource.initMetaDbDataSource(MetaDbDataSource.java:562)
at com.alibaba.polardbx.config.loader.ServerLoader.initPolarDbXComponents(ServerLoader.java:216)
at com.alibaba.polardbx.config.loader.ServerLoader.load(ServerLoader.java:191)
at com.alibaba.polardbx.config.loader.ServerLoader.doInit(ServerLoader.java:96)
at com.alibaba.polardbx.common.model.lifecycle.AbstractLifecycle.init(AbstractLifecycle.java:43)
at com.alibaba.polardbx.CobarConfig.initCobarConfig(CobarConfig.java:80)
at com.alibaba.polardbx.CobarConfig.(CobarConfig.java:61)
at com.alibaba.polardbx.CobarServer.(CobarServer.java:160)
at com.alibaba.polardbx.CobarServer.(CobarServer.java:114)
at com.alibaba.polardbx.server.TddlLauncher.main(TddlLauncher.java:126)
Caused by: com.alibaba.polardbx.common.exception.TddlRuntimeException: ERR-CODE: [PXC-10003][ERR_X_PROTOCOL_CONNECTION] XClientPool to my_polarx#[email protected]:32886 get XConnection timeout. 10000000000ns
at com.alibaba.polardbx.rpc.pool.XClientPool.getConnection(XClientPool.java:446)
at com.alibaba.polardbx.rpc.pool.XClientPool.getConnection(XClientPool.java:287)
at com.alibaba.polardbx.rpc.pool.XConnectionManager.getConnection(XConnectionManager.java:502)
... 17 common frames omitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant