cloudera / hue

Open source SQL Query Assistant service for Databases/Warehouses
https://cloudera.com
Apache License 2.0
1.17k stars 366 forks source link

Unable to reach the Web UI "Bad Request" #3664

Closed vparmeland closed 6 months ago

vparmeland commented 7 months ago

Is there an existing issue for this?

Description

Hey :)

Impossible to use Hue, it crashes on launch, impossible to reach the web interface I'm seeing a lot of errors but I don't know how to fix them, maybe it's a duplicate/link with https://github.com/cloudera/hue/issues/3583

Check my gist file for more details

[18/Mar/2024 16:58:38 ] settings INFO Welcome to Hue 4.11.0 [18/Mar/2024 16:58:38 ] conf WARNING enable_extract_uploaded_archive is of type bool. Resetting it as type 'coerce_bool'. Please fix it permanently [18/Mar/2024 16:58:38 ] conf WARNING enable_new_create_table is of type bool. Resetting it as type 'coerce_bool'. Please fix it permanently [18/Mar/2024 16:58:38 ] conf WARNING force_hs2_metadata is of type bool. Resetting it as type 'coerce_bool'. Please fix it permanently [18/Mar/2024 16:58:38 ] conf WARNING show_table_erd is of type bool. Resetting it as type 'coerce_bool'. Please fix it permanently [18/Mar/2024 09:58:38 -0700] backend WARNING mozilla_django_oidc module not found [18/Mar/2024 09:58:39 -0700] apps INFO AXES: BEGIN LOG [18/Mar/2024 09:58:39 -0700] apps INFO AXES: Using django-axes version 5.13.0 [18/Mar/2024 09:58:39 -0700] apps INFO AXES: blocking by IP only. [18/Mar/2024 09:58:39 -0700] api3 WARNING simple_salesforce module not found [18/Mar/2024 09:58:39 -0700] jdbc WARNING Failed to import py4j [18/Mar/2024 09:58:39 -0700] schemas INFO Resource 'XMLSchema.xsd' is already loaded Operations to perform: Apply all migrations: auth, authtoken, axes, beeswax, contenttypes, desktop, jobsub, oozie, pig, sessions, sites, useradmin Running migrations: No migrations to apply. [18/Mar/2024 09:58:40 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted [18/Mar/2024 09:58:40 -0700] models INFO HuePermissions: 0 added, 0 updated, 34 up to date, 5 stale, 0 deleted ... ... ... [2024-03-18 09:58:44 -0700] [27] [INFO] Starting gunicorn 19.9.0 [2024-03-18 09:58:44 -0700] [27] [INFO] Listening at: http://0.0.0.0:8888 (27) [2024-03-18 09:58:44 -0700] [27] [INFO] Using worker: threads /usr/lib/python3.8/os.py:1023: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used return io.open(fd, *args, **kwargs) [2024-03-18 09:58:44 -0700] [75] [INFO] Booting worker with pid: 75 [18/Mar/2024 09:58:44 -0700] middleware INFO Unloading MimeTypeJSFileFixStreamingMiddleware [18/Mar/2024 09:58:44 -0700] middleware INFO Unloading CacheControlMiddleware [18/Mar/2024 09:58:44 -0700] middleware INFO Unloading HueRemoteUserMiddleware [18/Mar/2024 09:58:44 -0700] middleware INFO Unloading SpnegoMiddleware [18/Mar/2024 09:58:44 -0700] middleware INFO Unloading ProxyMiddleware

I'm stuck here ⬆️ "ProxyMiddleware"

Steps To Reproduce

docker pull gethue/hue:latest docker run gethue/hue

Logs

FYI here is my logs using the latest image with Docker https://gist.github.com/vparmeland/8fa74570c39dca8cc04299121b490af2

Hue version

4.11.0 - image 20240318-140101 (Digest 4093ae4fe035)

bjornalm commented 7 months ago

Hi @vparmeland and thanks for reporting. We are looking into this the linked issue and will hopefully get it resolved soon.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days.