Corrected connection URL, error management when no connection can be opened