Skip to content

Connection failure when server is out of licences shows parsing error  #721

Closed
@isc-bsaviano

Description

@isc-bsaviano

My VS Code refused to connect to the container, giving me an error with something like this (I no longer have it available): "Unexpected S character in JSON response at position 0". After inspection by the WRC), it turns out that it was caused by a missing or expired iris.key file, but that was absolutely NOT obvious from the error. The actual error was from VS Code rather than IRIS, but it would help if we could make it clearer somehow.

The error log in the audit report showed "Error #5915: Unable to allocate a license", but it required going into the MP and digging through the audit log to find it. All that showed up on VS Code was the JSON error popup and an error in the log about failing to connect to the web application /api/atelier, which didn't tell me nearly enough. That error, though, probably came from IRIS, and could be expanded upon to give enough information.

Reported internally as DP-407103

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions