Malformed rpc calls terminate connection

Bug #1891248 reported by Jeff Pihach
6
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":"Admin","request":"Login","version":"3","params":{"maracoons":[]},"request-id":1}
close: 1006 Connection dropped by remote peer
```

Revision history for this message
Pen Gale (pengale) wrote :

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.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
tags: added: bitesize
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.