Closed Leon-Zhang closed 6 years ago
Hello Leon-Zhang
I am facing problem backend replacement
I have "run docker-compose build contract_observer" command build successful
I have create db but not auto import table alembic.ini file config sqlalchemy.url = postgresql+psycopg2://user:password@localhost:5432/dbname
then tried to "docker-compose run contract_observer alembic upgrade head" but get following errors:
[root@exchange backend-replacement]# docker-compose run contract_observer alembic upgrade head Starting backendreplacement_postgres_1 ... Starting backendreplacement_redis_1 ... done Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 2158, in _wrap_pool_connect return fn() File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 345, in unique_connection return _ConnectionFairy._checkout(self) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 791, in _checkout fairy = _ConnectionRecord.checkout(pool) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 532, in checkout rec = pool._do_get() File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 1287, in _do_get return self._create_connection() File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 350, in _create_connection return _ConnectionRecord(self) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 477, in init self.connect(first_connect_check=True) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/pool.py", line 674, in connect connection = pool._invoke_creator(self) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/strategies.py", line 106, in connect return dialect.connect(*cargs, *cparams) File "/usr/local/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 412, in connect return self.dbapi.connect(cargs, cparams) File "/usr/local/lib/python3.6/site-packages/psycopg2/init.py", line 130, in connect conn = _connect(dsn, connection_factory=connection_factory, kwasync) psycopg2.OperationalError: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/alembic", line 11, in
I'm sorry, I do not have the bandwidth to provide support for individual configuration issues.
try to:
in alembic.ini
sqlalchemy.url = postgresql+psycopg2://user:password@postgres:5432/forkdelta
and in /etc/postgresql/local all user md5
i will test to check, refer to: https://stackoverflow.com/questions/18664074/getting-error-peer-authentication-failed-for-user-postgres-when-trying-to-ge
Hello developers, I tried to "docker-compose run" but get following errors:
[ec2-user@ec2 backend-replacement]$ docker-compose run contract_obs erver alembic upgrade head WARNING: The ALLOWED_ORIGIN_SUFFIXES variable is not set. Defaulting to a blank string. Starting backend-replacement_redis_1 ... done Starting backend-replacement_postgres_1 ... done INFO [alembic.runtime.migration] Context impl PostgresqlImpl. INFO [alembic.runtime.migration] Will assume transactional DDL. INFO [alembic.runtime.migration] Running upgrade -> 7b76793c971f, Create Trade s table INFO [alembic.runtime.migration] Running upgrade 7b76793c971f -> f98e124b62b8, Create Transfers table INFO [alembic.runtime.migration] Running upgrade f98e124b62b8 -> 7661fdf74566, Create Orders table INFO [alembic.runtime.migration] Running upgrade 7661fdf74566 -> 47c6d9c6fd29, Add order fill column to Orders table INFO [alembic.runtime.migration] Running upgrade 47c6d9c6fd29 -> 4ce9876eea54, Add updated datetime column to Orders INFO [alembic.runtime.migration] Running upgrade 4ce9876eea54 -> 7719b4610d7e, Add available_volume to Orders INFO [alembic.runtime.migration] Running upgrade 7719b4610d7e -> e032ff832b82, create ticker table [ec2-user@ip-172-31-37-184 backend-replacement]$ docker-compose up WARNING: The ALLOWED_ORIGIN_SUFFIXES variable is not set. Defaulting to a blank string. backend-replacement_redis_1 is up-to-date backend-replacement_postgres_1 is up-to-date Starting backend-replacement_huey_consumer_1 ... done Starting backend-replacement_websocket_server_1 ... done Starting backend-replacement_ticker_1 ... done Starting backend-replacement_contract_observer_1 ... done Starting backend-replacement_etherdelta_observer_1 ... done Attaching to backend-replacement_redis_1, backend-replacement_postgres_1, backen d-replacement_huey_consumer_1, backend-replacement_ticker_1, backend-replacement _websocket_server_1, backend-replacement_contract_observer_1, backend-replacemen t_etherdelta_observer_1 redis_1 | 1:C 11 Sep 06:10:56.889 # oO0OoO0OoO0Oo Redis is starti ng oO0OoO0OoO0Oo redis_1 | 1:C 11 Sep 06:10:56.889 # Redis version=4.0.11, bits=64 , commit=00000000, modified=0, pid=1, just started redis_1 | 1:C 11 Sep 06:10:56.889 # Warning: no config file speci fied, using the default config. In order to specify a config file use redis-serv er /path/to/redis.conf redis_1 | 1:M 11 Sep 06:10:56.890 # You requested maxclients of 1 0000 requiring at least 10032 max file descriptors. redis_1 | 1:M 11 Sep 06:10:56.890 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted. redis_1 | 1:M 11 Sep 06:10:56.890 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. redis_1 | 1:M 11 Sep 06:10:56.895 Running mode=standalone, port =6379. redis_1 | 1:M 11 Sep 06:10:56.895 # WARNING: The TCP backlog sett ing of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. redis_1 | 1:M 11 Sep 06:10:56.895 # Server initialized redis_1 | 1:M 11 Sep 06:10:56.895 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the c ommand 'sysctl vm.overcommit_memory=1' for this to take effect. redis_1 | 1:M 11 Sep 06:10:56.895 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and me mory usage issues with Redis. To fix this issue run the command 'echo never > /s ys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.l ocal in order to retain the setting after a reboot. Redis must be restarted afte r THP is disabled. redis_1 | 1:M 11 Sep 06:10:56.896 Ready to accept connections redis_1 | 1:signal-handler (1536646515) Received SIGTERM scheduli ng shutdown... redis_1 | 1:M 11 Sep 06:15:15.915 # User requested shutdown... redis_1 | 1:M 11 Sep 06:15:15.915 Saving the final RDB snapshot before exiting. redis_1 | 1:M 11 Sep 06:15:15.916 DB saved on disk redis_1 | 1:M 11 Sep 06:15:15.916 # Redis is now ready to exit, b ye bye... redis_1 | 1:C 11 Sep 06:15:27.016 # oO0OoO0OoO0Oo Redis is starti ng oO0OoO0OoO0Oo redis_1 | 1:C 11 Sep 06:15:27.016 # Redis version=4.0.11, bits=64 , commit=00000000, modified=0, pid=1, just started redis_1 | 1:C 11 Sep 06:15:27.016 # Warning: no config file speci fied, using the default config. In order to specify a config file use redis-serv er /path/to/redis.conf redis_1 | 1:M 11 Sep 06:15:27.018 # You requested maxclients of 1 0000 requiring at least 10032 max file descriptors. redis_1 | 1:M 11 Sep 06:15:27.018 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted. redis_1 | 1:M 11 Sep 06:15:27.018 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. redis_1 | 1:M 11 Sep 06:15:27.018 Running mode=standalone, port =6379. redis_1 | 1:M 11 Sep 06:15:27.018 # WARNING: The TCP backlog sett ing of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. redis_1 | 1:M 11 Sep 06:15:27.018 # Server initialized redis_1 | 1:M 11 Sep 06:15:27.018 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the c ommand 'sysctl vm.overcommit_memory=1' for this to take effect. redis_1 | 1:M 11 Sep 06:15:27.018 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and me mory usage issues with Redis. To fix this issue run the command 'echo never > /s ys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.l ocal in order to retain the setting after a reboot. Redis must be restarted afte r THP is disabled. redis_1 | 1:M 11 Sep 06:15:27.018 DB loaded from disk: 0.000 se conds redis_1 | 1:M 11 Sep 06:15:27.018 Ready to accept connections redis_1 | 1:signal-handler (1536646712) Received SIGTERM scheduli ng shutdown... redis_1 | 1:M 11 Sep 06:18:32.142 # User requested shutdown... redis_1 | 1:M 11 Sep 06:18:32.142 Saving the final RDB snapshot before exiting. redis_1 | 1:M 11 Sep 06:18:32.143 DB saved on disk redis_1 | 1:M 11 Sep 06:18:32.143 # Redis is now ready to exit, b ye bye... redis_1 | 1:C 11 Sep 06:18:42.879 # oO0OoO0OoO0Oo Redis is starti ng oO0OoO0OoO0Oo redis_1 | 1:C 11 Sep 06:18:42.879 # Redis version=4.0.11, bits=64 , commit=00000000, modified=0, pid=1, just started redis_1 | 1:C 11 Sep 06:18:42.879 # Warning: no config file speci fied, using the default config. In order to specify a config file use redis-serv er /path/to/redis.conf redis_1 | 1:M 11 Sep 06:18:42.881 # You requested maxclients of 1 0000 requiring at least 10032 max file descriptors. redis_1 | 1:M 11 Sep 06:18:42.881 # Server can't set maximum open files to 10032 because of OS error: Operation not permitted. redis_1 | 1:M 11 Sep 06:18:42.881 # Current maximum open files is 4096. maxclients has been reduced to 4064 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. redis_1 | 1:M 11 Sep 06:18:42.881 Running mode=standalone, port =6379. redis_1 | 1:M 11 Sep 06:18:42.881 # WARNING: The TCP backlog sett ing of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. redis_1 | 1:M 11 Sep 06:18:42.881 # Server initialized redis_1 | 1:M 11 Sep 06:18:42.881 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the c ommand 'sysctl vm.overcommit_memory=1' for this to take effect. redis_1 | 1:M 11 Sep 06:18:42.881 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and me mory usage issues with Redis. To fix this issue run the command 'echo never > /s ys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.l ocal in order to retain the setting after a reboot. Redis must be restarted afte r THP is disabled. redis_1 | 1:M 11 Sep 06:18:42.881 DB loaded from disk: 0.000 se conds redis_1 | 1:M 11 Sep 06:18:42.881 Ready to accept connections postgres_1 | The files belonging to this database system will be own ed by user "postgres". postgres_1 | This user must also own the server process. postgres_1 | postgres_1 | The database cluster will be initialized with locale "e n_US.utf8". postgres_1 | The default database encoding has accordingly been set to "UTF8". postgres_1 | The default text search configuration will be set to "e nglish". postgres_1 | postgres_1 | Data page checksums are disabled. postgres_1 | postgres_1 | fixing permissions on existing directory /var/lib/postg resql/data ... ok postgres_1 | creating subdirectories ... ok postgres_1 | selecting default max_connections ... 100 postgres_1 | selecting default shared_buffers ... 128MB postgres_1 | selecting dynamic shared memory implementation ... posi x postgres_1 | creating configuration files ... ok postgres_1 | running bootstrap script ... ok postgres_1 | sh: locale: not found postgres_1 | 2018-09-11 06:10:57.706 UTC [26] WARNING: no usable sy stem locales were found postgres_1 | performing post-bootstrap initialization ... ok postgres_1 | syncing data to disk ... ok postgres_1 | postgres_1 | WARNING: enabling "trust" authentication for local conn ections postgres_1 | You can change this by editing pg_hba.conf or using the option -A, or postgres_1 | --auth-local and --auth-host, the next time you run ini tdb. postgres_1 | postgres_1 | Success. You can now start the database server using: postgres_1 | postgres_1 | pg_ctl -D /var/lib/postgresql/data -l logfile start postgres_1 | postgres_1 | waiting for server to start....2018-09-11 06:10:58.516 UTC [30] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres_1 | 2018-09-11 06:10:58.540 UTC [31] LOG: database system was shut down at 2018-09-11 06:10:58 UTC postgres_1 | 2018-09-11 06:10:58.542 UTC [30] LOG: database system is ready to accept connections postgres_1 | done postgres_1 | server started postgres_1 | CREATE DATABASE postgres_1 | postgres_1 | postgres_1 | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-e ntrypoint-initdb.d/* postgres_1 | postgres_1 | 2018-09-11 06:10:58.843 UTC [30] LOG: received fast sh utdown request postgres_1 | waiting for server to shut down....2018-09-11 06:10:58. 844 UTC [30] LOG: aborting any active transactions postgres_1 | 2018-09-11 06:10:58.845 UTC [30] LOG: worker process: logical replication launcher (PID 37) exited with exit code 1 postgres_1 | 2018-09-11 06:10:58.845 UTC [32] LOG: shutting down postgres_1 | 2018-09-11 06:10:58.853 UTC [30] LOG: database system is shut down postgres_1 | done postgres_1 | server stopped postgres_1 | postgres_1 | PostgreSQL init process complete; ready for start up. postgres_1 | postgres_1 | 2018-09-11 06:10:58.950 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres_1 | 2018-09-11 06:10:58.950 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres_1 | 2018-09-11 06:10:58.953 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres_1 | 2018-09-11 06:10:58.964 UTC [41] LOG: database system was shut down at 2018-09-11 06:10:58 UTC postgres_1 | 2018-09-11 06:10:58.966 UTC [1] LOG: database system i s ready to accept connections postgres_1 | 2018-09-11 06:15:15.920 UTC [1] LOG: received smart sh utdown request postgres_1 | 2018-09-11 06:15:15.922 UTC [1] LOG: worker process: l ogical replication launcher (PID 47) exited with exit code 1 postgres_1 | 2018-09-11 06:15:15.922 UTC [42] LOG: shutting down postgres_1 | 2018-09-11 06:15:15.932 UTC [1] LOG: database system i s shut down postgres_1 | 2018-09-11 06:15:27.130 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres_1 | 2018-09-11 06:15:27.130 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres_1 | 2018-09-11 06:15:27.132 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres_1 | 2018-09-11 06:15:27.170 UTC [18] LOG: database system was shut down at 2018-09-11 06:15:15 UTC postgres_1 | 2018-09-11 06:15:27.173 UTC [1] LOG: database system i s ready to accept connections postgres_1 | 2018-09-11 06:18:32.145 UTC [1] LOG: received smart sh utdown request postgres_1 | 2018-09-11 06:18:32.147 UTC [1] LOG: worker process: l ogical replication launcher (PID 24) exited with exit code 1 postgres_1 | 2018-09-11 06:18:32.147 UTC [19] LOG: shutting down postgres_1 | 2018-09-11 06:18:32.157 UTC [1] LOG: database system i s shut down postgres_1 | 2018-09-11 06:18:42.974 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 postgres_1 | 2018-09-11 06:18:42.974 UTC [1] LOG: listening on IPv6 address "::", port 5432 postgres_1 | 2018-09-11 06:18:43.030 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" postgres_1 | 2018-09-11 06:18:43.056 UTC [18] LOG: database system was shut down at 2018-09-11 06:18:32 UTC postgres_1 | 2018-09-11 06:18:43.058 UTC [1] LOG: database system i s ready to accept connections ticker_1 | App.App ERROR Failed to refresh token list. ticker_1 | Traceback (most recent call last): ticker_1 | File "/usr/local/lib/python3.6/runpy.py", line 193, i n _run_module_as_main ticker_1 | "main", mod_spec) ticker_1 | File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code ticker_1 | exec(code, run_globals) ticker_1 | File "/usr/src/app/app/services/ticker.py", line 45, in
ticker_1 | fill_queue()
ticker_1 | File "/usr/src/app/app/services/ticker.py", line 38, in fill_queue
ticker_1 | for token in App().tokens():
ticker_1 | File "/usr/src/app/app/app.py", line 92, in init
ticker_1 | App.thread_local.instance = App.App()
ticker_1 | File "/usr/src/app/app/app.py", line 59, in init
ticker_1 | self.updateTokens()
ticker_1 | File "/usr/src/app/app/app.py", line 75, in updateTok ens
ticker_1 | raise e
ticker_1 | File "/usr/src/app/app/app.py", line 67, in updateTok ens
ticker_1 | fd_config = requests.get(config.FRONTEND_CONFIG_FIL E).json()
ticker_1 | File "/usr/local/lib/python3.6/site-packages/requests /models.py", line 896, in json
ticker_1 | return complexjson.loads(self.text, **kwargs)
ticker_1 | File "/usr/local/lib/python3.6/json/init.py", lin e 354, in loads
ticker_1 | return _default_decoder.decode(s)
ticker_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
ticker_1 | obj, end = self.raw_decode(s, idx=_w(s, 0).end())
ticker_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
ticker_1 | raise JSONDecodeError("Expecting value", s, err.val ue) from None
ticker_1 | json.decoder.JSONDecodeError: Expecting value: line 1 c olumn 1 (char 0)
huey_consumer_1 | App.App ERROR Failed to refresh token list.
huey_consumer_1 | Error importing app.services.huey_consumer.huey
huey_consumer_1 | Traceback (most recent call last):
huey_consumer_1 | File "/usr/local/bin/huey_consumer.py", line 51, in < module>
huey_consumer_1 | consumer_main()
huey_consumer_1 | File "/usr/local/bin/huey_consumer.py", line 43, in c onsumer_main
huey_consumer_1 | huey_instance = load_huey(args[0])
huey_consumer_1 | File "/usr/local/bin/huey_consumer.py", line 23, in l oad_huey
huey_consumer_1 | return load_huey(path)
huey_consumer_1 | File "/usr/local/bin/huey_consumer.py", line 18, in l oad_huey
huey_consumer_1 | return load_class(path)
huey_consumer_1 | File "/usr/local/lib/python3.6/site-packages/huey/uti ls.py", line 46, in load_class
huey_consumer_1 | import(path)
huey_consumer_1 | File "/usr/src/app/app/services/huey_consumer.py", li ne 24, in
huey_consumer_1 | from ..tasks.update_order import update_order_by_si gnature, update_orders_by_maker_and_token
huey_consumer_1 | File "/usr/src/app/app/tasks/update_order.py", line 2 9, in
huey_consumer_1 | huey = App().huey
huey_consumer_1 | File "/usr/src/app/app/app.py", line 92, in init
huey_consumer_1 | App.thread_local.instance = App.App()
huey_consumer_1 | File "/usr/src/app/app/app.py", line 59, in init__
huey_consumer_1 | self.updateTokens()
huey_consumer_1 | File "/usr/src/app/app/app.py", line 75, in updateTok ens
huey_consumer_1 | raise e
huey_consumer_1 | File "/usr/src/app/app/app.py", line 67, in updateTok ens
huey_consumer_1 | fd_config = requests.get(config.FRONTEND_CONFIG_FIL E).json()
huey_consumer_1 | File "/usr/local/lib/python3.6/site-packages/requests /models.py", line 896, in json
huey_consumer_1 | return complexjson.loads(self.text, **kwargs)
huey_consumer_1 | File "/usr/local/lib/python3.6/json/init.py", lin e 354, in loads
huey_consumer_1 | return _default_decoder.decode(s)
huey_consumer_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
huey_consumer_1 | obj, end = self.raw_decode(s, idx=_w(s, 0).end())
huey_consumer_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
huey_consumer_1 | raise JSONDecodeError("Expecting value", s, err.val ue) from None
huey_consumer_1 | json.decoder.JSONDecodeError: Expecting value: line 1 c olumn 1 (char 0)
contract_observer_1 | App.App ERROR Failed to refresh token list.
contract_observer_1 | Traceback (most recent call last):
contract_observer_1 | File "/usr/local/lib/python3.6/runpy.py", line 193, i n _run_module_as_main
contract_observer_1 | "main", mod_spec)
contract_observer_1 | File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
contract_observer_1 | exec(code, run_globals)
contract_observer_1 | File "/usr/src/app/app/services/contract_observer.py" , line 22, in
contract_observer_1 | from ..src.contract_event_recorders import record_c ancel, record_deposit, process_order, process_trade, record_withdraw
contract_observer_1 | File "/usr/src/app/app/src/contract_event_recorders.p y", line 29, in
contract_observer_1 | from ..tasks.update_order import update_orders_by_m aker_and_token, update_order_by_signature
contract_observer_1 | File "/usr/src/app/app/tasks/update_order.py", line 2 9, in
contract_observer_1 | huey = App().huey
contract_observer_1 | File "/usr/src/app/app/app.py", line 92, in init
contract_observer_1 | App.thread_local.instance = App. App()
contract_observer_1 | File "/usr/src/app/app/app.py", line 59, in init
contract_observer_1 | self.updateTokens()
contract_observer_1 | File "/usr/src/app/app/app.py", line 75, in updateTok ens
contract_observer_1 | raise e
contract_observer_1 | File "/usr/src/app/app/app.py", line 67, in updateTok ens
contract_observer_1 | fd_config = requests.get(config.FRONTEND_CONFIG_FIL E).json()
contract_observer_1 | File "/usr/local/lib/python3.6/site-packages/requests /models.py", line 896, in json
contract_observer_1 | return complexjson.loads(self.text, kwargs)
contract_observer_1 | File "/usr/local/lib/python3.6/json/init.py", lin e 354, in loads
contract_observer_1 | return _default_decoder.decode(s)
contract_observer_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
contract_observer_1 | obj, end = self.raw_decode(s, idx=_w(s, 0).end())
contract_observer_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
contract_observer_1 | raise JSONDecodeError("Expecting value", s, err.val ue) from None
contract_observer_1 | json.decoder.JSONDecodeError: Expecting value: line 1 c olumn 1 (char 0)
backend-replacement_ticker_1 exited with code 1
etherdelta_observer_1 | App.App ERROR Failed to refresh token list.
etherdelta_observer_1 | Traceback (most recent call last):
etherdelta_observer_1 | File "/usr/local/lib/python3.6/runpy.py", line 193, i n _run_module_as_main
etherdelta_observer_1 | "main", mod_spec)
etherdelta_observer_1 | File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
etherdelta_observer_1 | exec(code, run_globals)
etherdelta_observer_1 | File "/usr/src/app/app/services/etherdelta_observer.p y", line 55, in
etherdelta_observer_1 | fill_queue()
etherdelta_observer_1 | File "/usr/src/app/app/services/etherdelta_observer.p y", line 48, in fill_queue
etherdelta_observer_1 | for token in App().tokens():
etherdelta_observer_1 | File "/usr/src/app/app/app.py", line 92, in init
etherdelta_observer_1 | App.thread_local.instance = App.App()
etherdelta_observer_1 | File "/usr/src/app/app/app.py", line 59, in init__
etherdelta_observer_1 | self.updateTokens()
etherdelta_observer_1 | File "/usr/src/app/app/app.py", line 75, in updateTok ens
etherdelta_observer_1 | raise e
etherdelta_observer_1 | File "/usr/src/app/app/app.py", line 67, in updateTok ens
etherdelta_observer_1 | fd_config = requests.get(config.FRONTEND_CONFIG_FIL E).json()
etherdelta_observer_1 | File "/usr/local/lib/python3.6/site-packages/requests /models.py", line 896, in json
etherdelta_observer_1 | return complexjson.loads(self.text, kwargs)
etherdelta_observer_1 | File "/usr/local/lib/python3.6/json/init.py", lin e 354, in loads
etherdelta_observer_1 | return _default_decoder.decode(s)
etherdelta_observer_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
etherdelta_observer_1 | obj, end = self.raw_decode(s, idx=_w(s, 0).end())
etherdelta_observer_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
etherdelta_observer_1 | raise JSONDecodeError("Expecting value", s, err.val ue) from None
etherdelta_observer_1 | json.decoder.JSONDecodeError: Expecting value: line 1 c olumn 1 (char 0)
backend-replacement_huey_consumer_1 exited with code 1
backend-replacement_contract_observer_1 exited with code 1
websocket_server_1 | App.App ERROR Failed to refresh token list.
websocket_server_1 | Traceback (most recent call last):
websocket_server_1 | File "/usr/local/lib/python3.6/runpy.py", line 193, i n _run_module_as_main
websocket_server_1 | "main", mod_spec)
websocket_server_1 | File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
websocket_server_1 | exec(code, run_globals)
websocket_server_1 | File "/usr/src/app/app/services/websocket_server.py", line 608, in
websocket_server_1 | from ..src.record_order import record_order
websocket_server_1 | File "/usr/src/app/app/src/record_order.py", line 31, in
websocket_server_1 | from ..tasks.update_order import update_order_by_si gnature
websocket_server_1 | File "/usr/src/app/app/tasks/update_order.py", line 2 9, in
websocket_server_1 | huey = App().huey
websocket_server_1 | File "/usr/src/app/app/app.py", line 92, in init
websocket_server_1 | App.thread_local.instance = App.App()
websocket_server_1 | File "/usr/src/app/app/app.py", line 59, in init__
websocket_server_1 | self.updateTokens()
websocket_server_1 | File "/usr/src/app/app/app.py", line 75, in updateTok ens
websocket_server_1 | raise e
websocket_server_1 | File "/usr/src/app/app/app.py", line 67, in updateTok ens
websocket_server_1 | fd_config = requests.get(config.FRONTEND_CONFIG_FIL E).json()
websocket_server_1 | File "/usr/local/lib/python3.6/site-packages/requests /models.py", line 896, in json
websocket_server_1 | return complexjson.loads(self.text, **kwargs)
websocket_server_1 | File "/usr/local/lib/python3.6/json/init.py", lin e 354, in loads
websocket_server_1 | return _default_decoder.decode(s)
websocket_server_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
websocket_server_1 | obj, end = self.raw_decode(s, idx=_w(s, 0).end())
websocket_server_1 | File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
websocket_server_1 | raise JSONDecodeError("Expecting value", s, err.val ue) from None
websocket_server_1 | json.decoder.JSONDecodeError: Expecting value: line 1 c olumn 1 (char 0)
backend-replacement_etherdelta_observer_1 exited with code 1
backend-replacement_websocket_server_1 exited with code 1