reservoir icon indicating copy to clipboard operation
reservoir copied to clipboard

Error when running the curl request example

Open btmash opened this issue 7 years ago • 1 comments

When I try to run the curl request that is shown on the api authentication page (from a default install), I get the following error:

The website encountered an unexpected error. Please try again later.

Looking into it further, I found that the issue seemed to stem from when it tried to look in the RSA.php which says It was not possible to parse your key. I do see the token getting generated though I'm unsure what else could be the cause of the issue.

btmash avatar Jun 29 '17 03:06 btmash

Can you reproduce this immediately after installing Reservoir? Reservoir's auto-generated keys are stored in a temporary directory, which may be erased after a reboot or certain operating system cron operations. I suspect that's what's happening here.

(Yes, we'll need to find a more robust approach. We'll work on that.)

wimleers avatar Aug 25 '17 13:08 wimleers