全部產品
Search
文件中心

Microservices Engine:接入問題

更新時間:May 26, 2026

無可用機器(no worker available)

問題現象:

無可用機器,系統提示no worker available。

可能原因:

可能為配置錯誤。

解決方案:

  1. 登入Worker查看SchedulerX的日誌,日誌路徑為/${user.home}/logs/schedulerx/worker.log

    • 如果是admin帳號啟動進程,日誌路徑為/home/admin/logs/schedulerx/worker.log

    • 如果是root帳號啟動進程,日誌路徑為/root/logs/schedulerx/worker.log

  2. 搜尋WorkerConfig關鍵字,查看Endpoint、Namespace和GroupId是否配置正確。

應用發布報錯DomainNotFoundException

問題現象:

Caused by: com.alibaba.schedulerx.worker.exception.DomainNotFoundException: Not found domainName
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerxWorker' defined in class path resource [com/alibaba/schedulerx/SchedulerxAutoConfigure.class]: Invocation of init method failed
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:602)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:524)
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583)
	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:144)
	...
Caused by: java.io.IOException: Schedulerx WorkerConfig[domainName=]
	at com.alibaba.schedulerx.worker.SchedulerxWorker.init(SchedulerxWorker.java:223)
	at com.alibaba.schedulerx.worker.SchedulerxWorker.afterPropertiesSet(SchedulerxWorker.java:831)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1845)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1782)
	... 16 common frames omitted
Caused by: com.alibaba.schedulerx.worker.exception.DomainNotFoundException: Not found domainName.
	at com.alibaba.schedulerx.worker.SchedulerxWorker.init(SchedulerxWorker.java:151)
	... 19 common frames omitted

可能原因:

Endpoint和相應的環境沒有正確對應。

解決方案:

排查線上的機器是否和Endpoint對應,本地只能串連公網的Endpoint。關於SchedulerX支援的Endpoint,請參見Endpoint列表

應用發布報錯can not find namespaceId

問題現象:

應用啟動報錯如下。

can not find namespaceId, key: d783212a9c-5a00-4d00-b8ca-b7a68824c97f
source:schedulerx domain=schedulerx-test.console.aliyun.com

可能原因:

  • 接入配置的Namespace參數配置不正確。

  • 部署應用機器的地區和調度控制台建立的命名空間所在地區不一致。

    例如:對應命名空間建立於杭州Region,但當前應用配置的接入地區為公網。

解決方案:

登入MSE SchedulerX控制台,在应用管理頁面,單擊接入配置然後核對相關資訊。

SchedulerX如何進行本地串連測試?

在SchedulerX控制台將地區切換為公网,在公網下建立應用並接入。具體操作,請參見在本地接入公網環境

SchedulerX本地代理無法串連公網怎麼辦?

當公網直連環境正常但代理模式無法串連時,您需要指定對應Endpoint。關於部署應用的地區(Region)和對應的Endpoint,請參見Endpoint列表

使用電訊廠商專線打通網路在自建IDC或者辦公網無法解析網域名稱。

專線連通後,需要完成轉寄管理配置,將阿里雲VPC下內網網域名稱解析的DNS請求流量轉寄到外部DNS系統後,自建IDC或辦公網路可以正確解析。