ijm667 opened a new issue, #35344: URL: https://github.com/apache/airflow/issues/35344
### Apache Airflow version 2.7.2 ### What happened I installed the recent version of airflow and it crashes when I try and access from my CHROME web browser, and get the following message: *"Something bad has happened. Airflow is used by many users, and it is very likely that others had similar problems and you can easily find a solution to your problem." The configuration used to work about 6 month ago, out of the box, but now its no longer working. Each requests produces the following PYTHON CRASH : [^[[34m2023-11-01T14:24:42.874+0000^[[0m] {^[[34mapp.py:^[[0m1744} ERROR^[[0m - Exception on /favicon.ico [GET]^[[0m Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1826, in full_dispatch_request return self.finalize_request(rv) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1847, in finalize_request response = self.process_response(response) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2344, in process_response self.session_interface.save_session(self, ctx.session, response) File "/usr/local/lib/python3.8/dist-packages/airflow/www/session.py", line 33, in save_session return super().save_session(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/flask_session/sessions.py", line 573, in save_session response.set_cookie(app.config["SESSION_COOKIE_NAME"], session_id, File "/usr/local/lib/python3.8/dist-packages/werkzeug/sansio/response.py", line 224, in set_cookie dump_cookie( File "/usr/local/lib/python3.8/dist-packages/werkzeug/http.py", line 1303, in dump_cookie if not _cookie_no_quote_re.fullmatch(value): TypeError: cannot use a string pattern on a bytes-like object [^[[34m2023-11-01T14:24:42.887+0000^[[0m] {^[[34mapp.py:^[[0m1852} ERROR^[[0m - Request finalizing failed with an error while handling an error^[[0m Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1826, in full_dispatch_request return self.finalize_request(rv) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1847, in finalize_request response = self.process_response(response) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2344, in process_response self.session_interface.save_session(self, ctx.session, response) File "/usr/local/lib/python3.8/dist-packages/airflow/www/session.py", line 33, in save_session return super().save_session(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/flask_session/sessions.py", line 573, in save_session response.set_cookie(app.config["SESSION_COOKIE_NAME"], session_id, File "/usr/local/lib/python3.8/dist-packages/werkzeug/sansio/response.py", line 224, in set_cookie dump_cookie( File "/usr/local/lib/python3.8/dist-packages/werkzeug/http.py", line 1303, in dump_cookie if not _cookie_no_quote_re.fullmatch(value): TypeError: cannot use a string pattern on a bytes-like object During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1847, in finalize_request response = self.process_response(response) File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2344, in process_response self.session_interface.save_session(self, ctx.session, response) File "/usr/local/lib/python3.8/dist-packages/airflow/www/session.py", line 33, in save_session return super().save_session(*args, **kwargs) File "/usr/local/lib/python3.8/dist-packages/flask_session/sessions.py", line 573, in save_session response.set_cookie(app.config["SESSION_COOKIE_NAME"], session_id, File "/usr/local/lib/python3.8/dist-packages/werkzeug/sansio/response.py", line 224, in set_cookie dump_cookie( File "/usr/local/lib/python3.8/dist-packages/werkzeug/http.py", line 1303, in dump_cookie if not _cookie_no_quote_re.fullmatch(value): TypeError: cannot use a string pattern on a bytes-like object 90.3.138.42 - - [01/Nov/2023:14:24:42 +0000] "GET /favicon.ico HTTP/1.1" 500 1539 "http://fickenwald.openabal.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36" ### What you think should happen instead I think it is quite obvious why I think this is wrong. It simply does not work. ### How to reproduce # update the ubuntu version apt-get --yes update apt-get --yes install net-tools # install the python and pip stuff apt-get --yes install python3-pip pip3 install --upgrade pip==20.2.4 # install airflow export AIRFLOW_HOME=~/airflow pip3 install apache-airflow # initialise airflow airflow db init airflow users create --username admin --firstname jamie --lastname marshall --role Admin --email i...@amenesik.com --password=password # launch airflow web server airflow webserver --port 80 > airflow.log 2> airflow.err & # launch airflow scheduler airflow scheduler > scheduler.out 2> scheduler.err & ### Operating System NAME="Ubuntu" VERSION="20.04.2 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04.2 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal ### Versions of Apache Airflow Providers so far i am not running any DAGS it is a fresh vanilla installation I try and connect to AIRFLOW and CRASH. ### Deployment Other ### Deployment details _No response_ ### Anything else ALWAYS : very frustrating ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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. To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org