Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.65k stars 1.96k forks source link

"HTTP Error: 500 handshakefailed" during Setup of Git Sync #3944

Open higgs01 opened 3 years ago

higgs01 commented 3 years ago

Describe the bug While configuring Git Sync for a Design Document i get following error:

HTTP Error: 500 handshakefailed

HttpError: HTTP Error: 500 handshakefailed
    at Function.discover (C:\Users\AXLWU01\AppData\Local\insomnia\app-2021.4.1\resources\app.asar\node_modules\isomorphic-git\index.cjs:6556:13)
    at async _fetch (C:\Users\AXLWU01\AppData\Local\insomnia\app-2021.4.1\resources\app.asar\node_modules\isomorphic-git\index.cjs:7206:22)
    at async _clone (C:\Users\AXLWU01\AppData\Local\insomnia\app-2021.4.1\resources\app.asar\node_modules\isomorphic-git\index.cjs:7614:42)
    at async Object.clone (C:\Users\AXLWU01\AppData\Local\insomnia\app-2021.4.1\resources\app.asar\node_modules\isomorphic-git\index.cjs:7740:12)
    at async Object.shallowClone (file:///C:/Users/AXLWU01/AppData/Local/insomnia/app-2021.4.1/resources/app.asar/bundle.js:285992:5)
    at async GitRepositorySettingsModal.onSubmitEdits [as _onSubmitEdits] (file:///C:/Users/AXLWU01/AppData/Local/insomnia/app-2021.4.1/resources/app.asar/bundle.js:157596:25)

To Reproduce Steps to reproduce the behavior:

  1. Open a Design Document
  2. Click "Setup Git Sync"
  3. Fill in credentials and git url
  4. click "Done"

Screenshot image image

Expected behavior Git Sync is setup sucessfully

Desktop (please complete the following information):

Additional context We're using a selfhosted GitLab and the connection to gitlab from my client is through a SSL-Terminating proxy. Normal git-operations using git-cli, git-fork or visual studio code are successful. My local git installation is configured to use this proxy and the proxy is configured in Insomnia aswell (HTTP-Requests using Insomnia work).

filfreire commented 2 years ago

Hi @higgs01, thank you for reporting this!

We will need to investigate this further, but are you by any chance still able to reproduce this using latest Insomnia release?