VictorNine / bitwarden-go

A Bitwarden-compatible server written in Golang
MIT License
250 stars 33 forks source link

Revision date lookup #30

Closed leonghui closed 6 years ago

leonghui commented 6 years ago

Anyone else with the following issue? The server crashes when /api/accounts/revision-date is called by clients:

2018-06-01 03:14:28 | stdout | 2018/06/01 03:14:28 Starting server on :8000
2018-06-01 03:14:25 | stdout | 2018/06/01 03:14:25 Get http://172.18.0.2:4001/api/accounts/revision-date: dial tcp 172.18.0.2:4001: connect: connection refused
2018-06-01 03:09:27 | stdout | 2018/06/01 03:09:27 Starting server on :8000
2018-06-01 03:09:24 | stdout | 2018/06/01 03:09:24 Get http://172.18.0.2:4001/api/accounts/revision-date: dial tcp 172.18.0.2:4001: connect: connection refused
2018-06-01 03:04:26 | stdout | 2018/06/01 03:04:26 Starting server on :8000
2018-06-01 03:04:23 | stdout | 2018/06/01 03:04:23 Get http://172.18.0.2:4001/api/accounts/revision-date: dial tcp 172.18.0.2:4001: connect: connection refused
2018-06-01 02:59:27 | stdout | 2018/06/01 02:59:27 Starting server on :8000
2018-06-01 02:59:23 | stdout | 2018/06/01 02:59:23 Get http://172.18.0.2:4001/api/accounts/revision-date: dial tcp 172.18.0.2:4001: connect: connection refused
2018-06-01 02:54:26 | stdout | 2018/06/01 02:54:26 Starting server on :8000
2018-06-01 02:54:23 | stdout | 2018/06/01 02:54:23 Get http://172.18.0.2:4001/api/accounts/revision-date: dial tcp 172.18.0.2:4001: connect: connection refused
2018-06-01 02:49:25 | stdout | 2018/06/01 02:49:25 Starting server on :8000
2018-06-01 02:49:22 | stdout | 2018/06/01 02:49:22 Get http://172.18.0.2:4001/api/accounts/revision-date: dial tcp 172.18.0.2:4001: connect: connection refused
2018-06-01 02:44:25 | stdout | 2018/06/01 02:44:25 Starting server on :8000
tairosonloa commented 6 years ago

It looks like you firewall is blocking it. Do you have iptables / ufw enabled?

leonghui commented 6 years ago

Thanks, but firewall was not enabled and both Docker containers were on the same bridge.

In any case I have moved on to the Rust implementation of bitwarden (https://github.com/dani-garcia/bitwarden_rs). Since I won't be able to retest this issue, I am closing it.