Opened 8 years ago

Closed 5 years ago

#492 closed defect (no response)

BUG in SAM v3

Reported by: DISABLED Owned by: mkvore
Priority: major Milestone:
Component: apps/SAM Version: 0.8.7
Keywords: Cc:
Parent Tickets: Sensitive: no

Description

It seams something with the SAM v.3 is broken.

After a stream-connection is broken, it's no longer possible to make a reconnect to this destination…
Only get the Message "STREAM STATUS RESULT=CANT_REACH_PEER"

The only solution for the moment is to close the complete session and create a new one.

After this everything is working again.
There is no error or messages in Critical Logs or Router Logs.

System:
I2P version: 0.8.7-0
Java version: Sun Microsystems Inc. 1.6.0_22 (Java™ SE Runtime Environment 1.6.0_22-b04)
Jbigi: Locally optimized native BigInteger? library loaded from file
Encoding: ANSI_X3.4-1968

Subtickets

Change History (10)

comment:1 Changed 8 years ago by zzz

Component: unspecifiedapps/SAM

comment:2 Changed 8 years ago by zzz

We don't have a SAM maintainer right now, so we need a volunteer to look at this. It would be helpful if you could attempt to isolate the problem further by increasing the SAM log levels (on /configlogging in the router console).

comment:3 Changed 8 years ago by DISABLED

with Logging-level "net.i2p.sam=DEBUG" i found this informations
(i replace the exact destination with "B64_DESTINATION_REMOVED_AAAA")

7/9/11 3:25:48 PM DEBUG [3Handler 306] net.i2p.sam.SAMv3Handler : STREAM CONNECT failed: Connection timed out
7/9/11 3:25:48 PM DEBUG [3Handler 306] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=CANT_REACH_PEER
]
7/9/11 3:25:48 PM DEBUG [3Handler 306] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:26:06 PM DEBUG [3Handler 305] net.i2p.sam.SAMHandler : Sending the client: [B64_DESTINATION_REMOVED_AAAA
]
7/9/11 3:26:06 PM DEBUG [3Handler 305] net.i2p.sam.SAMv3Handler : Stop request found
7/9/11 3:26:06 PM DEBUG [3Handler 305] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:26:06 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:31057
7/9/11 3:26:06 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:26:06 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:26:06 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:26:06 PM DEBUG [3Handler 307] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:26:06 PM DEBUG [3Handler 307] net.i2p.sam.SAMv3Handler : New message received: [STREAM ACCEPT ID=MNZ Silence=false]
7/9/11 3:26:06 PM DEBUG [3Handler 307] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "ACCEPT")
7/9/11 3:26:06 PM DEBUG [3Handler 307] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"
7/9/11 3:26:06 PM DEBUG [3Handler 307] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=OK
]
7/9/11 3:26:18 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:33299
7/9/11 3:26:18 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:26:18 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:26:18 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:26:18 PM DEBUG [3Handler 308] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:26:18 PM DEBUG [3Handler 308] net.i2p.sam.SAMv3Handler : New message received: [STREAM CONNECT ID=MNZ DESTINATION=B64_DESTINATION_REMOVED_AAAA Silence=false]
7/9/11 3:26:18 PM DEBUG [3Handler 308] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "CONNECT")
7/9/11 3:26:18 PM DEBUG [3Handler 308] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"; "DESTINATION" → "B64_DESTINATION_REMOVED_AAAA"
7/9/11 3:26:18 PM DEBUG [3Handler 308] net.i2p.sam.SAMv3StreamSession: Connecting new I2PSocket…
7/9/11 3:27:18 PM DEBUG [3Handler 308] net.i2p.sam.SAMv3Handler : STREAM CONNECT failed: Connection timed out
7/9/11 3:27:18 PM DEBUG [3Handler 308] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=CANT_REACH_PEER
]
7/9/11 3:27:18 PM DEBUG [3Handler 308] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:27:36 PM DEBUG [3Handler 307] net.i2p.sam.SAMHandler : Sending the client: [B64_DESTINATION_REMOVED_AAAA
]
7/9/11 3:27:36 PM DEBUG [3Handler 307] net.i2p.sam.SAMv3Handler : Stop request found
7/9/11 3:27:36 PM DEBUG [3Handler 307] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:27:36 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:36758
7/9/11 3:27:36 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:27:36 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:27:36 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:27:36 PM DEBUG [3Handler 309] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:27:36 PM DEBUG [3Handler 309] net.i2p.sam.SAMv3Handler : New message received: [STREAM ACCEPT ID=MNZ Silence=false]
7/9/11 3:27:36 PM DEBUG [3Handler 309] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "ACCEPT")
7/9/11 3:27:36 PM DEBUG [3Handler 309] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"
7/9/11 3:27:36 PM DEBUG [3Handler 309] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=OK
]
7/9/11 3:27:48 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:46695
7/9/11 3:27:48 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:27:48 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:27:48 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:27:48 PM DEBUG [3Handler 310] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:27:48 PM DEBUG [3Handler 310] net.i2p.sam.SAMv3Handler : New message received: [STREAM CONNECT ID=MNZ DESTINATION=B64_DESTINATION_REMOVED_AAAA Silence=false]
7/9/11 3:27:48 PM DEBUG [3Handler 310] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "CONNECT")
7/9/11 3:27:48 PM DEBUG [3Handler 310] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"; "DESTINATION" → "B64_DESTINATION_REMOVED_AAAA"
7/9/11 3:27:48 PM DEBUG [3Handler 310] net.i2p.sam.SAMv3StreamSession: Connecting new I2PSocket…
7/9/11 3:28:48 PM DEBUG [3Handler 310] net.i2p.sam.SAMv3Handler : STREAM CONNECT failed: Connection timed out
7/9/11 3:28:48 PM DEBUG [3Handler 310] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=CANT_REACH_PEER
]
7/9/11 3:28:48 PM DEBUG [3Handler 310] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:29:07 PM DEBUG [3Handler 309] net.i2p.sam.SAMHandler : Sending the client: [B64_DESTINATION_REMOVED_AAAA
]
7/9/11 3:29:07 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:15571
7/9/11 3:29:07 PM DEBUG [3Handler 309] net.i2p.sam.SAMv3Handler : Stop request found
7/9/11 3:29:07 PM DEBUG [3Handler 309] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:29:07 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:29:07 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:29:07 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:29:07 PM DEBUG [3Handler 311] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:29:07 PM DEBUG [3Handler 311] net.i2p.sam.SAMv3Handler : New message received: [STREAM ACCEPT ID=MNZ Silence=false]
7/9/11 3:29:07 PM DEBUG [3Handler 311] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "ACCEPT")
7/9/11 3:29:07 PM DEBUG [3Handler 311] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"
7/9/11 3:29:07 PM DEBUG [3Handler 311] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=OK
]
7/9/11 3:29:18 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:27393
7/9/11 3:29:18 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:29:18 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:29:18 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:29:18 PM DEBUG [3Handler 312] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:29:18 PM DEBUG [3Handler 312] net.i2p.sam.SAMv3Handler : New message received: [STREAM CONNECT ID=MNZ DESTINATION=B64_DESTINATION_REMOVED_AAAA Silence=false]
7/9/11 3:29:18 PM DEBUG [3Handler 312] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "CONNECT")
7/9/11 3:29:18 PM DEBUG [3Handler 312] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"; "DESTINATION" → "B64_DESTINATION_REMOVED_AAAA"
7/9/11 3:29:18 PM DEBUG [3Handler 312] net.i2p.sam.SAMv3StreamSession: Connecting new I2PSocket…
7/9/11 3:30:18 PM DEBUG [3Handler 312] net.i2p.sam.SAMv3Handler : STREAM CONNECT failed: Connection timed out
7/9/11 3:30:18 PM DEBUG [3Handler 312] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=CANT_REACH_PEER
]
7/9/11 3:30:18 PM DEBUG [3Handler 312] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:30:39 PM DEBUG [3Handler 311] net.i2p.sam.SAMHandler : Sending the client: [B64_DESTINATION_REMOVED_AAAA
]
7/9/11 3:30:39 PM DEBUG [3Handler 311] net.i2p.sam.SAMv3Handler : Stop request found
7/9/11 3:30:39 PM DEBUG [3Handler 311] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:30:39 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:28996
7/9/11 3:30:39 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:30:39 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:30:39 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:30:39 PM DEBUG [3Handler 313] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:30:39 PM DEBUG [3Handler 313] net.i2p.sam.SAMv3Handler : New message received: [STREAM ACCEPT ID=MNZ Silence=false]
7/9/11 3:30:39 PM DEBUG [3Handler 313] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "ACCEPT")
7/9/11 3:30:39 PM DEBUG [3Handler 313] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"
7/9/11 3:30:39 PM DEBUG [3Handler 313] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=OK
]
7/9/11 3:30:48 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:42399
7/9/11 3:30:48 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:30:48 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:30:48 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:30:48 PM DEBUG [3Handler 314] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:30:48 PM DEBUG [3Handler 314] net.i2p.sam.SAMv3Handler : New message received: [STREAM CONNECT ID=MNZ DESTINATION=B64_DESTINATION_REMOVED_AAAA Silence=false]
7/9/11 3:30:48 PM DEBUG [3Handler 314] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "CONNECT")
7/9/11 3:30:48 PM DEBUG [3Handler 314] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"; "DESTINATION" → "B64_DESTINATION_REMOVED_AAAA"
7/9/11 3:30:48 PM DEBUG [3Handler 314] net.i2p.sam.SAMv3StreamSession: Connecting new I2PSocket…
7/9/11 3:31:48 PM DEBUG [3Handler 314] net.i2p.sam.SAMv3Handler : STREAM CONNECT failed: Connection timed out
7/9/11 3:31:48 PM DEBUG [3Handler 314] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=CANT_REACH_PEER
]
7/9/11 3:31:48 PM DEBUG [3Handler 314] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:32:06 PM DEBUG [3Handler 313] net.i2p.sam.SAMHandler : Sending the client: [B64_DESTINATION_REMOVED_AAAA
]
7/9/11 3:32:06 PM DEBUG [3Handler 313] net.i2p.sam.SAMv3Handler : Stop request found
7/9/11 3:32:06 PM DEBUG [3Handler 313] net.i2p.sam.SAMv3Handler : Stopping handler
7/9/11 3:32:06 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:53124
7/9/11 3:32:07 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:32:07 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:32:07 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:32:07 PM DEBUG [3Handler 315] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:32:07 PM DEBUG [3Handler 315] net.i2p.sam.SAMv3Handler : New message received: [STREAM ACCEPT ID=MNZ Silence=false]
7/9/11 3:32:07 PM DEBUG [3Handler 315] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "ACCEPT")
7/9/11 3:32:07 PM DEBUG [3Handler 315] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"
7/9/11 3:32:07 PM DEBUG [3Handler 315] net.i2p.sam.SAMHandler : Sending the client: [STREAM STATUS RESULT=OK
]
7/9/11 3:32:18 PM DEBUG [SAMListener ] net.i2p.sam.SAMBridge : New connection from /192.168.0.2:7388
7/9/11 3:32:18 PM DEBUG [HelloHandler?] net.i2p.sam.SAMUtils : Parsed properties: "MIN" → "3.0"; "MAX" → "3.0"
7/9/11 3:32:18 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv1Handler : SAM version 1 handler instantiated
7/9/11 3:32:18 PM DEBUG [HelloHandler?] net.i2p.sam.SAMv3Handler : SAM version 3 handler instantiated
7/9/11 3:32:18 PM DEBUG [3Handler 316] net.i2p.sam.SAMv3Handler : SAM handling started
7/9/11 3:32:18 PM DEBUG [3Handler 316] net.i2p.sam.SAMv3Handler : New message received: [STREAM CONNECT ID=MNZ DESTINATION=B64_DESTINATION_REMOVED_AAAA Silence=false]
7/9/11 3:32:18 PM DEBUG [3Handler 316] net.i2p.sam.SAMv3Handler : Parsing (domain: "STREAM"; opcode: "CONNECT")
7/9/11 3:32:18 PM DEBUG [3Handler 316] net.i2p.sam.SAMUtils : Parsed properties: "ID" → "MNZ"; "Silence" → "false"; "DESTINATION" → "B64_DESTINATION_REMOVED_AAAA"
7/9/11 3:32:18 PM DEBUG [3Handler 316] net.i2p.sam.SAMv3StreamSession: Connecting new I2PSocket…

comment:4 Changed 8 years ago by zzz

Milestone: 0.8.120.9
Owner: set to mkvore
Status: newassigned

assigning to mkvore since he has resurfaced on forum.i2p

comment:5 Changed 7 years ago by zzz

kytv speculates that the root cause of this may be #574

comment:6 Changed 7 years ago by mkvore

Did fixing #574 fix this one too ?

comment:7 Changed 7 years ago by zzz

I don't know, maybe the OP can comment.

comment:8 Changed 6 years ago by str4d

Keywords: test added
Milestone: 0.9

comment:9 Changed 6 years ago by str4d

Keywords: test removed
Status: assignedinfoneeded

comment:10 Changed 5 years ago by zzz

Resolution: no response
Status: infoneededclosed
Note: See TracTickets for help on using tickets.