daemon: message fails to send but status is IDLE
Issue generated from Tuleap's migration script. Originally submitted by: Stepan Salenikovich (ssalenik)
If you create a new Ring account with a bad (or non working) bootstrap, the account never connects to the dht. If you then try to send a text message, it will of course fail, however, the status of the messges seems to stay on IDLE, see log:
[1473257868.497|13729|message\_engine.cpp:239 ] Could not save messages to /home/ssalenikovich/.cache/ring/92994cf5413c8fb7/messages: basic\_ios::clear: iostream error
[1473257868.516|13729|sipaccount.cpp:2067 ] Unable to create request: Invalid Request URI (PJSIP\_EINVALIDREQURI)
[1473257868.516|13729|message\_engine.cpp:137 ] Message 16160251769922510613: failure
[1473257868.516|13729|message\_engine.cpp:158 ] Status IDLE for message 16160251769922510613
[1473257882.640|13729|message\_engine.cpp:239 ] Could not save messages to /home/ssalenikovich/.cache/ring/92994cf5413c8fb7/messages: basic\_ios::clear: iostream error
[1473257882.651|13729|sipaccount.cpp:2067 ] Unable to create request: Invalid Request URI (PJSIP\_EINVALIDREQURI)
[1473257882.651|13729|message\_engine.cpp:137 ] Message 17238945268893409279: failure
[1473257882.651|13729|message\_engine.cpp:158 ] Status IDLE for message 17238945268893409279
The status should be FAILURE