HTTP helper default url not being replaced in some circumstances #75

Closed
opened 2021-09-06 20:40:06 +00:00 by roxxers · 1 comment
$ go run ./cmd/abra/main.go app ps nextcloud.thirdsector.autonomic.zone             
FATA[0001] Cannot connect to the Docker daemon at http://docker.example.com. Is the docker daemon running? 
exit status 1
$ go run ./cmd/abra/main.go app ps levelfly_main                                   
ID              IMAGE                           COMMAND                 CREATED         STATUS                  PORTS           NAMES                                           
150f927bab10    neuronicgames/levelfly:latest   "bundle exec rake j…"   5 minutes ago   Up 5 minutes            3000/tcp        /levelfly_main_jobs.1.pm15md5a0duy9yy4ngekfcrbd
7cf1fc0bdac4    neuronicgames/levelfly:latest   "/bin/sh -c 'rails …"   2 days ago      Up 2 days               3000/tcp        /levelfly_main_app.1.sx48uwoqgc4vevbais9kmp72e 
2417c028e384    postgres:13-alpine              "docker-entrypoint.…"   3 days ago      Up 3 days (healthy)                     /levelfly_main_db.1.kjvv7059v04ce9iapno0bysuh

For some reason, in this cirumstance the helper.Host in pkg/client/client.go is not replaced with the ssh connection in this situation. Don't have time to figure this out right now but do want to document it.

```terminal $ go run ./cmd/abra/main.go app ps nextcloud.thirdsector.autonomic.zone FATA[0001] Cannot connect to the Docker daemon at http://docker.example.com. Is the docker daemon running? exit status 1 $ go run ./cmd/abra/main.go app ps levelfly_main ID IMAGE COMMAND CREATED STATUS PORTS NAMES 150f927bab10 neuronicgames/levelfly:latest "bundle exec rake j…" 5 minutes ago Up 5 minutes 3000/tcp /levelfly_main_jobs.1.pm15md5a0duy9yy4ngekfcrbd 7cf1fc0bdac4 neuronicgames/levelfly:latest "/bin/sh -c 'rails …" 2 days ago Up 2 days 3000/tcp /levelfly_main_app.1.sx48uwoqgc4vevbais9kmp72e 2417c028e384 postgres:13-alpine "docker-entrypoint.…" 3 days ago Up 3 days (healthy) /levelfly_main_db.1.kjvv7059v04ce9iapno0bysuh ``` For some reason, in this cirumstance the `helper.Host` in `pkg/client/client.go` is not replaced with the ssh connection in this situation. Don't have time to figure this out right now but do want to document it.
roxxers added the
bug
help wanted
labels 2021-09-06 20:40:06 +00:00
Owner

Unable to reproduce this but will keep an eye out for it 🤔

Unable to reproduce this but will keep an eye out for it 🤔
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#75
No description provided.