FR 5204 then FR 2971 at Dublin
Sofia → Dublin → Kaunas
Timetable, Dublin time
19:20FR 5204 from Sofia at the gate
17:55FR 2971 to Kaunas leaves the gate
22 h 35 apart on the timetable, overnight
FR 2971 leaves 22 h 35 after FR 5204 arrives on the timetable: more than half a day, so not a connection we count.