liato / android-bankdroid

A swedish banking application for your Android device.
http://www.swedroid.se/forum/showthread.php?t=11108
Other
242 stars 173 forks source link

SSL issue when connecting to Avanza #670

Open jmbe opened 7 years ago

jmbe commented 7 years ago

I am getting this error when trying to connect to Avanza:

Read error: ssl=0x[some hex digits]: I/O error during system call, Connection reset by peer

Seeing the same issue on two devices, both using Bankdroid v1.9.13.

Have tried turning on/off certificate pinning in debug settings, but it does not seem to have any effect.

Any ideas?

jmbe commented 7 years ago

Steps to reproduce:

  1. Add account
  2. Select Avanza
  3. Enter username A and password A
  4. Hit Save
  5. SSL error message is shown. (Expected: error message saying username and password is incorrect.)
goober commented 7 years ago

Thanks for the report. I have an account at Avanza and can reproduce the issue. So I will look in to it as soon as possible. I'll keep you posted!

fredrike commented 7 years ago

Looks like Avanza is failing.

vrutberg commented 7 years ago

Avanza has shut down their old API, so that's why they're failing. They have a new API, which is used by this Node.js project: https://github.com/fhqvst/avanza. It should be possible to look at their implementation for reference.

goober commented 7 years ago

Thanks a lot for the information!