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

Getting "requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://polygon-rpc.com/` #78

Open
corneliusroemer opened this issue Jan 7, 2025 · 0 comments

Comments

@corneliusroemer
Copy link

corneliusroemer commented Jan 7, 2025

Overview

Having setup according to docs, running the amm strategy for a market with rpc_url=https://polygon-rpc.com/ leads to an error after only a few seconds.

The problem is possibly that:
a) I shouldn't be using that RPC endpoint but another one? If so which? What's the one that transactions through the Polymarket website use?
b) The requests should be rate limited appropriately but that's not a current feature of the market maker

Any tips on how to resolve appreciated!

Is it normal to have that many requests to rpc?

Running poly-market-maker...
Sourcing env variables from dot env file...
2025-01-07 17:14:42,449 INFO MainThread Logging configured with config file!
2025-01-07 17:14:42,466 DEBUG MainThread Starting new HTTPS connection (1): polygon-rpc.com:443
2025-01-07 17:14:42,518 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 64
2025-01-07 17:14:42,522 DEBUG MainThread Starting new HTTPS connection (1): clob.polymarket.com:443
2025-01-07 17:14:42,607 DEBUG MainThread https://clob.polymarket.com:443 "GET / HTTP/1.1" 200 4
2025-01-07 17:14:42,608 INFO MainThread Connected to CLOB API!
2025-01-07 17:14:42,608 INFO MainThread CLOB Keeper address: 0xe43e79e8cdda02D9BC51284FDad63151761A988b
2025-01-07 17:14:42,616 DEBUG MainThread Starting new HTTPS connection (1): clob.polymarket.com:443
2025-01-07 17:14:42,717 DEBUG MainThread https://clob.polymarket.com:443 "GET /auth/derive-api-key HTTP/1.1" 200 None
2025-01-07 17:14:42,718 DEBUG MainThread Api key found: 
2025-01-07 17:14:42,723 DEBUG MainThread Starting new HTTPS connection (1): clob.polymarket.com:443
2025-01-07 17:14:42,806 DEBUG MainThread https://clob.polymarket.com:443 "GET / HTTP/1.1" 200 4
2025-01-07 17:14:42,808 INFO MainThread Connected to CLOB API!
2025-01-07 17:14:42,808 INFO MainThread CLOB Keeper address: 0xe43e79e8cdda02D9BC51284FDad63151761A988b
2025-01-07 17:14:42,809 INFO MainThread Initialized Market: Market[condition_id=0x, token_id_a=, token_id_b=]
2025-01-07 17:14:42,809 DEBUG Thread-2 (_thread_refresh_order_book) Fetching open keeper orders from the API...
2025-01-07 17:14:42,810 DEBUG MainThread 30
2025-01-07 17:14:42,810 INFO MainThread Initializing keeper lifecycle...
2025-01-07 17:14:42,810 INFO MainThread Executing keeper startup logic...
2025-01-07 17:14:42,810 INFO MainThread Running startup callback...
2025-01-07 17:14:42,811 DEBUG Thread-2 (_thread_refresh_order_book) Starting new HTTPS connection (1): clob.polymarket.com:443
2025-01-07 17:14:42,833 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:42,864 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:42,878 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:42,892 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 64
2025-01-07 17:14:42,918 DEBUG Thread-2 (_thread_refresh_order_book) https://clob.polymarket.com:443 "GET /data/orders?market=0x&next_cursor=MA== HTTP/1.1" 200 None
2025-01-07 17:14:42,919 DEBUG Thread-2 (_thread_refresh_order_book) Getting balances for address: 0x
2025-01-07 17:14:42,926 DEBUG Thread-2 (_thread_refresh_order_book) Starting new HTTPS connection (2): polygon-rpc.com:443
2025-01-07 17:14:42,946 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 65
2025-01-07 17:14:42,950 INFO MainThread Max approving ERC20 token 0x on spender 0x...
2025-01-07 17:14:42,950 INFO MainThread Using gas price strategy: WEB3...
2025-01-07 17:14:42,967 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:42,973 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 64
2025-01-07 17:14:42,984 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:42,987 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 65
2025-01-07 17:14:43,000 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,005 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 65
2025-01-07 17:14:43,042 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,045 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 66
2025-01-07 17:14:43,059 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,064 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 65
2025-01-07 17:14:43,100 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 66
2025-01-07 17:14:43,143 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 64
2025-01-07 17:14:43,143 DEBUG Thread-2 (_thread_refresh_order_book) Balances: {'Collateral': 0.0, <Token.A: 'TokenA'>: 0.0, <Token.B: 'TokenB'>: 0.0}
2025-01-07 17:14:43,143 INFO Thread-2 (_thread_refresh_order_book) Order book became available
2025-01-07 17:14:43,143 DEBUG Thread-2 (_thread_refresh_order_book) Fetched the order book (orders: [],  buys: 0,  sells: 0)
2025-01-07 17:14:43,170 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,234 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,306 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,370 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,400 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,493 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,566 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,604 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,813 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,872 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:43,953 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,014 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,081 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,155 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,244 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,319 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,405 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,472 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,542 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,846 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,915 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:44,980 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,064 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,134 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,221 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,275 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,369 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,416 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,460 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,521 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,579 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,643 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,720 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,805 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,869 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,926 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:45,985 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,063 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,129 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,178 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,259 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,328 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,375 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,451 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,549 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,612 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,667 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,727 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,796 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,859 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:46,955 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,024 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,090 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,196 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,304 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,398 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,507 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,576 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,668 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,730 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:47,798 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:48,136 DEBUG MainThread https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 None
2025-01-07 17:14:48,145 DEBUG Thread-2 (_thread_refresh_order_book) Fetching open keeper orders from the API...
2025-01-07 17:14:48,146 DEBUG Thread-2 (_thread_refresh_order_book) Starting new HTTPS connection (1): clob.polymarket.com:443
2025-01-07 17:14:48,238 DEBUG Thread-2 (_thread_refresh_order_book) https://clob.polymarket.com:443 "GET /data/orders?market=0x1&next_cursor=MA== HTTP/1.1" 200 None
2025-01-07 17:14:48,239 DEBUG Thread-2 (_thread_refresh_order_book) Getting balances for address: 0x
2025-01-07 17:14:48,258 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 65
2025-01-07 17:14:48,276 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 66
2025-01-07 17:14:48,293 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 65
2025-01-07 17:14:48,317 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 66
2025-01-07 17:14:48,334 DEBUG Thread-2 (_thread_refresh_order_book) https://polygon-rpc.com:443 "POST / HTTP/1.1" 200 65
^CTraceback (most recent call last):
  File "/opt/homebrew/Cellar/[email protected]/3.10.16/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/opt/homebrew/Cellar/[email protected]/3.10.16/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Users/corneliusromer/code/poly-market-maker/poly_market_maker/__main__.py", line 5, in <module>
2025-01-07 17:14:48,338 DEBUG Thread-2 (_thread_refresh_order_book) Starting new HTTPS connection (3): polygon-rpc.com:443
    App(sys.argv[1:]).main()
  File "/Users/corneliusromer/code/poly-market-maker/poly_market_maker/app.py", line 88, in main
    with Lifecycle() as lifecycle:
  File "/Users/corneliusromer/code/poly-market-maker/poly_market_maker/lifecycle.py", line 133, in __exit__
    self.startup_function()
  File "/Users/corneliusromer/code/poly-market-maker/poly_market_maker/app.py", line 99, in startup
    self.approve()
  File "/Users/corneliusromer/code/poly-market-maker/poly_market_maker/app.py", line 207, in approve
    self.contracts.max_approve_erc20(collateral, self.address, exchange)
  File "/Users/corneliusromer/code/poly-market-maker/poly_market_maker/contracts.py", line 103, in max_approve_erc20
    ).transact({"gasPrice": self.gas_station.get_gas_price()})
  File "/Users/corneliusromer/code/poly-market-maker/poly_market_maker/gas.py", line 54, in get_gas_price
    rpc_gas_price = self.w3.eth.generate_gas_price()
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/eth.py", line 973, in generate_gas_price
    return self._generate_gas_price(transaction_params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/eth.py", line 213, in _generate_gas_price
    return self.gasPriceStrategy(self.web3, transaction_params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/gas_strategies/time_based.py", line 214, in time_based_gas_price_strategy
    probabilities = _compute_probabilities(
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/eth_utils/functional.py", line 45, in inner
    return callback(fn(*args, **kwargs))
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/gas_strategies/time_based.py", line 128, in _compute_probabilities
    miner_data_by_price = tuple(sorted(
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/gas_strategies/time_based.py", line 104, in _aggregate_miner_data
    data_by_miner = groupby(0, raw_data)
  File "cytoolz/itertoolz.pyx", line 117, in cytoolz.itertoolz.groupby
  File "cytoolz/itertoolz.pyx", line 161, in cytoolz.itertoolz.groupby
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/gas_strategies/time_based.py", line 95, in _get_raw_miner_data
    block = w3.eth.get_block(block['parentHash'], full_transactions=True)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/eth.py", line 677, in get_block
    return self._get_block(block_identifier, full_transactions)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/module.py", line 57, in caller
    result = w3.manager.request_blocking(method_str,
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/manager.py", line 197, in request_blocking
    response = self._make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/manager.py", line 150, in _make_request
    return request_func(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/cache.py", line 129, in middleware
    response = make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/cache.py", line 433, in middleware
    return make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/cache.py", line 248, in middleware
    return make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/signing.py", line 149, in middleware
    return make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/formatting.py", line 94, in middleware
    response = make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/gas_price_strategy.py", line 90, in middleware
    return make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/formatting.py", line 94, in middleware
    response = make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/attrdict.py", line 33, in middleware
    response = make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/formatting.py", line 94, in middleware
    response = make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/formatting.py", line 94, in middleware
    response = make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/formatting.py", line 94, in middleware
    response = make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/buffered_gas_estimate.py", line 40, in middleware
    return make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/formatting.py", line 94, in middleware
    response = make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/middleware/exception_retry_request.py", line 105, in middleware
    return make_request(method, params)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/providers/rpc.py", line 88, in make_request
    raw_response = make_post_request(
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/web3/_utils/request.py", line 48, in make_post_request
    response = session.post(endpoint_uri, data=data, *args, **kwargs)  # type: ignore
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/requests/sessions.py", line 577, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/requests/adapters.py", line 440, in send
    resp = conn.urlopen(
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/Users/corneliusromer/code/poly-market-maker/.venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/opt/homebrew/Cellar/[email protected]/3.10.16/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 1375, in getresponse
    response.begin()
  File "/opt/homebrew/Cellar/[email protected]/3.10.16/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 318, in begin
    version, status, reason = self._read_status()
  File "/opt/homebrew/Cellar/[email protected]/3.10.16/Frameworks/Python.framework/Versions/3.10/lib/python3.10/http/client.py", line 279, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/opt/homebrew/Cellar/[email protected]/3.10.16/Frameworks/Python.framework/Versions/3.10/lib/python3.10/socket.py", line 717, in readinto
    return self._sock.recv_into(b)
  File "/opt/homebrew/Cellar/[email protected]/3.10.16/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1307, in recv_into
    return self.read(nbytes, buffer)
  File "/opt/homebrew/Cellar/[email protected]/3.10.16/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ssl.py", line 1163, in read
    return self._sslobj.read(len, buffer)
KeyboardInterrupt

I've redacted the sensitive parts of the log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant