[ 
https://issues.apache.org/jira/browse/AIRFLOW-3483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878754#comment-16878754
 ] 

jack commented on AIRFLOW-3483:
-------------------------------

Can you check with Airflow 1.10.2+ ? 
[https://jira.apache.org/jira/browse/AIRFLOW-2192] was added to Airflow 1.0.2 
and it could have solve your issue.

> Can't authentication with Google Oauth (UnicodeDecodeError: 'utf8' codec 
> can't decode byte)
> -------------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-3483
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3483
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: authentication
>    Affects Versions: 1.10.1
>         Environment: Amazon Linux AMI 2018.03
> Python 2.7.14
>            Reporter: Fernando Barbosa
>            Priority: Critical
>         Attachments: airflow-login-err.log
>
>
> After updating our Airflow installation from 1.8.0 to 1.10.0 (tried 1.10.1 as 
> well) users with non-ascii charts (i.e. á, é, ã) on their usernames can't 
> authenticate anymore through Google Oauth.
> Users were already on the mysql database from before the upgrade. The mysql 
> database is encoded as latin1. I've tried setting the users table encoding to 
> utf-8 and it didn't fix the problem. I've also tried to explicitly set 
> 'sql_engine_encoding = utf-8' and it didn't fix it either. I've also tried 
> reinstalling with both 'unidecode' and 'text-unidecode' libs and it didn't 
> change.
> It seems somewhat similar to this bug: 
> https://jira.apache.org/jira/browse/AIRFLOW-2192
> Attached are the logs a colleague (José Araújo) gets after authenticating, 
> when the front page loads.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to