Closed felipedbene closed 3 years ago
Hi @felipedbene, thanks for posting an issue.
OnPremise
is set to true
?DisableRegistration
is set to false
?Further references to env vars are found here. Let me know how it goes.
hi Sung, thanks for your reply.
I've double checked both variables and they are correct, just like you mentioned.
I'm using the docker image assembled over AWS ECS Service + RDS (Postgres 11) so we should be good, right?
I saw that someone else had a problem with RDS due to the uuid-oscp extension but I checked mine and it seems it's not the problem as I was able to see in the database that my user is there with its corresponding uuid so I assume that part is working. My only thoughts was that ECS itself wasn't sending the parameters to the container, but my DB (which is a parameter) is working as designed. Any thought on what to do?
Att,
Felipe.
On Mon, Aug 31, 2020 at 4:19 AM Sung Won Cho notifications@github.com wrote:
Hi @felipedbene https://github.com/felipedbene, thanks for posting an issue.
- Could you check that your environment variable OnPremise is set to true?
- Could you check that your environment variable DisableRegistration is set to false?
Further references to env vars are found here https://github.com/dnote/dnote/blob/master/SELF_HOSTING.md#installation. Let me know how it goes.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/dnote/dnote/issues/502#issuecomment-683667157, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5XTPGIG6WIIQ5AIEVPFWLSDNTLFANCNFSM4QP66LLQ .
Sorry to hear that the issue is persisting. The fact that register endpoint is giving 403 forbidden seems to me that DisableRegistration
env var is set to true
.
Since it defaults to false
, I think that ECS is passing the env vars to the container, somehow.
Closing due to inactivity. Please feel free to reopen.
All the APIs, e.g, /register is returning me a 403 no matter what I put as a environment variable.
{"duration":"0ms","level":"info","method":"POST","msg":"incoming request","origin":"https://dnote.fdebene.me","remoteAddr":"200.239.61.3","statusCode":403,"ts":"2020-08-31T01:23:45.336725498Z","ts_unix":1598837025,"uri":"/api/v3/register","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0"}
gui asks me for a dnote cloud subscription.