Unrecognised protocol messages get reported as connection error
Closed this issue · 1 comments
tdiesler commented
In this case, the playground expected
https://didcomm.org/trust_ping/2.0-preview/ping
but got
https://didcomm.org/trust-ping/2.0/ping
The error msg is misleading ...
{'msg': 'No connection between: did:peer:2.Ez6LScsZZg2TKwMvExr9CjQiSX6oGMJ7VArkUdHvhycuus9uv.Vz6MkipiuLZk6CkGhiiz7LnYeQTAPjta2wyrFFoDfiUM3SuJb.SeyJ0IjoiZG0iLCJzIjoiaHR0cDovL25lc3N1cy10ZWNoLmlvOjkxMDAifQ => did:peer:2.Ez6LSggYU1vrJnZi8LoN468HeMy3fM792z13kXGJGnd6aX94E.Vz6MknJx1EzdEASe7AUXa3EZpUHfmRRoFjgT6xc1nMBu1Rzgz'
tdiesler commented
Done
- The message type is now checked first
- All
-preview
suffixes are removed