bunqCommunity / bunqDesktop

The unofficial, free and open source desktop application for the bunq API
https://bunqdesk.top
MIT License
272 stars 53 forks source link

Failed to create a new session error message - API key loading issue #96

Closed SpaceK33z closed 6 years ago

SpaceK33z commented 6 years ago

Versions: macOS 10.13.1 and BunqDesktop 0.7.4

  1. I enter a password and fill in the API key.
  2. The app successfully loads and everything works.
  3. I quit the application and start it again.
  4. I fill in the password I previously entered, and then get this message:

screen shot 2017-12-10 at 13 09 40

Even if I use the "Use no password" button I get the same error.

Let me know if you need any more information, I'm a developer myself :).

Crecket commented 6 years ago

Are you using an API key with a fixed IP or a wildcard IP address?

SpaceK33z commented 6 years ago

Wildcard. Do note that it does work if I fill in my API key again, it's just that after every restart I need to fill it in again.

Crecket commented 6 years ago

@SpaceK33z do you have telegram or something else I can contact you on? I have a dev version with a new logger which I don't want to release publicly just yet. It will hopefully help with debugging the issue

IngeN86 commented 6 years ago

So now i have to put it here? I downloaded older ones but still same problem... I can not do anything.

basst85 commented 6 years ago

I think the error of @IngeN86 had to do with the "Wildcard IP" API setting. Maybe this setting was not active and you received a new IP-address from your provider..

IngeN86 commented 6 years ago

So i have to get a new api key? I dont even know the difference between wildcard api and normal sorry;) I just got it from the app like it was said to do... so dont know what i can do different so it does not happen again?

Crecket commented 6 years ago

@IngeN86 When you generate the key, you can select it and then hit the "Allow All IP-Addresses" button.

image

It will say something similar in Dutch if you're not using English obviously

IngeN86 commented 6 years ago

But can i generate a key the again on the same phone? Since it says its not possible? Cause i used a phone of a neighbour to get it..and then i would have to use that one again.

Crecket commented 6 years ago

@IngeN86 it is a security feature which is enforced by bunq so we can't enable it in the desktop client. So you will have to enable the wildcard setting in the official app

Crecket commented 6 years ago

Some of the improvements which have been implemented now.

Since reproducing this issue is difficult I'm not entirely sure if all scenarios are fixed but we'll create a new issue if that is the case