Hi.
I am testing the frontend as written in the README
on my ubuntu 22.04 machine with a installed
node version v18.15.0 from the repo but
it fails to start the frontend with this error message here:
error:0308010C:digital envelope routines::unsupported
Following this helpful solution here
https://stackoverflow.com/a/69713899
i was able to patch the bug as follow and make the frontend runs now localy
on ubuntu 22.04 with the newest node v18.15.0 version.
diff --git a/crypto-demo/package.json b/crypto-demo/package.json
index a01a651..354f07b 100644
--- a/crypto-demo/package.json
+++ b/crypto-demo/package.json
@@ -67,9 +67,9 @@
"workbox-webpack-plugin": "3.6.2"
},
"scripts": {
- "start": "node scripts/start.js",
- "build": "node scripts/build.js",
- "test": "node scripts/test.js",
+ "start": "node --openssl-legacy-provider scripts/start.js",
+ "build": "node --openssl-legacy-provider scripts/build.js",
+ "test": "node --openssl-legacy-provider scripts/test.js",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
If i Log in however nothing happens despite the fact that i followed every step as in the README.
This is the second last request that delivers a response.
https://api-play-ap-northeast.paas.macrometa.io/_tenant/***********/_fabric/_system/cursor
{
"result": [],
"hasMore": false,
"cached": false,
"extra": {
"stats": {
"writesExecuted": 0,
"writesIgnored": 0,
"scannedFull": 0,
"scannedIndex": 0,
"filtered": 0,
"httpRequests": 0,
"executionTime": 2.727508544921875e-4,
"peakMemoryUsage": 39856
},
"warnings": []
},
"error": false,
"code": 201
}
the last query made that fails with zero data exchanged is this websocket url.
wss://api-play-ap-northeast.paas.macrometa.io/_ws/ws/v2/consumer/persistent/xxxxxxxxxxx/c8global._system/c8globals.CryptoTraderQuotesAvgEURNew/EUR-sub92673?otp=xxxxxxxxxx
Do i need somewhere also to put the api credentials for the exchanges when i run this frontend localy for testing?
It is nowhere written about it in the readme that this is required.
What could be the problem that no charts are painted and the websocket request dont work ?
I published the stream worker so it should all be good based by the readme.
Thanks in advance for the help.
Hi.
I am testing the frontend as written in the README
on my ubuntu 22.04 machine with a installed
node version v18.15.0 from the repo but
it fails to start the frontend with this error message here:
Following this helpful solution here
https://stackoverflow.com/a/69713899
i was able to patch the bug as follow and make the frontend runs now localy
on ubuntu 22.04 with the newest node v18.15.0 version.
If i Log in however nothing happens despite the fact that i followed every step as in the README.
This is the second last request that delivers a response.
the last query made that fails with zero data exchanged is this websocket url.
Do i need somewhere also to put the api credentials for the exchanges when i run this frontend localy for testing?
It is nowhere written about it in the readme that this is required.
What could be the problem that no charts are painted and the websocket request dont work ?
I published the stream worker so it should all be good based by the readme.
Thanks in advance for the help.