chi
05/01/2024, 1:10 AMGET request to endpoint /rest/v1/mytable failed with exception Permission denied
io.github.jan.supabase.exceptions.HttpRequestException: HTTP request to <http://127.0.0.1:54321/rest/v1/mytable?select=%2A> (GET) failed with message: Permission denied
Any idea what the cause could be please?
I can already connect to the database and perform crud operations on the tables in the db (I use DBeaver)Nacho Ruiz Martin
05/01/2024, 6:38 PMchi
05/01/2024, 6:47 PMNacho Ruiz Martin
05/01/2024, 6:48 PMJan
05/01/2024, 7:33 PMchi
05/01/2024, 11:54 PMGET request to endpoint /rest/v1/mytable failed with exception Connection refused
io.github.jan.supabase.exceptions.HttpRequestException: HTTP request to <http://127.0.0.1:54321/rest/v1/mytable?select=%2A> (GET) failed with message: Connection refused
Ume Channel
05/02/2024, 9:37 AMJan
05/02/2024, 9:56 AMHttpRequestException
(not a RestException
) that means the request itself failed/the client couldn't reach the server. Can you open this url in your browser?chi
05/02/2024, 5:33 PMJan
05/03/2024, 8:09 AMchi
05/03/2024, 8:22 AMJan
05/03/2024, 11:24 AMHttpClient().get("<http://127.0.0.1:54321/rest/v1/mytable?select=%2A>")
chi
05/04/2024, 1:32 PMjava.net.ConnectException: Connection refused
Jan
05/04/2024, 1:44 PMchi
05/04/2024, 11:17 PMlocalhost
wouldn’t work for my devices. I needed to get the address of the device, so for android emulator it is <http://10.0.2.2:54321>
instead of localhost:54321
, but for my physical device, I haven’t found a way to reliably get it