How I can connect recipe trough ssl to superset? ...
# ingestion
f
How I can connect recipe trough ssl to superset?
Copy code
source:
  type: "superset"
  config:
    connection:
      consumer_config:
        security.protocol: "ssl"
        ssl.ca.location: "/etc/ssl/certs/iamss-ca.crt"
    username: admin
    password: admin
    provider: db
    connect_uri: <https://superset.XXXXXX.com>
sink:
  type: "datahub-rest"
  config:
    server: "<http://XXXXX:8080>"
ERROR:
Copy code
1 validation error for SupersetConfig
connection
  extra fields not permitted (type=value_error.extra)
command terminated with exit code 1
Thanks
m
@square-activity-64562 might have some ideas
s
The reason for the error is simply because there is no
consumer_config
setting for superset source currently. https://github.com/linkedin/datahub/blob/master/metadata-ingestion/src/datahub/ingestion/source/superset.py#L51 I have not tried connecting with a hosted superset yet. Does using this give you some error?
Copy code
source:
  type: "superset"
  config:
    username: admin
    password: admin
    provider: db
    connect_uri: <https://superset.XXXXXX.com>
sink:
  type: "datahub-rest"
  config:
    server: "<http://XXXXX:8080>"
plus1 1
thank you 1
f
Hi @square-activity-64562 @mammoth-bear-12532 thanks for the response. I have recived the following error using your suggest. source:   type: "superset"   config:     username: admin     password: admin     provider: db     connect_uri: https://superset.xxxxx.com sink:   type: "datahub-rest"   config:     server: "http://xx.xxx.xxx.xxx:8080" ERROR: SSLError: HTTPSConnectionPool(host='superset.XXXXXX.com', port=443): Max retries exceeded with url: /api/v1/security/login (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)'))) command terminated with exit code 1
Hi @square-activity-64562 @mammoth-bear-12532 With this the problem were fix. https://datahubspace.slack.com/archives/CV2KB471C/p1635394242082600?thread_ts=1635148820.033400&amp;cid=CV2KB471C