FR 9005 then OS 817 at Vienna
Bari → Vienna → Heraklion
Timetable, Vienna time
22:45FR 9005 from Bari at the gate
16:05OS 817 to Heraklion leaves the gate
17 h 20 apart on the timetable, overnight
OS 817 leaves 17 h 20 after FR 9005 arrives on the timetable: more than half a day, so not a connection we count.