-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
ipfs
datasource doesn't respect http.connection_timeout
config field
#687
Comments
Update datasource config to limit retries. . . datasources:
metadata:
...
http:
retry_count: 3 . . .than catch and process exceptions in the handler. Should help. . . HTTP gateway defaults will be updated in #677. |
no luck with changing retry count. . .
|
Oh, it's try:
coro = ipfs.get('asdfasdfasdf')
data = await asyncio.wait_for(coro, 60)
except asyncio.TimeoutError:
data = None Normally all datasources should respect |
awesome - exactly it for this one - the metadata for that objkt is missing from all ipfs datasources - probably not pinned - was actually looking into async.wait_for() - this made it very clear - thanks again! |
Nice. Leaving open to check retries and timeouts later. |
ipfs
datasource doesn't respect http.connection_timeout
config field
same thing seems to be happening sometimes with http request to tzkt_mainnet - sometimes goes back to indexing after hicdex container reboot. . . |
Steps to reproduce:
clone - https://github.com/tezosmiami/hicdex.git
run readme commands
What did you expect to happen:
for it to index
What actually happened:
it did index up to objkt #67865 - which appears to have lost metadata - not pinned - then dipdup jumps to the latest levels and keeps going from there without indexing - running all night. . .
Environment
on ubuntu 22.10 server
master
?logs.txt
config.txt
models.txt
The text was updated successfully, but these errors were encountered: