You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When doing a GET on e.g. /api/v2/vpn/ipsec/phase2s it will throw an error 500:
{
"code": 500,
"status": "internal server error",
"response_id": "INTEGER_FIELD_WITH_NON_INTEGER_INTERNAL_VALUE",
"message": "Cannot parse IntegerField `keylen` from internal because its internal value is not a numeric value. Consider changing this field to a StringField.",
"data": []
}
I'm pretty sure this happens when one of the phase2's has the key length set to "auto" :
For the sake of not introducing a breaking change by making this a string field, I've made some changes to allow 0 to be specified as the keylen to represent auto. When this gets written to the config 0 will automatically be converted to auto and vice-versa. I'll have it in the next patch.
Activity
fix(IPsecPhase2Encryption): allow 'auto' keylen to be represented as 0 …
jaredhendrickson13 commentedon May 9, 2026
For the sake of not introducing a breaking change by making this a string field, I've made some changes to allow
0to be specified as thekeylento representauto. When this gets written to the config0will automatically be converted toautoand vice-versa. I'll have it in the next patch.