Do not exit when "dial tcp: lookup s3.xxx on localhost:53: server misbehaving"

What is the problem you are having with rclone?

It seems that rclone does not exit when "dial tcp: lookup s3.xxx on localhost:53: server misbehaving" is happened. Also, rclone keeps running until killed.

What is your rclone version (output from rclone version)

v1.52.3

Which OS you are using and how many bits (eg Windows 7, 64 bit)

centos7.8

Which cloud storage system are you using? (eg Google Drive)

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone --multi-thread-cutoff ${cutoff} --multi-thread-streams ${parallel} --s3-copy-cutoff ${cutoff} --s3-upload-cutoff ${cutoff} --s3-upload-concurrency ${parallel} --transfers ${parallel} --no-check-dest --quiet --ignore-checksum --contimeout ${timeout} --low-level-retries 3 --no-traverse --retries 1 --size-only --stats 0 --timeout ${timeout} copy --files-from-raw ${local_work_directory}/${job_directory}/${unique_job_name}/${priority}_newly_created_index.tmp ${source_rclone_remote}:${source_bucket} ${dest_rclone_remote}:${dest_bucket}

and

rclone --transfers ${parallel} --quiet --contimeout ${timeout} --low-level-retries 3 --retries 1 --size-only --stats 0 --timeout ${timeout} delete --min-age "${hours_ago}h" --rmdirs ${rclone_remote}:${bucket_directory}

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag


2020/09/12 14:42:01 ERROR : xxx: Couldn't delete: RequestError: send request failed
caused by: Delete "https://s3.xxx/xxx": dial tcp: lookup s3.xxx on localhost:53: no such host
2020/09/12 15:17:05 ERROR : xxx: Couldn't delete: RequestError: send request failed
caused by: Delete "https://s3.xxx/xxx": dial tcp: lookup s3.xxx on localhost:53: server misbehaving

That looks like you are having a DNS error. It retries and will eventually time out after 3 retries per file I believe is the default.

It's hard to tell as there isn't a full debug log as I can't see specifically what's run from the log nor the debug messages.