Closed zbossz closed 1 year ago
I directly assign the account_id of /homeyinformer-master/app/bot'py to the exact id, instead of getting it from the metric
sqlalchemy.exc.InterfaceError: (mysql.connector.errors.InterfaceError) 2003: Can't connect to MySQL server on 'docker.for.mac.localhost:3307' (111 Connection refused) (Background on this error at: http://sqlalche.me/e/rvf5)
new issue came out
I solved the problem by installing mysql locally and running it, and changing the informer.env port to the default 3306
I not only changed the port, but also changed the mysq| user name to my own, and the address is localhost, not docker.mac.xxxxxxx
new problem here:
Traceback (most recent call last):
File "/home/informer-master1/app/bot.py", line 42, in
I created my own informer_db database in mysql under the root user. Maybe that's the problem.
I have been able to run the software successfully, I suggest you refer to this link to troubleshoot the error
So far I can still only run quick_start.sh
after i run ./start.sh
INFO:root:init_monitor_channels: Monitoring channels: []
app_informer | INFO:root:Channel METADATA: {}
app_informer | INFO:root:### {count} Running bot interval
app_informer | INFO:root:init_keywords: Monitoring keywords: [
app_informer | {
app_informer | "id": 1,
app_informer | "name": "Binance",
app_informer | "regex": "(binance|bnb)"
app_informer | }
app_informer | ]
app_informer | INFO:root:init_keywords: Monitoring keywords: [
app_informer | {
app_informer | "id": 1,
app_informer | "name": "Binance",
app_informer | "regex": "(binance|bnb)"
app_informer | },
app_informer | {
app_informer | "id": 2,
app_informer | "name": "Huobi",
app_informer | "regex": "(huobi)"
app_informer | }
app_informer | ]
app_informer | INFO:root:init_keywords: Monitoring keywords: [
app_informer | {
app_informer | "id": 1,
app_informer | "name": "Binance",
app_informer | "regex": "(binance|bnb)"
app_informer | },
app_informer | {
app_informer | "id": 2,
app_informer | "name": "Huobi",
app_informer | "regex": "(huobi)"
app_informer | },
app_informer | {
app_informer | "id": 3,
app_informer | "name": "Bittrex",
app_informer | "regex": "(bittrex)"
app_informer | }
app_informer | ]
app_informer | INFO:root:init_keywords: Monitoring keywords: [
app_informer | {
app_informer | "id": 1,
app_informer | "name": "Binance",
app_informer | "regex": "(binance|bnb)"
app_informer | },
app_informer | {
app_informer | "id": 2,
app_informer | "name": "Huobi",
app_informer | "regex": "(huobi)"
app_informer | },
app_informer | {
app_informer | "id": 3,
app_informer | "name": "Bittrex",
app_informer | "regex": "(bittrex)"
app_informer | },
app_informer | {
app_informer | "id": 4,
app_informer | "name": "Bitfinex",
app_informer | "regex": "(bitfinex)"
app_informer | }
app_informer | ]
app_informer | INFO:root:init_keywords: Monitoring keywords: [
app_informer | {
app_informer | "id": 1,
app_informer | "name": "Binance",
app_informer | "regex": "(binance|bnb)"
app_informer | },
app_informer | {
app_informer | "id": 2,
app_informer | "name": "Huobi",
app_informer | "regex": "(huobi)"
app_informer | },
app_informer | {
app_informer | "id": 3,
app_informer | "name": "Bittrex",
app_informer | "regex": "(bittrex)"
app_informer | },
app_informer | {
app_informer | "id": 4,
app_informer | "name": "Bitfinex",
app_informer | "regex": "(bitfinex)"
app_informer | },
app_informer | {
app_informer | "id": 5,
app_informer | "name": "Coinbase",
app_informer | "regex": "(coinbase)"
app_informer | }
app_informer | ]
app_informer | INFO:root:init_keywords: Monitoring keywords: [
app_informer | {
app_informer | "id": 1,
app_informer | "name": "Binance",
app_informer | "regex": "(binance|bnb)"
app_informer | },
app_informer | {
app_informer | "id": 2,
app_informer | "name": "Huobi",
app_informer | "regex": "(huobi)"
app_informer | },
app_informer | {
app_informer | "id": 3,
app_informer | "name": "Bittrex",
app_informer | "regex": "(bittrex)"
app_informer | },
app_informer | {
app_informer | "id": 4,
app_informer | "name": "Bitfinex",
app_informer | "regex": "(bitfinex)"
app_informer | },
app_informer | {
app_informer | "id": 5,
app_informer | "name": "Coinbase",
app_informer | "regex": "(coinbase)"
app_informer | },
app_informer | {
app_informer | "id": 6,
app_informer | "name": "Kraken",
app_informer | "regex": "(kraken)"
app_informer | }
app_informer | ]
app_informer | INFO:root:init_keywords: Monitoring keywords: [
app_informer | {
app_informer | "id": 1,
app_informer | "name": "Binance",
app_informer | "regex": "(binance|bnb)"
app_informer | },
app_informer | {
app_informer | "id": 2,
app_informer | "name": "Huobi",
app_informer | "regex": "(huobi)"
app_informer | },
app_informer | {
app_informer | "id": 3,
app_informer | "name": "Bittrex",
app_informer | "regex": "(bittrex)"
app_informer | },
app_informer | {
app_informer | "id": 4,
app_informer | "name": "Bitfinex",
app_informer | "regex": "(bitfinex)"
app_informer | },
app_informer | {
app_informer | "id": 5,
app_informer | "name": "Coinbase",
app_informer | "regex": "(coinbase)"
app_informer | },
app_informer | {
app_informer | "id": 6,
app_informer | "name": "Kraken",
app_informer | "regex": "(kraken)"
app_informer | },
app_informer | {
app_informer | "id": 7,
app_informer | "name": "Poloniex",
app_informer | "regex": "(poloniex)"
app_informer | }
app_informer | ]
nothing happened in mysql tables.
Traceback (most recent call last): File "/home/informer-master/app/bot.py", line 35, in
raise Exception('informer.py - account_id is a required param')
Exception: informer.py - account_id is a required param
but i already finished the informer.env