-
Notifications
You must be signed in to change notification settings - Fork 585
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
When attempting to import CSV data via the Hubble UI (v1.7.0), the import task fails if authentication is enabled on the server. The same import works perfectly fine if StandardAuthenticator is disabled.
Expected Behavior
- Successful Ingestion: Large data imports (CSV/JSON) via the Hubble UI should complete successfully when Hubble is connected with valid credentials.
- Token Persistence: The authentication token (JWT) should be correctly maintained and propagated throughout the entire lifecycle of the import task.
- Session Stability: The task should not be interrupted by internal session mismatches or random key generation if the server has not restarted.
Actual Behavior
- Task Failure: Data import aborts partway through with a generic "Failed" status in the Hubble UI.
- Unauthorized Access: Server audit logs report frequent
401 Unauthorizederrors with the messagejakarta.ws.rs.NotAuthorizedException: Invalid tokenfor theadminuser, even when the initial connection was valid. - Successful without Auth: Disabling the authenticator and removing the
PASSWORDenvironment variable allows the same data files to be imported perfectly.
Observed Error (Audit Log Snippet)
2026-03-26 07:44:50 - Failed to verify token: [ admin ], cause:
jakarta.ws.rs.NotAuthorizedException: Invalid token
at org.apache.hugegraph.auth.TokenGenerator.verify(TokenGenerator.java:69)
at org.apache.hugegraph.auth.StandardAuthManager.validateUser(StandardAuthManager.java:702)
Steps to Reproduce
- Start HugeGraph-Server v1.7.0 with
auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator. - Access Hubble UI v1.7.0 and connect to the graph using the
adminaccount. - Navigate to "Data Import" and upload a CSV file with corresponding mapping.
- Execute the import task and observe the failure and server logs.
Environment (环境信息)
HugeGraph-Server Version: 1.7.0
HugeGraph-Hubble Version: 1.7.0
Deployment: Docker Compose
Authenticator: org.apache.hugegraph.auth.StandardAuthenticator
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working