OS 780 then FR 947 at Vienna
Sofia → Vienna → Krakow
Timetable, Vienna time
08:35OS 780 from Sofia at the gate
07:45FR 947 to Krakow leaves the gate
23 h 10 apart on the timetable, overnight
FR 947 leaves 23 h 10 after OS 780 arrives on the timetable: more than half a day, so not a connection we count.