GitHub user dosubot[bot] added a comment to the discussion: Need help setting up Superset chart in AWS EKS behind ALB
<!-- Answer --> The persistent `LocalProxy is not mapped` error is almost always caused by one of these: running unsupported Python/Node.js versions, incomplete asset builds, or a custom override returning a LocalProxy instead of a mapped user object—even if you’re on Superset 5.0.0+ where the main fix is present ([source](https://github.com/apache/superset/issues/35823)). Superset now requires Python 3.10/3.11 and Node.js 20.x; using older versions (e.g., Python 3.9, Node 16) will trigger this error regardless of config ([source](https://github.com/apache/superset/issues/35823)). If you’re sure your environment is correct, check for any custom authentication, user management, or security manager code in `/app` or your config overrides that might return a LocalProxy instead of a real user object. Also, requests hitting endpoints outside a valid Flask request context (due to ALB/Ingress misrouting, health checks, or missing headers) can cause this error and timeouts ([source](https://github.com/apache/superset/discussions/35241)). To isolate the issue, try deploying a minimal, official Superset image (no custom overrides) in your EKS/ALB setup. If the error disappears, incrementally reintroduce your overrides to find the culprit. If it persists, double-check your Python/Node.js versions and clean up any old Docker volumes before redeploying ([source](https://github.com/apache/superset/discussions/35997)). Let me know if you want a step-by-step on how to check your runtime versions or isolate custom code! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/80fd8b20-4931-42e0-aba9-f8fd1c7f28f5?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/80fd8b20-4931-42e0-aba9-f8fd1c7f28f5?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/80fd8b20-4931-42e0-aba9-f8fd1c7f28f5?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/80fd8b20-4931-42e0-aba9-f8fd1c7f28f5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/80fd8b20-4931-42e0-aba9-f8fd1c7f28f5?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/80fd8b20-4931-42e0-aba9-f8fd1c7f28f5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/80fd8b20-4931-42e0-aba9-f8fd1c7f28f5?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=The%20persistent%20%60LocalProxy%20is%20not%20mapped%60%20error%20is%20almost%20always%20caused%20by%20one%20of%20these%3A%20running%20unsupported%20Python/Node.js%20versions%2C%20incomplete%20asset%20builds%2C%20or%20a%20custom%20override%20returning%20a%20LocalProxy%20instead%20of%20a%20mapped%20user%20object%E2%80%94even%20if%20you%E2%80%99re%20on%20Superset%205.0.0%2B%20where%20the%20main%20fix%20is%20present%20%28%5Bsource%5D%28https%3A//github.com/apache/superset/issues/35823%29%29.%20Superset%20now%20requires%20Python%203.10/3.11%20and%20Node.js%2020.x%3B%20using%20older%20versions%20%28e.g.%2C%20Python%203.9%2C%20Node%2016%29%20will%20trigger%20this%20error%20regardless%20of%20config%20%28%5Bsource%5D%28https%3A//github.com/apache/superset/iss ues/35823%29%29.%20%0A%0AIf%20you%E2%80%99re%20sure%20your%20environment%20is%20correct%2C%20check%20for%20any%20custom%20authentication%2C%20user%20management%2C%20or%20security%20manager%20code%20in%20%60/app%60%20or%20your%20config%20overrides%20that%20might%20return%20a%20LocalProxy%20instead%20of%20a%20real%20user%20object.%20Also%2C%20requests%20hitting%20endpoints%20outside%20a%20valid%20Flask%20request%20context%20%28due%20to%20ALB/Ingress%20misrouting%2C%20health%20checks%2C%20or%20missing%20headers%29%20can%20cause%20this%20error%20and%20timeouts%20%28%5Bsource%5D%28https%3A//github.com/apache/superset/discussions/35241%29%29.%0A%0ATo%20isolate%20the%20issue%2C%20try%20deploying%20a%20minimal%2C%20official%20Superset%20image%20%28no%20custom%20overrides%29%20in%20your%20EKS/ALB%20setup.%20If%20the%20error%20disappears%2C%20incrementally%20reintroduce%20your%20overrides%20to%20find%20the%20culprit.%20If%20it%20persists%2C%20double-check%20your%20Python/Node.js%20versions%20 and%20clean%20up%20any%20old%20Docker%20volumes%20before%20redeploying%20%28%5Bsource%5D%28https%3A//github.com/apache/superset/discussions/35997%29%29.%20%0A%0ALet%20me%20know%20if%20you%20want%20a%20step-by-step%20on%20how%20to%20check%20your%20runtime%20versions%20or%20isolate%20custom%20code%21) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/36296) GitHub link: https://github.com/apache/superset/discussions/36296#discussioncomment-15151232 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
