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
Connection attempts to Azure SQL Database fail with an SSL handshake error.
SQLCMD version 1.0.0 is hard coded in the action and is automatically downloaded to the tool cache.
Manually replacing the sqlcmd file in the "/_work/_tool/go-sqlcmd/1.0.0/x64" directory with version 1.5.0 of the tool corrects the issue and results in a successful connection and the execution of the SQL script.
Run azure/sql-action@v2.2.1
##[debug]isExplicit: 1.0.0
##[debug]explicit? true
##[debug]checking cache: /home/xxxxxx/actions-runner/_work/_tool/go-sqlcmd/1.0.0/x64
##[debug]not found
##[debug]Downloading https://github.com/microsoft/go-sqlcmd/releases/download/v1.0.0/sqlcmd-v1.0.0-linux-x64.tar.bz2
##[debug]Destination /home/xxxxxx/actions-runner/_work/_temp/7d56208e-339b-4d15-84cd-240697cf2277
##[debug]download complete
##[debug]Checking tar --version
##[debug]tar (GNU tar) 1.34
##[debug]Copyright (C) 2021 Free Software Foundation, Inc.
##[debug]License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html.
##[debug]This is free software: you are free to change and redistribute it.
##[debug]There is NO WARRANTY, to the extent permitted by law.
##[debug]
##[debug]Written by John Gilmore and Jay Fenlason.
tar xj -v --warning=no-unknown-keyword --overwrite -C /home/xxxxxx/actions-runner/_work/_temp/1741cab9-3291-4dc9-a304-895447f58cdc -f /home/xxxxxx/actions-runner/_work/_temp/7d56208e-339b-4d15-84cd-240697cf2277
NOTICE.md
sqlcmd
sqlcmd_debug
##[debug]Caching tool go-sqlcmd 1.0.0 x64
##[debug]source dir: /home/xxxxxx/actions-runner/_work/_temp/1741cab9-3291-4dc9-a304-895447f58cdc
##[debug]destination /home/xxxxxx/actions-runner/_work/_tool/go-sqlcmd/1.0.0/x64
##[debug]finished caching tool
##[debug]Get action inputs.
::add-mask::***
::add-mask::***
##[debug]Validating if client has access to 'master' on 'server.database.windows.net'.
The process 'sqlcmd' failed with exit code 1
SqlCmd stderr: TLS Handshake failed: cannot read handshake packet: EOF
TLS Handshake failed: cannot read handshake packet: EOF
##[debug]Validating if client has access to 'database' on 'server.database.windows.net'.
The process 'sqlcmd' failed with exit code 1
SqlCmd stderr: TLS Handshake failed: cannot read handshake packet: EOF
TLS Handshake failed: cannot read handshake packet: EOF
Error: Failed to add firewall rule. Unable to detect client IP Address. TLS Handshake failed: cannot read handshake packet: EOF
TLS Handshake failed: cannot read handshake packet: EOF
The text was updated successfully, but these errors were encountered:
Connection attempts to Azure SQL Database fail with an SSL handshake error.
SQLCMD version 1.0.0 is hard coded in the action and is automatically downloaded to the tool cache.
Manually replacing the sqlcmd file in the "/_work/_tool/go-sqlcmd/1.0.0/x64" directory with version 1.5.0 of the tool corrects the issue and results in a successful connection and the execution of the SQL script.
The text was updated successfully, but these errors were encountered: