supabase / cli

Supabase CLI. Manage postgres migrations, run Supabase locally, deploy edge functions. Postgres backups. Generating types from your database schema.
https://supabase.com/docs/reference/cli/about
MIT License
1.02k stars 201 forks source link

Supabase link fails if password is provided via --password argument, but succeeds if it's passed at second stage #2490

Closed WhoAteDaCake closed 2 months ago

WhoAteDaCake commented 2 months ago

Describe the bug Should be able to use supabase link with args or env variables, so it can be used in github actioms

To Reproduce Steps to reproduce the behavior:

  1. Run supabase link --project-ref "Ref" --password "Password here"

Expected behavior

  1. Should link the project

Screenshots image

System information Rerun the failing command with --create-ticket flag.

sweatybridge commented 2 months ago

I'm unable to reproduce this locally. Are you sure POSTGRES_PASSWORD is not an empty value?

Another alternative is to set the SUPABASE_DB_PASSWORD env var.

WhoAteDaCake commented 2 months ago

@sweatybridge I've tried SUPABASE_DB_PASSWORD too, all of them fail with

failed to connect to postgres: failed to connect to `host=aws-0-eu-west-2.pooler.supabase.com user=postgres.sjxjsdkdpuwueblulnqs database=postgres`: failed SASL auth (invalid SCRAM server-final-message received from server)
Full debug log here ``` Supabase CLI 1.178.2 2024/07/08 20:40:08 DNS Start: {Host:api.supabase.com} 2024/07/08 20:40:08 DNS Done: {Addrs:[{IP:2606:4700:10::6816:3fc Zone:} {IP:2606:4700:10::6816:2fc Zone:} {IP:2606:4700:10::ac43:17c7 Zone:} {IP:104.22.3.252 Zone:} {IP:172.67.23.199 Zone:} {IP:104.22.2.252 Zone:}] Err: Coalesced:false} 2024/07/08 20:40:08 Connect Start: tcp [2606:4700:10::6816:3fc]:443 2024/07/08 20:40:08 Connect Done: tcp [2606:4700:10::6816:3fc]:443 2024/07/08 20:40:08 TLS Start 2024/07/08 20:40:08 TLS Done: {Version:772 HandshakeComplete:true DidResume:false CipherSuite:4865 NegotiatedProtocol:h2 NegotiatedProtocolIsMutual:true ServerName:api.supabase.com PeerCertificates:[0xc000556b08 0xc000557088 0xc000557608 0xc000557b88] VerifiedChains:[[0xc000556b08 0xc000557088 0xc0007a4008] [0xc000556b08 0xc000557088 0xc000557608 0xc0007a4588]] SignedCertificateTimestamps:[[0 238 205 208 100 213 219 26 206 197 92 183 157 180 205 19 162 50 135 70 124 188 236 222 195 81 72 89 70 113 31 181 155 0 0 1 143 148 98 22 96 0 0 4 3 0 71 48 69 2 32 57 216 2 214 81 184 228 231 252 95 243 214 101 150 181 208 50 208 6 147 237 117 238 160 255 204 234 5 132 230 14 81 2 33 0 148 69 230 218 210 61 35 196 131 35 236 248 214 217 83 225 174 230 33 15 30 204 197 146 164 121 131 150 34 225 42 229] [0 118 255 136 63 10 182 251 149 81 194 97 204 245 135 186 52 180 164 205 187 41 220 104 66 10 159 230 103 76 90 58 116 0 0 1 143 148 98 22 175 0 0 4 3 0 70 48 68 2 32 39 212 85 131 106 187 25 27 210 44 56 86 119 5 167 0 25 53 117 152 207 26 27 151 172 17 172 123 89 125 81 232 2 32 64 255 122 25 179 226 25 60 63 142 15 179 42 219 164 179 246 207 150 99 205 134 54 123 13 237 159 94 109 99 166 72]] OCSPResponse:[48 130 1 84 10 1 0 160 130 1 77 48 130 1 73 6 9 43 6 1 5 5 7 48 1 1 4 130 1 58 48 130 1 54 48 129 190 161 52 48 50 49 11 48 9 6 3 85 4 6 19 2 85 83 49 22 48 20 6 3 85 4 10 19 13 76 101 116 39 115 32 69 110 99 114 121 112 116 49 11 48 9 6 3 85 4 3 19 2 69 49 24 15 50 48 50 52 48 55 48 54 48 49 53 48 48 48 90 48 117 48 115 48 75 48 9 6 5 43 14 3 2 26 5 0 4 20 239 144 1 112 221 88 143 42 101 30 33 81 31 220 208 187 111 81 43 171 4 20 90 243 237 43 252 54 194 55 121 185 82 48 234 84 111 207 85 203 46 172 2 18 3 143 28 54 69 142 50 168 142 190 157 38 201 189 84 183 129 165 128 0 24 15 50 48 50 52 48 55 48 54 48 49 53 48 48 48 90 160 17 24 15 50 48 50 52 48 55 49 51 48 49 52 57 53 56 90 48 10 6 8 42 134 72 206 61 4 3 3 3 103 0 48 100 2 48 111 5 27 101 55 161 176 169 26 243 42 42 186 245 121 229 133 225 100 98 138 64 4 220 90 249 218 82 124 58 99 154 255 157 29 243 37 162 16 140 134 74 194 52 116 67 57 87 2 48 49 225 9 55 251 213 119 212 25 128 75 100 82 165 42 148 124 100 101 116 141 206 14 245 37 24 136 236 227 9 82 194 182 173 117 65 188 46 31 252 160 97 9 143 91 58 155 60] TLSUnique:[] ekm:0x65d180} 2024/07/08 20:40:08 Sent Header: :authority [api.supabase.com] 2024/07/08 20:40:08 Sent Header: :method [GET] 2024/07/08 20:40:08 Sent Header: :path [/v1/projects/sjxjsdkdpuwueblulnqs/api-keys] 2024/07/08 20:40:08 Sent Header: :scheme [https] 2024/07/08 20:40:08 Sent Header: authorization [Bearer sbp_2e399c77a59bd05e450e59ad194bcd6ee5fdb316] 2024/07/08 20:40:08 Sent Header: user-agent [SupabaseCLI/1.178.2] 2024/07/08 20:40:08 Sent Header: accept-encoding [gzip] 2024/07/08 20:40:08 Send Done 2024/07/08 20:40:08 Recv First Byte 2024/07/08 20:40:08 DNS Start: {Host:sjxjsdkdpuwueblulnqs.supabase.co} 2024/07/08 20:40:08 DNS Start: {Host:sjxjsdkdpuwueblulnqs.supabase.co} 2024/07/08 20:40:08 Sent Header: :authority [api.supabase.com] 2024/07/08 20:40:08 Sent Header: :method [GET] 2024/07/08 20:40:08 Sent Header: :path [/v1/projects/sjxjsdkdpuwueblulnqs/config/database/pgbouncer] 2024/07/08 20:40:08 Sent Header: :scheme [https] 2024/07/08 20:40:08 Sent Header: user-agent [SupabaseCLI/1.178.2] 2024/07/08 20:40:08 Sent Header: authorization [Bearer sbp_2e399c77a59bd05e450e59ad194bcd6ee5fdb316] 2024/07/08 20:40:08 Sent Header: accept-encoding [gzip] 2024/07/08 20:40:08 DNS Start: {Host:sjxjsdkdpuwueblulnqs.supabase.co} 2024/07/08 20:40:08 Send Done 2024/07/08 20:40:08 Sent Header: :authority [api.supabase.com] 2024/07/08 20:40:08 Sent Header: :method [GET] 2024/07/08 20:40:08 Sent Header: :path [/v1/projects/sjxjsdkdpuwueblulnqs/postgrest] 2024/07/08 20:40:08 Sent Header: :scheme [https] 2024/07/08 20:40:08 Sent Header: user-agent [SupabaseCLI/1.178.2] 2024/07/08 20:40:08 Sent Header: authorization [Bearer sbp_2e399c77a59bd05e450e59ad194bcd6ee5fdb316] 2024/07/08 20:40:08 Sent Header: accept-encoding [gzip] 2024/07/08 20:40:08 Send Done 2024/07/08 20:40:08 DNS Done: {Addrs:[{IP:172.64.149.149 Zone:} {IP:104.18.38.107 Zone:}] Err: Coalesced:true} 2024/07/08 20:40:08 Connect Start: tcp 172.64.149.149:443 2024/07/08 20:40:08 DNS Done: {Addrs:[{IP:172.64.149.149 Zone:} {IP:104.18.38.107 Zone:}] Err: Coalesced:true} 2024/07/08 20:40:08 Connect Start: tcp 172.64.149.149:443 2024/07/08 20:40:08 DNS Done: {Addrs:[{IP:172.64.149.149 Zone:} {IP:104.18.38.107 Zone:}] Err: Coalesced:true} 2024/07/08 20:40:08 Connect Start: tcp 172.64.149.149:443 2024/07/08 20:40:08 Sent Header: :authority [api.supabase.com] 2024/07/08 20:40:08 Sent Header: :method [GET] 2024/07/08 20:40:08 Sent Header: :path [/v1/projects] 2024/07/08 20:40:08 Sent Header: :scheme [https] 2024/07/08 20:40:08 Sent Header: authorization [Bearer sbp_2e399c77a59bd05e450e59ad194bcd6ee5fdb316] 2024/07/08 20:40:08 Sent Header: user-agent [SupabaseCLI/1.178.2] 2024/07/08 20:40:08 Sent Header: accept-encoding [gzip] 2024/07/08 20:40:08 Send Done 2024/07/08 20:40:08 Connect Done: tcp 172.64.149.149:443 2024/07/08 20:40:08 TLS Start 2024/07/08 20:40:08 Connect Done: tcp 172.64.149.149:443 2024/07/08 20:40:08 Connect Done: tcp 172.64.149.149:443 2024/07/08 20:40:08 TLS Start 2024/07/08 20:40:08 TLS Start 2024/07/08 20:40:08 TLS Done: {Version:772 HandshakeComplete:true DidResume:false CipherSuite:4865 NegotiatedProtocol:h2 NegotiatedProtocolIsMutual:true ServerName:sjxjsdkdpuwueblulnqs.supabase.co PeerCertificates:[0xc00084e588 0xc00084eb08] VerifiedChains:[[0xc00084e588 0xc00084eb08 0xc00084f088]] SignedCertificateTimestamps:[] OCSPResponse:[48 130 1 18 10 1 0 160 130 1 11 48 130 1 7 6 9 43 6 1 5 5 7 48 1 1 4 129 249 48 129 246 48 129 158 162 22 4 20 165 206 55 234 235 176 117 14 148 103 136 180 69 250 217 36 16 135 150 31 24 15 50 48 50 52 48 55 48 51 49 57 52 56 53 53 90 48 115 48 113 48 73 48 9 6 5 43 14 3 2 26 5 0 4 20 18 215 139 64 44 53 98 6 250 130 127 142 216 146 36 17 180 172 245 4 4 20 165 206 55 234 235 176 117 14 148 103 136 180 69 250 217 36 16 135 150 31 2 16 9 169 150 86 201 79 120 63 128 232 115 212 115 59 141 68 128 0 24 15 50 48 50 52 48 55 48 51 49 57 51 51 48 50 90 160 17 24 15 50 48 50 52 48 55 49 48 49 56 51 51 48 50 90 48 10 6 8 42 134 72 206 61 4 3 2 3 71 0 48 68 2 32 59 212 226 6 5 226 45 196 27 167 103 192 226 114 108 117 114 244 76 3 21 39 133 152 124 44 54 53 239 35 175 163 2 32 73 136 180 58 81 88 79 15 59 218 173 138 35 217 127 106 44 219 104 94 112 210 221 161 146 138 176 39 116 170 190 109] TLSUnique:[] ekm:0x65d180} 2024/07/08 20:40:08 Sent Header: :authority [sjxjsdkdpuwueblulnqs.supabase.co] 2024/07/08 20:40:08 Sent Header: :method [GET] 2024/07/08 20:40:08 Sent Header: :path [/rest/v1/] 2024/07/08 20:40:08 Sent Header: :scheme [https] 2024/07/08 20:40:08 Sent Header: apikey [eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InNqeGpzZGtkcHV3dWVibHVsbnFzIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTk4NjkyMjQsImV4cCI6MjAzNTQ0NTIyNH0.SZwAGtweMR2P9Jz2yUIGQii048l51fPTskE2ZdXyKX0] 2024/07/08 20:40:08 Sent Header: user-agent [SupabaseCLI/1.178.2] 2024/07/08 20:40:08 Sent Header: accept-encoding [gzip] 2024/07/08 20:40:08 Send Done 2024/07/08 20:40:08 Sent Header: :authority [sjxjsdkdpuwueblulnqs.supabase.co] 2024/07/08 20:40:08 Sent Header: :method [GET] 2024/07/08 20:40:08 Sent Header: :path [/storage/v1/version] 2024/07/08 20:40:08 Sent Header: :scheme [https] 2024/07/08 20:40:08 Sent Header: user-agent [SupabaseCLI/1.178.2] 2024/07/08 20:40:08 Sent Header: apikey [eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InNqeGpzZGtkcHV3dWVibHVsbnFzIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTk4NjkyMjQsImV4cCI6MjAzNTQ0NTIyNH0.SZwAGtweMR2P9Jz2yUIGQii048l51fPTskE2ZdXyKX0] 2024/07/08 20:40:08 Sent Header: accept-encoding [gzip] 2024/07/08 20:40:08 Send Done 2024/07/08 20:40:08 Sent Header: :authority [sjxjsdkdpuwueblulnqs.supabase.co] 2024/07/08 20:40:08 Sent Header: :method [GET] 2024/07/08 20:40:08 Sent Header: :path [/auth/v1/health] 2024/07/08 20:40:08 Sent Header: :scheme [https] 2024/07/08 20:40:08 Sent Header: apikey [eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InNqeGpzZGtkcHV3dWVibHVsbnFzIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MTk4NjkyMjQsImV4cCI6MjAzNTQ0NTIyNH0.SZwAGtweMR2P9Jz2yUIGQii048l51fPTskE2ZdXyKX0] 2024/07/08 20:40:08 Sent Header: user-agent [SupabaseCLI/1.178.2] 2024/07/08 20:40:08 Sent Header: accept-encoding [gzip] 2024/07/08 20:40:08 Send Done 2024/07/08 20:40:08 TLS Done: {Version:772 HandshakeComplete:true DidResume:false CipherSuite:4865 NegotiatedProtocol:h2 NegotiatedProtocolIsMutual:true ServerName:sjxjsdkdpuwueblulnqs.supabase.co PeerCertificates:[0xc00084e588 0xc00084eb08] VerifiedChains:[[0xc00084e588 0xc00084eb08 0xc00084f088]] SignedCertificateTimestamps:[] OCSPResponse:[48 130 1 18 10 1 0 160 130 1 11 48 130 1 7 6 9 43 6 1 5 5 7 48 1 1 4 129 249 48 129 246 48 129 158 162 22 4 20 165 206 55 234 235 176 117 14 148 103 136 180 69 250 217 36 16 135 150 31 24 15 50 48 50 52 48 55 48 51 49 57 52 56 53 53 90 48 115 48 113 48 73 48 9 6 5 43 14 3 2 26 5 0 4 20 18 215 139 64 44 53 98 6 250 130 127 142 216 146 36 17 180 172 245 4 4 20 165 206 55 234 235 176 117 14 148 103 136 180 69 250 217 36 16 135 150 31 2 16 9 169 150 86 201 79 120 63 128 232 115 212 115 59 141 68 128 0 24 15 50 48 50 52 48 55 48 51 49 57 51 51 48 50 90 160 17 24 15 50 48 50 52 48 55 49 48 49 56 51 51 48 50 90 48 10 6 8 42 134 72 206 61 4 3 2 3 71 0 48 68 2 32 59 212 226 6 5 226 45 196 27 167 103 192 226 114 108 117 114 244 76 3 21 39 133 152 124 44 54 53 239 35 175 163 2 32 73 136 180 58 81 88 79 15 59 218 173 138 35 217 127 106 44 219 104 94 112 210 221 161 146 138 176 39 116 170 190 109] TLSUnique:[] ekm:0x65d180} 2024/07/08 20:40:08 TLS Done: {Version:772 HandshakeComplete:true DidResume:false CipherSuite:4865 NegotiatedProtocol:h2 NegotiatedProtocolIsMutual:true ServerName:sjxjsdkdpuwueblulnqs.supabase.co PeerCertificates:[0xc00084e588 0xc00084eb08] VerifiedChains:[[0xc00084e588 0xc00084eb08 0xc00084f088]] SignedCertificateTimestamps:[] OCSPResponse:[48 130 1 18 10 1 0 160 130 1 11 48 130 1 7 6 9 43 6 1 5 5 7 48 1 1 4 129 249 48 129 246 48 129 158 162 22 4 20 165 206 55 234 235 176 117 14 148 103 136 180 69 250 217 36 16 135 150 31 24 15 50 48 50 52 48 55 48 51 49 57 52 56 53 53 90 48 115 48 113 48 73 48 9 6 5 43 14 3 2 26 5 0 4 20 18 215 139 64 44 53 98 6 250 130 127 142 216 146 36 17 180 172 245 4 4 20 165 206 55 234 235 176 117 14 148 103 136 180 69 250 217 36 16 135 150 31 2 16 9 169 150 86 201 79 120 63 128 232 115 212 115 59 141 68 128 0 24 15 50 48 50 52 48 55 48 51 49 57 51 51 48 50 90 160 17 24 15 50 48 50 52 48 55 49 48 49 56 51 51 48 50 90 48 10 6 8 42 134 72 206 61 4 3 2 3 71 0 48 68 2 32 59 212 226 6 5 226 45 196 27 167 103 192 226 114 108 117 114 244 76 3 21 39 133 152 124 44 54 53 239 35 175 163 2 32 73 136 180 58 81 88 79 15 59 218 173 138 35 217 127 106 44 219 104 94 112 210 221 161 146 138 176 39 116 170 190 109] TLSUnique:[] ekm:0x65d180} 2024/07/08 20:40:08 Recv First Byte 2024/07/08 20:40:08 Recv First Byte 2024/07/08 20:40:08 Recv First Byte 2024/07/08 20:40:09 Recv First Byte 2024/07/08 20:40:09 Recv First Byte 2024/07/08 20:40:09 Recv First Byte Using connection pooler: postgres://postgres.sjxjsdkdpuwueblulnqs:@aws-0-eu-west-2.pooler.supabase.com:6543/postgres Connecting to remote database... 2024/07/08 20:40:09 Connect Start: udp 127.0.0.53:53 2024/07/08 20:40:09 Connect Done: udp 127.0.0.53:53 2024/07/08 20:40:09 Connect Start: udp 127.0.0.53:53 2024/07/08 20:40:09 Connect Done: udp 127.0.0.53:53 2024/07/08 20:40:09 Connect Start: udp 127.0.0.53:53 2024/07/08 20:40:09 Connect Done: udp 127.0.0.53:53 2024/07/08 20:40:09 Connect Start: udp 127.0.0.53:53 2024/07/08 20:40:09 Connect Done: udp 127.0.0.53:53 2024/07/08 20:40:09 Connect Start: tcp 18.169.213.251:5432 2024/07/08 20:40:09 Connect Done: tcp 18.169.213.251:5432 2024/07/08 20:40:09 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres.sjxjsdkdpuwueblulnqs"}} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]} 2024/07/08 20:40:09 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=9FXk0MlUIlKDiJkMaDX3qqXF"} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=9FXk0MlUIlKDiJkMaDX3qqXFRUZ5ZkRUM1BXWW9RVDhyWVBMdlhjT0lGR3dHQ2dnPT0=,s=YDWOA3p00wxAWrwl3Zxfdw==,i=4096"} 2024/07/08 20:40:09 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=9FXk0MlUIlKDiJkMaDX3qqXFRUZ5ZkRUM1BXWW9RVDhyWVBMdlhjT0lGR3dHQ2dnPT0=,p=8b7QJ7dhnu/UbVkYq0X/FSmk6OCsoHBCrcdyjHA7Ipo="} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"e=Wrong password"} 2024/07/08 20:40:09 Connect Start: tcp 18.169.28.97:5432 2024/07/08 20:40:09 Connect Done: tcp 18.169.28.97:5432 2024/07/08 20:40:09 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres.sjxjsdkdpuwueblulnqs"}} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]} 2024/07/08 20:40:09 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=sXnKfgpdbHafCb82DU+sidr/"} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=sXnKfgpdbHafCb82DU+sidr/RUR4bUNsTFhWTlBwT1MySDRxSlp1QXNCaE01Y1FnPT0=,s=YDWOA3p00wxAWrwl3Zxfdw==,i=4096"} 2024/07/08 20:40:09 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=sXnKfgpdbHafCb82DU+sidr/RUR4bUNsTFhWTlBwT1MySDRxSlp1QXNCaE01Y1FnPT0=,p=z4bkE2neKz4Ol6vHk0KhvMEPn3gsoi2SDI6JBF9pbwk="} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"e=Wrong password"} 2024/07/08 20:40:09 Connect Start: tcp 18.169.213.251:5432 2024/07/08 20:40:09 Connect Done: tcp 18.169.213.251:5432 2024/07/08 20:40:09 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres.sjxjsdkdpuwueblulnqs"}} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]} 2024/07/08 20:40:09 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=wX52O8OyzfFdG4hGNqqef0HB"} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=wX52O8OyzfFdG4hGNqqef0HBRUM1V1NaL0pDVWtTMjZyV1loQXBFM3dFejd1QTR3PT0=,s=YDWOA3p00wxAWrwl3Zxfdw==,i=4096"} 2024/07/08 20:40:09 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=wX52O8OyzfFdG4hGNqqef0HBRUM1V1NaL0pDVWtTMjZyV1loQXBFM3dFejd1QTR3PT0=,p=/c4K6vGj7t7AVw2ETf9ydZJCZ4cAB4+O9sxcjnXnCrA="} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"e=Wrong password"} 2024/07/08 20:40:09 Connect Start: tcp 18.169.28.97:5432 2024/07/08 20:40:09 Connect Done: tcp 18.169.28.97:5432 2024/07/08 20:40:09 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"postgres.sjxjsdkdpuwueblulnqs"}} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]} 2024/07/08 20:40:09 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=8QfnQHLE7TaOiXuOnvM+9gfC"} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=8QfnQHLE7TaOiXuOnvM+9gfCRVBSOFBXcmMxM2JjSmdwWm5kR2RoTThCTUJFOTVBPT0=,s=YDWOA3p00wxAWrwl3Zxfdw==,i=4096"} 2024/07/08 20:40:09 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=8QfnQHLE7TaOiXuOnvM+9gfCRVBSOFBXcmMxM2JjSmdwWm5kR2RoTThCTUJFOTVBPT0=,p=2IDN6RHXOhCY2bpkwXnNpKkvwoX3vU8fwqU61n3EunM="} 2024/07/08 20:40:09 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"e=Wrong password"} failed to connect to postgres: failed to connect to `host=aws-0-eu-west-2.pooler.supabase.com user=postgres.sjxjsdkdpuwueblulnqs database=postgres`: failed SASL auth (invalid SCRAM server-final-message received from server) ```

The only thing that works is putting in the password through the prompt

WhoAteDaCake commented 2 months ago

Update: changed my password to no special characters one and now it works. Previous one was 8b@$P8^oNZJap2