Malformed rpc calls terminate connection
Bug #1891248 reported by
Jeff Pihach
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
When making an RPC call to log in on the Admin facade I was incorrectly sending the `version` as a string instead of an integer. Juju would then terminate the connection immediately instead of returning an error.
This took a while to track down, it would be nice if it returned an error for malformed requests.
```
--> {"type"
close: 1006 Connection dropped by remote peer
```
To post a comment you must log in.
Agree that Juju should be more helpful for errors like this.
Added the "bitesize" tag, as I believe that this should be pretty straightforward to add.