# Update fails when remote does not "negotiate mechanisms"

**URL:** https://discourse.julialang.org/t/update-fails-when-remote-does-not-negotiate-mechanisms/42883
**Category:** General Usage
**Tags:** update
**Created:** [July 11, 2020, 2:43am UTC](https://discourse.julialang.org/t/update-fails-when-remote-does-not-negotiate-mechanisms/42883 "2020-07-11T02:43:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SocksNSandals](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/socksnsandals/32/12008_2.png) [@SocksNSandals](https://discourse.julialang.org/u/SocksNSandals)
#### Post date: [July 11, 2020, 2:43am UTC](https://discourse.julialang.org/t/update-fails-when-remote-does-not-negotiate-mechanisms/42883/1 "2020-07-11T02:43:00Z")

</div>

I attempted to do a `]update` on a private julia repo and got the following error:

```julia
(mypackage) pkg> update
   Updating registry at `~/.julia/registries/General`
   Updating git-repo `https://github.com/JuliaRegistries/General.git`
   Updating git-repo `https://git.mycompany.com/mypackage.jl.git`
Username for 'https://git.mycompany.com': socksNsandals
Password for 'https://socksNsandals@git.mycompany.com': 
ERROR: failed to fetch from https://git.mycompany.com/mypackage.jl.git, error: GitError(Code:ERROR, Class:Net, remote requested authentication but did not negotiate mechanisms)

```

This recently was working form me in julia 1.1, but I simultaneously  
a) upgraded to julia 1.4.2  
b) upgraded my mac OS from High Sierra to Catalina  
c) enabled two-factor authentication for my gitlab account

Outside of julia, I am able to push/pull, so this seems to be a julia-specific issue.
