android-bankdroid icon indicating copy to clipboard operation
android-bankdroid copied to clipboard

SSL issue when connecting to Avanza

Open jmbe opened this issue 8 years ago • 5 comments

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 avatar Nov 03 '16 22:11 jmbe

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.)

jmbe avatar Nov 06 '16 16:11 jmbe

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!

goober avatar Nov 06 '16 20:11 goober

Looks like Avanza is failing.

fredrike avatar Nov 07 '16 07:11 fredrike

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.

vrutberg avatar Nov 17 '16 08:11 vrutberg

Thanks a lot for the information!

goober avatar Nov 17 '16 08:11 goober