Connection issues

Updated at:

No worker available

Problem description:

The system reports a "no worker available" error.

Possible cause:

This error may be caused by a configuration error.

Solution:

  1. Log on to the worker to view the SchedulerX logs. The log path is /${user.home}/logs/schedulerx/worker.log.

    • If the process is started by the admin account, the log path is /home/admin/logs/schedulerx/worker.log.

    • If the process is started by the root account, the log path is /root/logs/schedulerx/worker.log.

  2. Search for the WorkerConfig keyword. Check whether the Endpoint, Namespace, and GroupId are correctly configured.

DomainNotFoundException error during application publishing

Problem description:

Caused by: com.alibaba.schedulerx.worker.exception.DomainNotFoundException: Not found domainName

1

Possible cause:

The specified Endpoint does not correspond to the correct environment.

Solution:

Check whether the production machine corresponds to the Endpoint. You can connect only to public network Endpoints locally. For more information about the Endpoints that SchedulerX supports, see Endpoint list.

"can not find namespaceId" error during application publishing

Problem description:

The application fails to start and reports the following error.

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

Possible causes:

  • The Namespace parameter is incorrectly configured for the connection.

  • The application deployment region does not match the region where the namespace was created in the scheduling console.

    For example, the namespace was created in the China (Hangzhou) region, but the application is configured to connect to the public network.

Solution:

Log on to the the SchedulerX console console. On the Application Management page, click Connection Configuration and check the information.

How do I test a local connection for SchedulerX?

In the SchedulerX console, switch the region to Public Network. Then, create a new application and connect to it over the public network. For more information, see Connect to the public network environment locally.

1

What do I do if the local SchedulerX proxy cannot connect to the public network?

If the direct public network connection works but the proxy mode fails, specify the corresponding Endpoint. For more information about deployment regions and their corresponding Endpoints, see Endpoint list.