Error handling for too long/invalid RS IDs #9

Closed
opened 2019-01-26 00:39:12 +08:00 by johannesmoos · 0 comments
johannesmoos commented 2019-01-26 00:39:12 +08:00 (Migrated from github.com)

The RS IDs are limited to 15 characters. While this might be sufficient, Alice happily loads the config but then complains at runtime with

Alice has trouble connecting to the API (got GENERIC_ERROR).

for the corresponding RS.

It should not start at all in this case or the error message should be made more clear for this case.

Works:

[source.abcdefghijklmno]
name = rs1.my.ixp
[source.abcdefghijklmno.birdwatcher]
...

Does not work (GENERIC_ERROR):

[source.abcdefghijklmnop]
name = rs2.my.ixp
[source.abcdefghijklmnop.birdwatcher]
...
The RS IDs are limited to 15 characters. While this might be sufficient, Alice happily loads the config but then complains at runtime with > Alice has trouble connecting to the API (got GENERIC_ERROR). for the corresponding RS. It should not start at all in this case or the error message should be made more clear for this case. Works: ``` [source.abcdefghijklmno] name = rs1.my.ixp [source.abcdefghijklmno.birdwatcher] ... ``` Does not work (GENERIC_ERROR): ``` [source.abcdefghijklmnop] name = rs2.my.ixp [source.abcdefghijklmnop.birdwatcher] ... ```
Sign in to join this conversation.
No description provided.