Skip to Main Content

SQL Developer for VS Code

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error Activating Extension -"[ERROR] connectServer->error"

Daniel Fox2 days ago

This issue does not alway occur but does so frequently in our setup. When I launch VSCode and the extension opens, sometimes it hangs on “Activating Oracle SQL Developer Extension for VSCode…” and othertimes it launches perfectly fine. When it fails to activate, we close VSCode completely and launch again. Sometimes it takes 2-3 times for it to work but it eventually does. This is starting to occur more frequently as of late.

NOTE: This is a LONG post as it has the logs

Environment Details:

Version: 1.104.1 (user setup)
Commit: 0f0d87fa9e96c856c5212fc86db137ac0d783365
Date: 2025-09-17T23:36:24.973Z
Electron: 37.3.1
ElectronBuildId: 12404162
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Windows_NT x64 10.0.26100

Extension Version: 25.2.2

Full Debug logs are attached. Connections have been removed from log and replaced with the text below for security purposes:

"_comment": "CONTENT REDACTED FOR SECURITY PURPOSES"

SQL Developer Log - ERROR.log

[09/18/25, 08:52:17.281] [dbtools-ext ] [INFO ] Activating Oracle SQL Developer Extension for VSCode... 
[09/18/25, 08:52:17.325] [dbtools-client ] [INFO ] Starting server... 
[09/18/25, 08:52:17.364] [dbtools-client ] [INFO ] Server startup completed 
[09/18/25, 08:52:25.900] [dbtools-client ] [INFO ] Server 'Oracle SQL Developer for VS Code' 25.2.2 running at http://localhost:62643/ 
[09/18/25, 08:52:25.900] [dbtools-client ] [INFO ] Language Services connecting at http://localhost:62643/20221610/language-server/oracle-sql/socket 
[09/18/25, 08:52:25.918] [dbtools-client ] [INFO ] Language Services Websocket Created (oracle-sql) 
[09/18/25, 08:52:31.819] [language-service] [ERROR] connectServer->error 

[09/18/25, 08:52:31.819] [dbtools-ext ] [ERROR] connect error 
[09/18/25, 08:52:31.820] [language-service] [INFO ] Closing 
[09/18/25, 08:52:31.820] [language-service] [INFO ] closed 
[09/18/25, 08:52:31.820] [dbtools-client ] [INFO ] Closing 
[09/18/25, 08:52:31.821] [dbtools-client ] [INFO ] Sending server shutdown 
[09/18/25, 08:52:31.821] [dbtools-client ] [INFO ] dbtools-server process terminated 
[09/18/25, 08:52:31.821] [dbtools-client ] [INFO ] Closed 

Steps to “Clear”: Closed and re-opened VS Code till it would launch successfully. (3 times in this case)

SQL Developer - Log [Successful activation]


[09/18/25, 08:58:14.258] [dbtools-ext     ] [INFO ] Activating Oracle SQL Developer Extension for VSCode...
[09/18/25, 08:58:14.311] [dbtools-client  ] [INFO ] Starting server...
[09/18/25, 08:58:14.344] [dbtools-client  ] [INFO ] Server startup completed
[09/18/25, 08:58:23.214] [dbtools-client  ] [INFO ] Server 'Oracle SQL Developer for VS Code' 25.2.2 running at http://localhost:50791/
[09/18/25, 08:58:23.215] [dbtools-client  ] [INFO ] Language Services connecting at http://localhost:50791/20221610/language-server/oracle-sql/socket
[09/18/25, 08:58:23.234] [dbtools-client  ] [INFO ] Language Services Websocket Created (oracle-sql)
[09/18/25, 08:58:27.245] [dbtools-ext     ] [INFO ] Oracle SQL Developer Extension for VSCode has been activated
[09/18/25, 08:58:27.249] [SQLcl MCP Server] [INFO ] SQLcl MCP Server Initialized

SQL Developer Log - Initialized.log

Comments
Post Details
Added 2 days ago
2 comments
36 views