Unable to land - error 403

I’m trying to land T2953 using instructions from this page, but Im getting a 403 error, am I doing something wrong?

$ arc land
STRATEGY  Merging with "squash" strategy, the default strategy.
SOURCE  Landing the current branch, "arcpatch-D1527_1".
ONTO REMOTE  Landing onto remote "origin", the default remote under Git.
ONTO TARGET  Landing onto target "master", the default target under Git.
INTO REMOTE  Will merge into remote "origin" by default, because this is the remote the change is landing onto.
INTO TARGET  Will merge into target "master" by default, because this is the "onto" target.
FETCH  Fetching "master" from remote "origin"...

$   git fetch --no-tags --quiet -- origin master


INTO COMMIT  Preparing merge into "master" from remote "origin", at commit "f0726db83d73".
LANDING  These changes will land:

*   D1527 T2953
0c8986f10755  T2953

>>>  Land these changes? [y/N/?] y
MERGING  0c8986f10755 T2953
MERGE  Attempting to rebase changes.
DONE  Merge succeeded.
PUSHING  Pushing changes to "origin".

$   git push -- origin d1fa8727e22d:refs/heads/master

fatal: unable to access 'http://hub.sealcode.org/source/module-starter.git/': The requested URL returned error: 403

LOAD STATE  Restoring local state (to ref "arcpatch-D1527_1" at commit "0c8986f10755").
USAGE EXCEPTION  Push failed! Fix the error and run "arc land" again.

In order to have write access to a remote repository on Sealhub, you need to access it through SSH, not HTTPS.

Use the ssh:// link to clone your repo.

As you have your repository already cloned, you can run

git remote set-url origin ssh://git@hub.sealcode.org/source/module-starter.git

And then retry the landing of the diff :+1:

1 Like

I just realized I asked about the same thing some time ago lol. Well, thanks, I’ll try to remember this time.

1 Like

Also, I think this would be worth mentioning here along with this.