jcs / rubywarden

An unofficial, mostly Bitwarden-compatible API server written in Ruby (Sinatra and ActiveRecord)
ISC License
593 stars 49 forks source link

iOS 'problem with connecting to the server' #50

Closed lorddusk closed 6 years ago

lorddusk commented 6 years ago

I can connect to the server with all browser extensions, android application and desktop application. But if I want to connect with my iPhone, it tells me that it has a problem with connecting to the server. I can't see anything in the running console.

Anything I can do to make this work?

universal commented 6 years ago

Hmm, this is weird. I'm also using the app on an iPhone, and it works just fine. I'm using the additions branch from my fork though, so maybe the addition of the web-vault compatibility helps? You can check the requests and responses by adding a custom logger (see this commit for details: https://github.com/universal/bitwarden-ruby/commit/8341e594506346537e1c01c2b575d3e915497845).

Maybe this already shows why it is not working.

lorddusk commented 6 years ago

@universal I tried running your additions fork, but it wasn't compatible with the database I created in the normal branch.

universal commented 6 years ago

hmm, that might be the case because of the refactoring for the new api format. This might have broken it, because I added migrations in a different order. This will hopefully soon be fixed when ActiveRecord is used for db handling, than the migration stuff will also be properly handled.

universal commented 6 years ago

@lorddusk does it work for you now? Using my active-record(-additions) branch it works for me.

lorddusk commented 6 years ago

@universal I will check asap, will get back to you later today (CEST)