MATLAB Project Push Error

17 次查看(过去 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 CenterFile Exchange 中查找有关 Source Control 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by