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

Failed to create any collector #71

Open
shpdnkti opened this issue Aug 8, 2022 · 0 comments
Open

Failed to create any collector #71

shpdnkti opened this issue Aug 8, 2022 · 0 comments

Comments

@shpdnkti
Copy link

shpdnkti commented Aug 8, 2022

  • running on the farm node
  • Port can be reached(have test rpc conn)
2022-08-08T09:53:39.812 INFO   🔌 Creating RPC Collector...
2022-08-08T09:53:39.869 INFO   🔌 Creating WebSocket Collector...
192.168.1.116
55400
2022-08-08T09:53:39.874 WARNING Failed to create WebSocket collector. Continuing without it. ConnectionError: Failed to connect to WebSocket API
2022-08-08T09:53:39.874 INFO   🔌 Creating Price Collector...
2022-08-08T09:53:39.874 ERROR  Failed to create any collector.
2022-08-08T09:53:39.875 INFO   🛑 Shutting down!
Traceback (most recent call last):
  File "/opt/py37/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/opt/py37/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/data/chia-monitor/monitor/__main__.py", line 146, in <module>
    asyncio.run(aggregator(exporter, notifier, rpc_refresh_interval, price_refresh_interval))
  File "/opt/py37/lib/python3.7/asyncio/runners.py", line 43, in run
    return loop.run_until_complete(main)
  File "/opt/py37/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
    return future.result()
  File "/data/chia-monitor/monitor/__main__.py", line 96, in aggregator
    rpc_task.cancel()
UnboundLocalError: local variable 'rpc_task' referenced before assignment
2022-08-08T09:53:39.973 ERROR  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f028a882090>
2022-08-08T09:53:39.974 ERROR  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f028a875d50>
2022-08-08T09:53:39.974 ERROR  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f028a875e90>
2022-08-08T09:53:39.974 ERROR  Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7f028a884690>
2022-08-08T09:53:39.974 ERROR  Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f028a854f30>, 100812.472507268)]']
connector: <aiohttp.connector.TCPConnector object at 0x7f028a875c90>
2022-08-08T09:53:39.974 ERROR  Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f028a7f73d0>, 100812.489107945)]']
connector: <aiohttp.connector.TCPConnector object at 0x7f028a875990>
2022-08-08T09:53:39.975 ERROR  Unclosed connector
connections: ['[(<aiohttp.client_proto.ResponseHandler object at 0x7f028a7f77c0>, 100812.506969851)]']
connector: <aiohttp.connector.TCPConnector object at 0x7f028a884b50>

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