Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

Error when running the curl request example #46

Open
btmash opened this issue Jun 29, 2017 · 1 comment
Open

Error when running the curl request example #46

btmash opened this issue Jun 29, 2017 · 1 comment
Labels

Comments

@btmash
Copy link

btmash commented Jun 29, 2017

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.

@wimleers
Copy link
Member

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 wimleers added the bug label Aug 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants