Skip to content

Troubleshooting / Publishing Scripts/Executing Functions When MySQL Encounters "ERROR 2026 (HY000)"

Due to Ubuntu 20.04's minimum SSL version requirement being v1.2, after upgrading older versions of DataFlux Func to version 1.5.5, the following exception may occur when publishing/running scripts:

Text Only
1
ERROR 2026 (HY000): SSL connection error: error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol

DataFlux Func version 1.5.5 and later have built-in automatic configuration modification handling. A normal upgrade should suffice.

If the issue persists, you can try the following manual fix:

  1. Open the <installation-directory>/docker-stack.yaml file (default location is /usr/local/dataflux-func/docker-stack.yaml)
  2. In the yaml file, locate the service / mysql / command configuration and add the --tls-version=TLSv1.2 parameter.

The reference modification is as follows:

Text Only
1
2
3
4
5
# Change from
command: --innodb-large-prefix=on (... etc.)

# To
command: --tls-version=TLSv1.2 --innodb-large-prefix=on (... etc.)