You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Oracle connection fails with uncleanShutdown on non-TLS server #483
Tried connecting to an Oracle database (port 1521, plain TCP, no TLS) and got this:
Failed to connect to <redacted>:1521/<redacted>: OracleSQLError(code: uncleanShutdown) - Some information has been reducted to prevent accidental leakage of sensitive data. For additional debugging details, use `String(reflecting: error)`.
The same server works fine from SQL Developer and DBeaver with identical credentials. So the database itself is reachable and accepting connections -- just not from TablePro.
What I think is going on
Based on oracle-nio issue lovetodream/oracle-nio#21, the underlying error is probably NIOSSL.NIOSSLError.uncleanShutdown. My Oracle server runs on standard port 1521 with plain TCP (no TLS/TCPS). It looks like the Oracle driver is trying to negotiate TLS, the server doesn't speak TLS, and it just drops the connection.
There's also a firewall between my machine and the server, but that shouldn't matter since other clients get through without issues.
What I expected
A successful connection, or at least a clearer error message (e.g. "TLS handshake failed, try disabling SSL" or something along those lines).
Environment
macOS (Apple Silicon)
TablePro: latest version from GitHub Releases
Oracle server: port 1521, plain TCP, no TLS requirement
Suggestion
It would help to have either:
An option in the connection form to disable TLS for Oracle connections
Auto-detection of whether the server supports TLS before attempting the handshake
Thanks for checking. 12.1.0.2 with Service Name should work in theory.
This is most likely a protocol-level issue in oracle-nio (the Swift library TablePro uses). It implements the TNS wire protocol directly, unlike DBeaver which uses Oracle's official JDBC
driver. 12.1.0.2 is the earliest 12c patchset and there may be subtle protocol differences.
I'll investigate further and open an issue on the oracle-nio repo. Could you check the Oracle listener log to see if the connection attempt shows a rejection reason?
@datlechin store caching của driver update như thế nào thế
mình vào xem vẫn chỉ thấy bản 1.2.10
còn xoá driver thì app đang ko check đc thiếu driver và chỉ nhả ra crash
mình update driver lên 1.2.15 và bị cái lỗi mới này rồi
Connection Failed
OracleSQLError(code: advancedNegotiationFailed) - Some information has been reducted to prevent accidental leakage of sensitive data. For additional debugging details, use `String(reflecting: error)`.
Activity
datlechin commentedon Mar 28, 2026
Thanks for reporting. I investigated and TLS is not the cause. TablePro already connects via plain TCP by default.
The
uncleanShutdownerror means the server dropped the connection during the TNS handshake.Common causes:
Could you share your Oracle server version and whether you connect via SID or Service Name?
wiscaksono commentedon Mar 28, 2026
Thanks for looking into this.
Checked both:
SELECT VALUE FROM V$PARAMETER WHERE NAME = 'service_names'So neither of those should be the problem. Connects fine from DBeaver with the same host, port, service name, and credentials.
Anything else I can check on my end?
datlechin commentedon Mar 28, 2026
Thanks for checking. 12.1.0.2 with Service Name should work in theory.
This is most likely a protocol-level issue in oracle-nio (the Swift library TablePro uses). It implements the TNS wire protocol directly, unlike DBeaver which uses Oracle's official JDBC
driver. 12.1.0.2 is the earliest 12c patchset and there may be subtle protocol differences.
I'll investigate further and open an issue on the oracle-nio repo. Could you check the Oracle listener log to see if the connection attempt shows a rejection reason?
wiscaksono commentedon Mar 28, 2026
Don't have access to the server or listener logs, that's all on the DBA team's side.
Can try stuff from the client side if needed. Otherwise I'll just wait for the oracle-nio investigation. Down to test a new build whenever.
datlechin commentedon Mar 28, 2026
Filed upstream: lovetodream/oracle-nio#106
I confirmed Oracle 18c XE connects fine, so the issue is specific to 12.1.0.2. Waiting on the oracle-nio maintainer for input.
Toni-99 commentedon Mar 28, 2026
Can confirm, that Oracle Thin Drivers are not supported.
zetkey commentedon Apr 17, 2026
had same issue with:
if allowed to compare, my config runs well on dbeaver
datlechin commentedon May 4, 2026
@wiscaksono @zetkey try to update both TablePro app and Oracle in Settings then try connect to the Oracle connection. Hope it would fixes the issue.
wiscaksono commentedon May 5, 2026
zetkey commentedon May 6, 2026
This still happened to me too. But, some of oracle dbs that I'm using can connect just fine, some of them cannot. Still, it all works on Dbeaver.
datlechin commentedon May 6, 2026
Thank guy, I'll invetigest the issue more, have some references from Dbeaver
tunglt1810 commentedon May 29, 2026
up
7 remaining items
datlechin commentedon Jun 8, 2026
Thank anh @tunglt1810 đã thông tin, để em check tiếp
fix(plugin-oracle): surface server errors under network encryption wi…
tunglt1810 commentedon Jun 9, 2026
mình tải bản 0.50.0 về đăng nhập oracle xong vẫn bị crassh
datlechin commentedon Jun 9, 2026
Hi anh @tunglt1810, em mới release plugin Oracle v1.2.11, anh vô settings update xong thử lại xem hoạt động được chưa nha anh
tunglt1810 commentedon Jun 9, 2026
@datlechin store caching của driver update như thế nào thế
mình vào xem vẫn chỉ thấy bản 1.2.10
còn xoá driver thì app đang ko check đc thiếu driver và chỉ nhả ra crash
tunglt1810 commentedon Jun 9, 2026
tunglt1810 commentedon Jun 9, 2026
mình đang chạy oracle 19
fix: stop Oracle decode crashes and mislabeled MongoDB TLS errors (#483…
datlechin commentedon Jun 21, 2026
Hi anh @tunglt1810, anh update lên bản mới v0.52.1 thử lại giúp em xem works chưa anh
tunglt1810 commentedon Jul 8, 2026
sau hôm report cái bug này #1807 (comment)
mình update driver lên 1.2.15 và bị cái lỗi mới này rồi
fix(plugin-oracle): negotiate native network encryption at ACCEPTED s…