semaphoreci / cli

Semaphore 2.0 Command Line Interface
Apache License 2.0
25 stars 13 forks source link

Connection refused when init sem #173

Open leonidv opened 4 years ago

leonidv commented 4 years ago

When I try to connect sem to project, I get error

$ sem version
0.20.1, commit 6d085216548573f503c9a36cb65a104ca9fdd912, built at 2020-05-14T10:35:48Z
$ sem -v connect leonidv.semaphoreci.com <TOKEN FROM UI>
2020/08/14 08:07:05 GET https://leonidv.semaphoreci.com/api/v1alpha/projects
connecting to Semaphore failed 'Get https://leonidv.semaphoreci.com/api/v1alpha/projects: dial tcp: lookup leonidv.semaphoreci.com on [::1]:53: read udp [::1]:51150->[::1]:53: read: connection refused'

In the browser, I can open URL correctly