Introduction failure
- Set up three devices (Ace, Moto and Sony)
- Ace and Moto add each other as contacts
- Sony and Moto add each other as contacts
- Moto introduces Ace to Sony
- Sony accepts
- Ace accepts
- Moto receives Ace's ack and enters the error state
The problem seems to be that Moto is receiving Ace's ack before Ace's response.
Log from Ace:
10-04 15:52:45.613 5426-5522/org.briarproject I/IntroduceeEngine: Received Introduction in state AWAIT_REQUEST from Moto with session ID -652500394 in group -1226669137. Moving on to state AWAIT_RESPONSES
10-04 15:52:54.622 5426-5522/org.briarproject I/IntroduceeEngine: Received Response in state AWAIT_RESPONSES from Moto related to Sony with session ID -652500394 in group -1226669137. Moving on to state AWAIT_LOCAL_RESPONSE
10-04 15:52:56.074 5426-5522/org.briarproject I/IntroduceeEngine: Sending accept response in state AWAIT_LOCAL_RESPONSE to Moto for Sony with session ID -652500394 in group -1226669137. Moving on to state AWAIT_ACK
10-04 15:52:58.426 5426-5522/org.briarproject I/IntroduceeManager: Adding contact in inactive state
10-04 15:52:58.876 5426-5522/org.briarproject I/IntroduceeEngine: Sending ACK to Moto for Sony with session ID -652500394 in group -1226669137
10-04 15:53:01.330 5426-5522/org.briarproject I/IntroduceeEngine: Received Abort in state AWAIT_ACK from Moto related to Sony with session ID -652500394 in group -1226669137. Moving on to state ERROR
Log from Moto:
10-04 15:52:00.776 9254-9993/org.briarproject I/IntroducerEngine: Sending introduction request in state PREPARE_REQUESTS to Ace with session ID -652500394 in group -1226669137. Moving on to state AWAIT_RESPONSES
10-04 15:52:00.776 9254-9993/org.briarproject I/IntroducerEngine: Sending introduction request in state PREPARE_REQUESTS to Sony with session ID -652500394 in group -1923720712. Moving on to state AWAIT_RESPONSES
10-04 15:52:10.336 9254-9993/org.briarproject I/IntroducerEngine: Received Response in state AWAIT_RESPONSES from Sony to Ace with session ID -652500394 in group -1923720712. Moving on to state AWAIT_RESPONSE_1
10-04 15:52:10.337 9254-9993/org.briarproject I/IntroducerEngine: Forwarding message to group -1226669137
10-04 15:52:16.592 9254-9993/org.briarproject I/IntroducerEngine: Received ACK in state AWAIT_RESPONSE_1 from Ace to Sony with session ID -652500394 in group -1226669137. Moving on to state ERROR
10-04 15:52:16.592 9254-9993/org.briarproject W/IntroducerEngine: Aborting protocol session -652500394 in state AWAIT_RESPONSE_1
10-04 15:52:16.727 9254-9993/org.briarproject I/IntroducerEngine: Received Response in state ERROR from Ace to Sony with session ID -652500394 in group -1226669137. Moving on to state ERROR
Log from Sony:
10-04 15:52:46.079 2996-3845/org.briarproject I/IntroduceeEngine: Received Introduction in state AWAIT_REQUEST from Moto with session ID -652500394 in group -1923720712. Moving on to state AWAIT_RESPONSES
10-04 15:52:52.329 2996-3845/org.briarproject I/IntroduceeEngine: Sending accept response in state AWAIT_RESPONSES to Moto for Ace with session ID -652500394 in group -1923720712. Moving on to state AWAIT_REMOTE_RESPONSE
10-04 15:53:02.029 2996-3845/org.briarproject I/IntroduceeEngine: Received Abort in state AWAIT_REMOTE_RESPONSE from Moto related to Ace with session ID -652500394 in group -1923720712. Moving on to state ERROR