Hi!
We’re trying to setup the RDB Loader following this guide, but we’re getting some strange error messages regarding the Iglu server. We tried setting up the Iglu server following this guide and added our custom contexts as schemas. (Please also note that the link to the configuration guide on this section is broken)
Data discovery error with following issues:
Cannot get schemas for iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-*-* {"schemaCriterion":"iglu:com.snowplowanalytics.snowplow/web_page/jsonschema/1-*-*","error":{"error":"ResolutionError","lookupHistory":[{"repository":"Custom Iglu Server","errors":[{"error":"ClientFailure","message":"Error connecting to http://iglu-lb-<ACCOUNT>.<REGION>.elb.amazonaws.com using address iglu-lb-<ACCOUNT>.<REGION>.elb.amazonaws.com:80 (unresolved: false)"}],"attempts":1,"lastAttempt":"2021-10-07T07:34:01.829Z"},{"repository":"Iglu Central","errors":[{"error":"NotFound"}],"attempts":1,"lastAttempt":"2021-10-07T07:33:51.651Z"},{"repository":"Iglu Client Embedded","errors":[{"error":"NotFound"}],"attempts":1,"lastAttempt":"2021-10-07T07:34:01.833Z"}]}}
Our iglu-resolver looks like this
{
"schema": "iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-1",
"data": {
"cacheSize": 500,
"repositories": [
{
"name": "Iglu Central",
"priority": 0,
"vendorPrefixes": [ "com.snowplowanalytics" ],
"connection": {
"http": {
"uri": "http://iglucentral.com"
}
}
},
{
"name": "Custom Iglu Server",
"priority": 0,
"vendorPrefixes": [ "com.snowplowanalytics" ],
"connection": {
"http": {
"uri": "http://iglu-lb-<ACCOUNT>.<REGION>.elb.amazonaws.com/",
"apikey": "<API-KEY>"
}
}
}
]
}
}
We’ve also tried suffixing the uri with /api
but it gives a similar error
Doing a health checks returns OK. curl iglu-lb-<ACCOUNT>.<REGION>.elb.amazonaws.com/api/meta/health
There are similar errors from the shredder
"error":"RepoFailure","message":"no protocol: iglu-lb-<ACCOUNT>.<REGION>.elb.amazonaws.com/api/schemas/com.snowplowanalytics.snowplow/ua_parser_context/jsonschema/1"}],"attempts":1,"lastAttempt":"2021-10-07T08:31:51.024Z"
{"repository":"Iglu Central","errors":[{"error":"NotFound"}],"attempts":1,"lastAttempt":"2021-10-07T08:31:50.980Z"}