Symptom
Client ODC stalls on the loading page for more than one minute.
Possible causes
The local port is disabled on the firewall.
The system has historical ODC processes.
The Java version is incompatible.
Solutions
Local port disabled on the firewall
Disable the firewall.
If the firewall cannot be disabled, ensure that at least one of the ports 8989-8999, 9989-9999, 10089-10099, 120 89-12099 is available, and specify the ODC port number by setting the environment variable
ODC_PORT(in ODC of versions earlier than V4.0.0) orODC_MAPPING_PORT(in ODC V4.0.0 and later).
Historical ODC processes in the system
Go to Task Manager, close all ODC-related processes, and restart Task Manager to ensure that all ODC-related processes are closed.
Restart ODC.
Incompatible Java version
Make sure that the local Java version is later than 1.8.0_200.
Other solutions
If the preceding solutions do not work, contact OceanBase Technical Support and provide relevant logs.
Log directory of ODC V3.3.0 and later
macOS: the
serverandclientfolders in the~/Library/Application Support/odc/logsdirectory, where~is usually/Users/{username}.Windows: the
serverandclientfolders in the%USERPROFILE%\AppData\Roaming\odc\logsdirectory, where%USERPROFILE%is usuallyC:\Users\{username}\.
Log directory of ODC 2.3.0 to 3.2.x
macOS: the
logsandjavaLogfolders in the~/Library/Application Support/odcdirectory, where~is usually/Users/{username}.Windows: the
logsandjavaLogfolders in the%USERPROFILE%\AppData\Roaming\odcdirectory, where%USERPROFILE%is usuallyC:\Users\{username}\.
Log directory of ODC 2.2.x and earlier
macOS: the
logsandjavaLogfolders in the/Users/{user}/Library/Application Support/odc-sql-console/logsdirectoryWindows:
%USERPROFILE%\AppData\Roaming\odc-sql-console\logs, where%USERPROFILE%is usuallyC:\Users\{username}\.