ict
ict copied to clipboard
GUI does not react to API response with error response code
Instead, this appears in my browser console (Google Chrome)
:2187/getModules:1 Failed to load resource: the server responded with a status of 401 (Unauthorized)
:2187/getModules:1 Failed to load resource: the server responded with a status of 429 (Too Many Requests)
SyntaxError: Unexpected token A in JSON at position 0 at o (src.472b7051.js:110)
It would be helpful for users to understand problems if these error codes would be handled similar to API errors appearing with status code 200.
For examples, users should be informed that they were given a timeout after trying a wrong password: https://github.com/iotaledger/ict/commit/58189478f9574f5d5211483b8e3291acda1c4788
It's not the same problem, but also GUI related. I think the error that is shown in the log should also be shown in the install module window
Error in INSTALL MODULE window
Installation of module 'https://github.com/iotaledger/ec.ixi' failed: java.lang.RuntimeException: Failed to connect to https://api.github.com/repos/https://github.com/iotaledger/ec.ixi/releases. Bad response code: 404
Error in log
30.03.2019 11:11
IXI module 'EC.ixi' does not specify your Ict's version '0.6-SNAPSHOT' as supported in module.json.
30.03.2019 11:11
versions.json of repository 'https://github.com/iotaledger/ec.ixi' does not specify recommended module version for Ict version 0.6-SNAPSHOT