fix server and path configuration; fix failure re-polling