Fix HTTP failure during server startup