Repository navigation
Database connection: proxy in front of solr #40727
Replies: 1 comment
|
The error Between modifying Here is how to resolve the connection through Knox: 1. Fix the Knox Gateway URL Path StructureApache Knox topologies expose services under If your Knox topology is mapped with SSL on port 443, ensure 2. Configure Engine Parameters and SSL Verification in SupersetIn Superset, go to Settings -> Database Connections -> Edit -> Advanced -> Other, and configure the Engine Parameters with proper HTTP headers and SSL certificates: {
"connect_args": {
"scheme": "https",
"verify_ssl": true
}
}3. Verify the Knox Endpoint Directly via cURLBefore testing in Superset, verify from the Superset server shell that Knox is accepting your Basic Auth credentials and returning valid Solr JSON: curl -k -u "username:password" \
"https://my.knox.vip.com:443/gateway/europe-italy/team-tiramisu/solr/cheese_collection/select?q=*:*&wt=json"If this returns an HTML page containing "Knox Authentication Failed" or a 302 redirect, check your Knox service role permissions for the |
Uh oh!
There was an error while loading. Please reload this page.
Bug description
Hello,
I want to connect to Apache Solr. However, since I have configured Solr to use Kerberos, I can't connect to the Solr server directly (as solr-sqlalchemy does not support Kerberos authentication protocol).
Therefore, I have set an proxy in front of Solr. I'm using Knox Gateway.
When I tried the following URi
solr://username:password@my.knox.vip.com:443/europe-italy/team-tiramisu/solr/cheese_collection
Where:
443: port
europe-italy/team-tiramisu: knox gateway topology
cheese_collection: my Solr collection name
I got the error:
ERROR: Expecting value: line 1 column 1 (char 0)
Can you help me please?
In this case, what is the easiest solution?
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.11
Node version
I don't know
Browser
Chrome
Additional context
No response
Checklist
All reactions