Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

GUI does not react to API response with error response code #50

Open
vuapo-eth opened this issue Mar 7, 2019 · 1 comment
Open

GUI does not react to API response with error response code #50

vuapo-eth opened this issue Mar 7, 2019 · 1 comment
Labels
bug Something isn't working feature request New feature or request gui Good for newcomers

Comments

@vuapo-eth
Copy link
Contributor

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: 5818947

@vuapo-eth vuapo-eth added bug Something isn't working feature request New feature or request gui Good for newcomers labels Mar 7, 2019
@Thoralf-M
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working feature request New feature or request gui Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants