I can't login to Cody on Neovim

I’m trying to use Cody with the sourcegraph/sg.nvim plugin in neovim.
and I tried logging in but it didn’t seem to work :cry:

Problem:
open nvim

[sg-cody] Invalid authentication. See `:help sg.auth`

try :CodyToggle

Unable to get token and/or endpoint for sourcegraph. Use `:SourcegraphLogin` or `:help sg` for more information
{}

healthCheck

    3 sg:.require("sg.health").check()
    4
    5 sg.nvim.report
    6 -.Machine:.arm64,.sysname:.Darwin
    7 -.OK.Valid.nvim.version:.0.10.4
    8 -.WARNING.Unable.to.find.valid.cargo.executable..Trying.to.build.sg.nvim.locally.will.fail..Instead.use.:SourcegraphDownloadBinaries
    9 -.OK.Found.sg-nvim-agent:."/Users/my_name/.local/share/nvim/site/pack/jetpack/opt/sg.nvim/dist/sg-nvim-agent"
   10 -.OK.Found.node.(config.node_executable).is.executable.
   11 ......Version:.'20.14.0'
   12 -.OK.Found.cody-agent:./Users/my_name/.local/share/nvim/site/pack/jetpack/opt/sg.nvim/dist/cody-agent.js
   13 -.OK...Authentication.setup.correctly
   14 -.OK.....endpoint.set.to:.https://sourcegraph.example.com
   15 -.ERROR...Sourcegraph.Connection.info.failed:.nil
   16 -.ERROR.Cody.Auth.Failed:.nil
   17 -.ERROR.sg.nvim.has.issues.that.need.to.be.resolved

Try:
I’ve done :SourcegraphLogin
I’ve tried :SourcegraphLogin! and entered the AccessToken I got directly from sourcegraph.com
I’ve restarted nvim.
I’ve check :checkhealth sg

My environment:
PC: M3 Mac
OS: Sequoia15.3
Editor: neovim
Shell: zsh

Hey @gou1839

Have you tried logging into Sourcegraph.com directly?
Currently we are experiencing some slowdowns in Europe connecting to Sourcegraph servers.

Please try again in a few minutes if the issue still persists.

Sorry for the inconvenience.

@PriNova
Yes, I am able to log in to Sourcegraph.com.
I also tried logging in using the Access tokens obtained from the Settings screen of Sourcegraph.com with the :SourcegraphLogin! command.