MATLAB Project Push Error

18 ビュー (過去 30 日間)
Thomas Wilson
Thomas Wilson 2025 年 6 月 5 日
回答済み: Harsh 2025 年 6 月 12 日
Getting an eror when I attempt to push a MATLAB project. Project is stored on a network drive and it's pushing into a bitbucket repo that's hosted on internal servers.
Unable to push to the remote "origin" at https://bitbucket.###.com/scm/~###/###.git.
could not decrypt tls message (-1x16)
The hashtags are just redactions.
Thanks,
Thomas

回答 (1 件)

Harsh
Harsh 2025 年 6 月 12 日
The error "could not decrypt TLS message (-1x16)" usually indicates a TLS handshake failure between your Git client and the Bitbucket server.
This issue can arise from several factors, often related to outdated software or misconfigurations in your environment.
Follow these steps to troubleshoot the issue:
  • Move the project to a local drive and try pushing again. Network drives can cause permission or connectivity issues that interfere with TLS.
  • Update the Git client used by MATLAB. Either update MATLAB itself or configure it to use a newer, system-installed Git version.
  • Check for multiple Git installations. MATLAB might be using an outdated version. Ensure your system’s PATH points to the correct Git, or set it explicitly in MATLAB preferences.
  • Reconfigure Git’s SSL backend by running:
>>> git config --global http.sslBackend "openssl"
>>> git config --global http.sslVerify "true"
Please note that if you are running these commands in the MATLAB Command Window, you need to prefix them with an exclamation mark '!'.
  • Temporarily disable firewall or antivirus software to test if they are blocking encrypted traffic. If the push works, add an exception for your Bitbucket server.
For more details, refer to the following documentations:
I hope this helps, thanks!

カテゴリ

Help Center および File ExchangeSource Control についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by