DIY Exchange Went Down Suddenly

My exchange uncrypto.io all of a sudden displays a blank page. It was working absolutely fine a week or so ago and I haven’t made any changes to it since then.

Dev tools shows me the following:

  1. Request URL:

https://api.uncrypto.io/plugins

  1. Request Method:

GET

  1. Status Code:

404 Not Found

  1. Remote Address:

157.230.127.93:443

  1. Referrer Policy:

strict-origin-when-cross-origin

I have not upgraded my exchange to the latest version because I’ve made several changes to it and will need to reapply all those changes from scratch.

Can anyone help me resolve this?

Thanks in advance.

Hi there.

I think there is a problem with your plugins container.

Run hollaex logs command to see the logs, especially from the plugins container.

What do you see there?

Thanks for the prompt reply. Here are a few excerpts from the logs:

{“message”:"Redis is ready ",“level”:“info”,“timestamp”:“2021-11-22T06:24:25.981Z”}
{“message”:"init/checkStatus ",“level”:“info”,“timestamp”:“2021-11-22T06:24:26.023Z”}
{“level”:“error”,“message”:“init/checkStatus Error Exchange is inactive. Visit https://dash.bitholla.com to check the status of your exchange.”,“timestamp”:“2021-11-22T06:24:26.666Z”}
Mon, 22 Nov 2021 06:29:28 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
{“level”:“verbose”,“message”:“init/checkStatus checking exchange status”,“timestamp”:“2021-11-22T06:29:29.094Z”}
WARNING: NODE_ENV value of ‘production’ did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
{“message”:"Server running on port: 10010 ",“level”:“info”,“timestamp”:“2021-11-22T06:29:29.668Z”}
{“message”:"Connect to PubSub ",“level”:“verbose”,“timestamp”:“2021-11-22T06:29:29.694Z”}
{“message”:"Connect to redis ",“level”:“verbose”,“timestamp”:“2021-11-22T06:29:29.695Z”}
{“message”:"Authenticated to PubSub ",“level”:“verbose”,“timestamp”:“2021-11-22T06:29:29.700Z”}
{“message”:"PubSub is ready ",“level”:“info”,“timestamp”:“2021-11-22T06:29:29.701Z”}
{“message”:"Authenticated to redis ",“level”:“verbose”,“timestamp”:“2021-11-22T06:29:29.702Z”}
{“message”:"Redis is ready ",“level”:“info”,“timestamp”:“2021-11-22T06:29:29.702Z”}
{“message”:"init/checkStatus ",“level”:“info”,“timestamp”:“2021-11-22T06:29:29.748Z”}
{“level”:“error”,“message”:“init/checkStatus Error Exchange is inactive. Visit https://dash.bitholla.com to check the status of your exchange.”,“timestamp”:“2021-11-22T06:29:30.414Z”}
Mon, 22 Nov 2021 06:34:32 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
{“level”:“verbose”,“message”:“init/checkStatus checking exchange status”,“timestamp”:“2021-11-22T06:34:32.917Z”}
WARNING: NODE_ENV value of ‘production’ did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
{“message”:"Server running on port: 10010 ",“level”:“info”,“timestamp”:“2021-11-22T06:34:33.438Z”}
{“message”:"Connect to PubSub ",“level”:“verbose”,“timestamp”:“2021-11-22T06:34:33.450Z”}
{“message”:"Connect to redis ",“level”:“verbose”,“timestamp”:“2021-11-22T06:34:33.450Z”}
{“message”:"Authenticated to PubSub ",“level”:“verbose”,“timestamp”:“2021-11-22T06:34:33.455Z”}
{“message”:"PubSub is ready ",“level”:“info”,“timestamp”:“2021-11-22T06:34:33.455Z”}
{“message”:"Authenticated to redis ",“level”:“verbose”,“timestamp”:“2021-11-22T06:34:33.456Z”}
{“message”:"Redis is ready ",“level”:“info”,“timestamp”:“2021-11-22T06:34:33.456Z”}
{“message”:"init/checkStatus ",“level”:“info”,“timestamp”:“2021-11-22T06:34:33.496Z”}
{“level”:“error”,“message”:“init/checkStatus Error Exchange is inactive. Visit https://dash.bitholla.com to check the status of your exchange.”,“timestamp”:“2021-11-22T06:34:34.164Z”}

Container : local_uncrypto-redis_1
1:C 22 Nov 2021 05:38:47.504 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 22 Nov 2021 05:38:47.504 # Redis version=6.0.9, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 22 Nov 2021 05:38:47.504 # Configuration loaded
1:M 22 Nov 2021 05:38:47.506 * Running mode=standalone, port=6379.
1:M 22 Nov 2021 05:38:47.506 # Server initialized
1:M 22 Nov 2021 05:38:47.506 # 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 command ‘sysctl vm.overcommit_memory=1’ for this to take effect.
1:M 22 Nov 2021 05:38:47.506 * Ready to accept connections

Container : local_uncrypto-db_1
2021-11-22 05:38:47.072 UTC [1] LOG: listening on IPv6 address “::”, port 5432
2021-11-22 05:38:47.074 UTC [1] LOG: listening on Unix socket “/var/run/postgresql/.s.PGSQL.5432”
2021-11-22 05:38:47.089 UTC [19] LOG: database system was shut down at 2021-11-22 05:38:40 UTC
2021-11-22 05:38:47.092 UTC [1] LOG: database system is ready to accept connections
2021-11-22 06:04:14.427 UTC [112] FATAL: password authentication failed for user “pgadmin”
2021-11-22 06:04:14.427 UTC [112] DETAIL: Role “pgadmin” does not exist.
Connection matched pg_hba.conf line 95: “host all all all md5”
2021-11-22 06:30:14.546 UTC [195] FATAL: password authentication failed for user “admin”
2021-11-22 06:30:14.546 UTC [195] DETAIL: Role “admin” does not exist.
Connection matched pg_hba.conf line 95: “host all all all md5”
There are no logs for container : local_uncrypto-db_1.

I’ve checked dash.bitholla.com and the exchange is active.

Hey. I don’t think that you posted the logs from plugins.

Tryna run this command instead: hollaex logs --target plugins

This is what I get:

root@uncryptos-exchange:/var/www/unc# hollaex logs --target plugins
Displaying Logs from plugins…
Error: Invalid target plugins.
Command ‘hollaex logs’ only supports ‘api stream db redis’ as log target.
Pleases try it again.

I see.

You can still try to check the plugins logs manually.

Try to find local_uncrypto-server-plugins_1 after you run hollaex logs command.

This is the result of the plugins logs:

Container : local_uncrypto-server-plugins_1
Mon, 22 Nov 2021 07:24:57 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 06:49:35 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 06:54:38 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 06:59:41 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:04:44 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:09:47 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:14:50 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:19:54 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:24:57 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 06:54:36 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 06:59:38 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:04:41 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:09:44 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:14:47 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:19:50 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
Mon, 22 Nov 2021 07:24:52 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 22 Nov 2021 06:54:47 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
WARNING: NODE_ENV value of ‘production’ did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 22 Nov 2021 06:59:51 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
WARNING: NODE_ENV value of ‘production’ did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 22 Nov 2021 07:04:55 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
WARNING: NODE_ENV value of ‘production’ did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 22 Nov 2021 07:09:59 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
WARNING: NODE_ENV value of ‘production’ did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 22 Nov 2021 07:15:03 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
WARNING: NODE_ENV value of ‘production’ did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 22 Nov 2021 07:20:06 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
WARNING: NODE_ENV value of ‘production’ did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 22 Nov 2021 07:25:10 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13
WARNING: NODE_ENV value of ‘production’ did not match any deployment config file names.
WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
2021-11-22 05:38:47.092 UTC [1] LOG: database system is ready to accept connections
2021-11-22 06:04:14.427 UTC [112] FATAL: password authentication failed for user “pgadmin”
2021-11-22 06:04:14.427 UTC [112] DETAIL: Role “pgadmin” does not exist.
Connection matched pg_hba.conf line 95: “host all all all md5”
2021-11-22 06:30:14.546 UTC [195] FATAL: password authentication failed for user “admin”
2021-11-22 06:30:14.546 UTC [195] DETAIL: Role “admin” does not exist.
Connection matched pg_hba.conf line 95: “host all all all md5”
2021-11-22 07:21:26.095 UTC [359] FATAL: password authentication failed for user “admin”
2021-11-22 07:21:26.095 UTC [359] DETAIL: Role “admin” does not exist.
Connection matched pg_hba.conf line 95: “host all all all md5”

I saw this from your logs.

WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
Mon, 22 Nov 2021 06:54:47 GMT sequelize deprecated String based operators are now deprecated. Please use Symbol based operators for better security, read more at http://docs.sequelizejs.com/manual/tutorial/querying.html#operators at node_modules/sequelize/lib/sequelize.js:242:13

(repeating)

This means that your plugins server keeps crashing.

Did you add anything specific on your plugins before? Like custom plugins and stuffs?

Nope. I haven’t made any updates to the exchange in about 10 days or so. And it was working fine just before that. I have the manual KYC plugin, SMS plugin, Announcements and Bank plugins active.

I see. If you didn’t make any change then it’s quite weird.

Can you try to get some more information by running the docker inspect local_uncrypto-server-plugins_1 command, and post the full result here?

Bumping this thread for visibility. Does anyone have an idea how I can resolve this without an upgrade if possible?

1 Like

That is also quite surprising for me when DIY went down but all thanks to Top Essay Writing for giving me the best essay help for my academics.

1 Like

Remove the API key, secrets, DB … passwords from the log NOW !!!
Nevermind, it was last year, too late

1 Like