David Kimura PRO said over 6 years ago on Searchkick and Elasticsearch :

The RestClient appears to be returning an Unauthorized response and your seeds file isn’t taking that into consideration. Hope that helps.