-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whosonfirst reports index does not exist for improper timeout configuration in pelias.json
#535
Comments
Hi @creativesapiens, We've also seen the issue where invalid Can you answer a couple questions for me?
Thanks! |
I think the issue is that here https://github.com/pelias/dbclient/blob/master/src/configValidation.js#L34 |
I'm also encountering this problem and i'm using the default config timeout.
Here's my full config:
|
If the root causes is a timeout (hard to know with the current logging, until pelias/dbclient#129 is rolled out to the various client libraries), you can increase the timeout. From pelias/docker#217 (comment)
pelias config:
|
Describe the bug
Pelias whosonfirst importer reports the following error when importing with
npm run start
with an improper timeout setting inpelias.json
. The reported error is:Whereas one can clearly see that the index does exist:
The configuration was done as:
Steps to Reproduce
pelias.json
npm run start
Expected behavior
A message should be presented that this was an issue with timeout, or perhaps an issue with JSON file.
Environment (please complete the following information):
Pastebin/Screenshots
Additional context
Complete command run with stack trace was given as:
References
What fixed it?
Having a proper
pelias.json
configuration with timeout fixed it:Note:
requestTimeout
as changed to astring
with a value of"120000"
.The text was updated successfully, but these errors were encountered: