Skip to content
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

Soft migration fails due to 403 from api.avax.network #6358

Closed
kelsos opened this issue Jun 29, 2023 · 1 comment
Closed

Soft migration fails due to 403 from api.avax.network #6358

kelsos opened this issue Jun 29, 2023 · 1 comment
Labels
backend bug Something isn't working
Milestone

Comments

@kelsos
Copy link
Member

kelsos commented Jun 29, 2023

Problem Definition

A user reported on Discord that they kept seeing the following error (check Traceback)

The error does not block the login to the app, but because of the error the data migration never completes and it is always retried.

Logs

29/06/2023 18:23:06 CEST] ERROR rotkehlchen.data_migrations.manager Greenlet-5: Failed to run soft data migration to version 10 due to 403 Client Error: Forbidden for url: https://api.avax.network/ext/bc/C/rpc
Traceback (most recent call last):
  File "rotkehlchen/data_migrations/manager.py", line 73, in _perform_migration
  File "rotkehlchen/data_migrations/migrations/migration_10.py", line 59, in data_migration_10
  File "rotkehlchen/chain/aggregator.py", line 1459, in detect_evm_accounts
  File "rotkehlchen/chain/aggregator.py", line 1382, in check_chains_and_add_accounts
  File "rotkehlchen/chain/aggregator.py", line 1323, in check_single_address_activity
  File "web3/module.py", line 57, in caller
  File "web3/manager.py", line 197, in request_blocking
  File "web3/manager.py", line 150, in _make_request
  File "web3/middleware/formatting.py", line 94, in middleware
  File "web3/middleware/gas_price_strategy.py", line 90, in middleware
  File "web3/middleware/formatting.py", line 94, in middleware
  File "web3/middleware/attrdict.py", line 33, in middleware
  File "web3/middleware/formatting.py", line 94, in middleware
  File "web3/middleware/formatting.py", line 94, in middleware
  File "web3/middleware/formatting.py", line 94, in middleware
  File "web3/middleware/buffered_gas_estimate.py", line 40, in middleware
  File "web3/middleware/exception_retry_request.py", line 105, in middleware
  File "web3/providers/rpc.py", line 88, in make_request
  File "web3/_utils/request.py", line 113, in make_post_request
  File "requests/models.py", line 1021, in raise_for_status
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.avax.network/ext/bc/C/rpc

System Description

Operating system:
Rotki version: 1.29

@kelsos kelsos added bug Something isn't working backend labels Jun 29, 2023
@kelsos kelsos added this to the 1.29.1 milestone Jun 29, 2023
LefterisJP added a commit to LefterisJP/rotkehlchen that referenced this issue Jun 29, 2023
Fix rotki#6358, by introducing graceful error handling.
LefterisJP added a commit that referenced this issue Jul 1, 2023
Fix #6358, by introducing graceful error handling.
@LefterisJP
Copy link
Member

This should be fixed by #6360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants