Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Underlying error: unsupported URL protocol #186

Closed
apfohl opened this issue May 22, 2018 · 17 comments
Closed

Underlying error: unsupported URL protocol #186

apfohl opened this issue May 22, 2018 · 17 comments

Comments

@apfohl
Copy link

apfohl commented May 22, 2018

Hi,

I’ve just upgraded to v0.4.0 (4) on my iPhone and discovered an error that my Git remote URL does not seem to work anymore. I’m using the SSH variant: ssh://git@host/pass.git with an SSH key.

When I try to clone, I get an error message: Faild to clone repository from ssh://git@host/pass.git to file:///... Underlying error: unsupported URL protocol.

Maybe this has something to do with the updated dependencies? Nothing has changed at the server side, as the pass CLI is working normally.

Please let me know, if I can provide further information to help solving this bug. For now I leave the state as is (broken).

@apfohl

@mssun
Copy link
Owner

mssun commented May 23, 2018

Thanks for the report. I'll look into this issue, tonight.

@posix4e
Copy link

posix4e commented May 23, 2018

Same on gitlab

@opposablebrain
Copy link

opposablebrain commented May 24, 2018

@mssun I see you commented a while back on a seemingly related issue ([objective-git2#646])(libgit2/objective-git#646) (see OP error message). Is it possible that the release that carthage fetches failed to include libssh?

FWIW, if I force objective-git to 0.13.0 in the Cartfile, everything works fine.

Also, it looks the Pass version in the App Store is coming off the develop branch(0.4.0), rather than master (0.3.1). Is that as intended?

@bexelbie
Copy link

If it helps, I am seeing this on an SSH file access machine that is not a traditional git forge. Appears to be directly related to the update on 23 May, 2018

@mssun
Copy link
Owner

mssun commented May 24, 2018

Sorry for the recent release. I am releasing a new version (fallback to objective-git 0.13.0).

@mssun
Copy link
Owner

mssun commented May 24, 2018

In the meantime, I will investigate the root cause of this issue in the latest objective-git.

@opposablebrain
Copy link

Thanks, @mssun! I will donate $50 to app development if you add a few basic tests, e.g. access a test repo successfully to fetch, add, and push; over https and ssh. I mean that.

@ViktorEvil
Copy link

Same error syncing to a local git server, started after the latest update

@jamespoore
Copy link

When will the new/fixed version be available on the App Store?

Thanks

@mssun
Copy link
Owner

mssun commented May 27, 2018

Hi all, the error is caused by two separate issues (which are not related):

  • https clone error: this is caused by the updated TOS of gitlab, please go to the gitlab website and accept the new TOS. You can use the https to clone the repo.
  • ssh clone error: this is caused by the latest updated objective-git, looks like the released packaged didn't compile SSH function in it. For this issue, I'm still working on it.

Thank you all!

@bexelbie
Copy link

Can you revert the update on the app store for those of not using https?

@mssun
Copy link
Owner

mssun commented May 27, 2018

I'm reverting to the old version. Publishing on App Store still needs some time for review. Please stay tuned. Thanks.

@mssun
Copy link
Owner

mssun commented May 29, 2018

The update is out (0.4.1). Thank you all!

We just temporarily revert to the previous version to work around.

@mssun
Copy link
Owner

mssun commented Jun 16, 2018

Hi all, I'm releasing a test flight because of the merged PR "Update libgit2 to 0.27" (libgit2/objective-git#645). Please help me test if everything works well. Thank you!

@brvier
Copy link

brvier commented Jul 30, 2018

I can test if you have testflight invite.
Regards

@Thor77
Copy link

Thor77 commented Jul 30, 2018

As noone else reported back: With the current build available from the AppStore it works just fine 👍

@mssun
Copy link
Owner

mssun commented Aug 16, 2018

0.5.0 is released on AppStore. I guess there is no such issue right now.

I'm closing this issue. Free fell to reopen this if you have further questions. Thank you all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants