You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/05/07 15:01:49 UTC

[GitHub] [airflow] alete89 edited a comment on issue #14104: BACKEND: Unbound Variable issue in docker entrypoint

alete89 edited a comment on issue #14104:
URL: https://github.com/apache/airflow/issues/14104#issuecomment-834477725


   I encountered a similar error on Airflow 2.0.2. We are using a postgres from azure, and azure gives you a username with '@' in it, and it breaks the regex:
   ```
   ([^:]*)://([^:@]*):?([^@]*)@?([^/:]*):?([0-9]*)/([^\?]*)\??(.*)
   ```
   the value for my connection string is similar to:
   ```postgresql+psycopg2://user@team:password@airflow-host-db/airflow```
   
   EDIT:
   For reference: I was able to fix it encoding `@` as `%40` :+1: 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org