dosubot[bot] commented on issue #297:
URL: 
https://github.com/apache/incubator-hugegraph-ai/issues/297#issuecomment-3153639589

   <!-- Answer -->
   Authentication in HugeGraph RAG is controlled by the ENABLE_LOGIN variable 
in the .env file—not by GRAPH_TOKEN. To disable authentication, make sure your 
.env file (not a directory) at /home/work/hugegraph-llm/.env inside the 
container contains ENABLE_LOGIN=False. If you still see the login error, 
double-check that the .env file is mounted correctly and restart the container. 
If the .env file is missing or mounted as a directory, authentication defaults 
to enabled and you’ll get the “请先登录” error—even if GRAPH_TOKEN is empty. For 
reference, see the config logic and deployment troubleshooting steps 
[here](https://github.com/apache/incubator-hugegraph-ai/issues/291) and 
[here](https://github.com/apache/incubator-hugegraph-ai/blob/52a666efabc879d704edc6aad3837358b2d486c1/hugegraph-llm/src/hugegraph_llm/demo/rag_demo/app.py).
   
   
   <!-- 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/d283dc8b-191b-4276-b39e-439355ea5e07?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/d283dc8b-191b-4276-b39e-439355ea5e07?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/d283dc8b-191b-4276-b39e-439355ea5e07?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/d283dc8b-191b-4276-b39e-439355ea5e07?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/d283dc8b-191b-4276-b39e-439355ea5e07?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/d283dc8b-191b-4276-b39e-439355ea5e07?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/d283dc8b-191b-4276-b39e-439355ea5e07?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/dc46e653-18e4-4843-bf2e-1fcf7467eb58/ask?utm_source=githu
 b)&nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-hugegraph-ai/issues/297)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to