heroku / heroku/heroku-buildpack-clojure

AgentProxyException when referencing a git repo in deps.edn

Open
#65 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
116
Forks
113
Avg merge
17h 40m
Merged PRs (30d)
6

Description

I'm trying to deploy a project that references another gitlab repo as a dependency through clojure deps.

In order to have the required ssh keys, I use the following custom buildpack on top of the clojure one: https://github.com/simon0191/custom-ssh-key-buildpack

But when trying to pull this private gitlab repo through clojure deps, I get the following message:

```
com.jcraft.jsch.agentproxy.AgentProxyException: connector is not available:
at com.jcraft.jsch.agentproxy.ConnectorFactory.createConnector (ConnectorFactory.java:120)
clojure.tools.gitlibs.impl$fn__1007.invokeStatic (impl.clj:30)
clojure.tools.gitlibs.impl/fn (impl.clj:28)
(...)
```

There seems to be some configuration that needs to be amended, but I can't find where.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the private GitLab dependency fetch through deps.edn with the custom SSH-key buildpack. Inspect the clojure.tools.gitlibs.impl stack location at impl.clj:30 and the available SSH-agent configuration. Done means the dependency is fetched successfully without AgentProxyException.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, gitlab
Domain
build-system, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.