Azure / Azure/postgresql

connection string not being recognized

Aperta
#26 2 commenti 4 reazioni 0 assegnatari Vedi su GitHub
need-to-triage
Lingua principale
TypeScript
Stelle
25
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I have a secret in the following format as per all of the documentation

```
psql "host='mypostgresservername1.postgres.database.azure.com' port=5432 dbname='postgres' user='myuser@mypostgresservername1' password='&&&&&&&&&' sslmode=require"
```

My password contains and starts with special (non alpha-numeric) characters and might also end the same way.

I have verified through connecting via the command line and DBeaver that all values are correct.

I get the following ambiguous and frustrating error:

Error: Error occurred while running action:
Error: Please provide a valid connection string. A valid connection string is a series of keyword/value pairs separated by space. Spaces around the equal sign are optional. To write an empty value, or a value containing spaces, surround it with single quotes, e.g., keyword = 'a value'. Single quotes and backslashes within the value must be escaped with a backslash

No whitespace in any of my values, nor backslashes.

Please help. This is terrible.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

La issue segnala un errore nell’azione che gestisce le stringhe di connessione; inizia riproducendolo con la stringa Azure PostgreSQL fornita, in particolare con la password che contiene caratteri speciali iniziali. Confronta il comportamento con le connessioni dalla riga di comando e da DBeaver, e considera completata la issue quando quella stringa documentata viene accettata senza l’attuale errore di validazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, postgresql, typescript
Ambito
cloud, databases
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.