https://supabase.com/ logo
Good afternoon, i've deployed the project through ...
# help
c
Good afternoon, i've deployed the project through Supabase, but it still "Connecting to Default Project"
n
Hello @Chiqui! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
s
Please provide more information, which operating system are you using? did you setup the environment variables as suggested in the guide?
k
One thing i might add that would help you that be sure to check your jwt / anon / service key setup. A Guide had a wrong command to generate a wrong jwt secret, you need to adjust it to be longer.
c
wdym exactly?
k
when you created the jwt token, what command did you use?
Atlesat for me, i used a command that generated a jwt token that was too short, (and a cors issue after that) so, maybe first check the jwt token, then maybe in the dev console if it's a cors issue. if it's a cors issue, make sure to use the correct rest url in the .env
c
I created it through the official website (docs)
k
Well, i just looked into the Docs and yea, it does not mention any command to do it (i used the unoffical kubernetes doc before) I think the JWT Secret needs to be a base64 encoded string On Linux i used this command
openssl rand 128 | base64
to generate the Secret and that worked for me, so maybe it does aswell for you.
c
I'll try it tomorrow and let you know, thank you very much
k
also, check if you entered the anon_key etc in the kong.yml in the volumes/api folder