julien-nc / cospend-nc

💰 💲hared budget manager Nextcloud app
GNU Affero General Public License v3.0
238 stars 29 forks source link

Adding Cospend projects to PayForMe not possible #258

Open HaBis22 opened 9 months ago

HaBis22 commented 9 months ago

Hi,

I've always had some problems adding Cospend projects to my PayForMe app on my IPhone. Reading the QR Code never worked but in the past I managed to successfully work on my projects with PayForMe by setting up the projects manually..

Currently I've given up trying it with some new projects. Whatever I try, PayForMe responds with the message "Can't find the server".

I tried several things with the server URL, the IPhone using Mobile oder Wifi access, and much more.

Finally I checked the nextcloud protocols with an suprising result: Obviously the problem ist somewher on the Nextcloud side:-o

The protocol says:

"Bruteforce attempt from "xxxxxxxxxxxxxxxxxxxxx" detected for action "CospendPublicGetProjectInfo"."

and starting with the second attempt:

"IP address blocked because it reached the maximum failed attempts in the last 30 minutes [action: CospendPublicGetProjectInfo, ip: xxxxxxxxxxxxxxxxxxxxx"

Has anyone an idea how to configure nextcloud correctly or what seetings are necessary to make CoSpend run with PayForMe in this case??

Regards,

Hans

tiptoptom commented 9 months ago

I have the problem with PayForMe 2.4 and Cospend 1.6.0.

tiptoptom commented 9 months ago

Looks like it depends on the link whether it works. https://github.com/mayflower/PayForMe/issues/68#issuecomment-1937832568

maxammann commented 8 months ago

Setting

'auth.bruteforce.protection.enabled' => false,

works around the issue.

I believe maybe some functions in cospend are too heavily rate limited?

Hustenbonbon commented 8 months ago

Hi, I'm the (rather inactive) maintainer of PayForMe. Followup to this issue will happen here, any more information or help will be appreciated: https://github.com/mayflower/PayForMe/issues/68