# Mapillary Tools 0.14 is released

**URL:** <https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836>\
**Category:** Command line tools\
**Created:** [August 6, 2025, 9:22pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836 "2025-08-06T21:22:10Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![GITNE](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/gitne/32/70659_2.png) [@GITNE](https://forum.mapillary.com/u/GITNE)\
**Post date:** [August 26, 2025, 9:18am UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/21 "2025-08-26T09:18:20Z")

</div>

Got some network unrelated error on `0.14.2`:

```plaintext
04:40:32.971 - DEBUG - UPLOAD_PROGRESS: {"sequence_idx": 0, "total_sequence_count": 1, "sequence_image_count": 15584, "sequence_uuid": "0", "file_type": "image", "sequence_md5sum": "7239ab5e7db0f3443f5c4f65aa653a11", "entity_size": 386998, "upload_start_time": 1756158525.2105544, "upload_total_time": 0, "upload_last_restart_time": 1756158525.2105544, "upload_first_offset": 0, "import_path": "[REDACTED]/00031447.JPG", "chunk_size": 386834, "retries": 0, "begin_offset": 0, "offset": 386998}
04:40:32.988 - DEBUG - UPLOAD_FAILED: {"sequence_idx": 0, "total_sequence_count": 1, "sequence_image_count": 15584, "sequence_uuid": "0", "file_type": "image", "sequence_md5sum": "7239ab5e7db0f3443f5c4f65aa653a11", "entity_size": 8826274719, "upload_start_time": 1756158525.2105544, "upload_total_time": 0, "upload_last_restart_time": 1756158525.2105544, "upload_first_offset": 0}
04:40:33.697 - INFO - ==> Upload summary
04:40:33.697 - INFO - Nothing uploaded. Bye.
Traceback (most recent call last):
  File "/usr/bin/mapillary_tools", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/commands/ __main__.py", line 156, in main
    args.func(argvars)
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/commands/upload.py", line 82, in run
    upload(
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/upload.py", line 121, in upload
    raise ex
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/upload.py", line 112, in upload
    upload_error = _continue_or_fail(result.error)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/upload.py", line 631, in _continue_or_fail
    raise ex
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/uploader.py", line 560, in upload_images
    cluster_id = self._upload_sequence_and_finish(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/uploader.py", line 586, in _upload_sequence_and_finish
    raise ex
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/uploader.py", line 581, in _upload_sequence_and_finish
    image_file_handles = self._upload_images_parallel(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/uploader.py", line 657, in _upload_images_parallel
    indexed_image_file_handles.extend(future.result())
                                      ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/usr/lib/python3.12/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/uploader.py", line 691, in _upload_images_from_queue
    single_image_uploader = SingleImageUploader(
                            ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/uploader.py", line 742, in __init__
    self.cache = self._maybe_create_persistent_cache_instance(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/uploader.py", line 830, in _maybe_create_persistent_cache_instance
    cache.clear_expired()
  File "/usr/lib/python3.12/dist-packages/mapillary_tools/history.py", line 146, in clear_expired
    with dbm.open(self._file, flag="c") as db:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/dbm/ __init__.py", line 95, in open
    return mod.open(file, flag, mode)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
_gdbm.error: [Errno 11] Resource temporarily unavailable: '/tmp/mapillary_tools/upload_cache/py_3_12_3_0.14.2/MLY_5675152195860640_6b02c72e6e3c801e5603ab0495623282/110661107832227/cached_file_handles'

```

Looks like a race condition error to access `cached_file_handles`.

---

<div class="post-metadata">

**Author:** ![TheWizard](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@TheWizard](https://forum.mapillary.com/u/TheWizard)\
**Post date:** [August 26, 2025, 1:25pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/22 "2025-08-26T13:25:00Z")

</div>

Since the last 2 weeks I had multiple errors:

These are on 14.0 and 14.1, I will now try 14.2 (windows 64 bit version).

1. Too Many Requests, I only have those on my home connection (1 Gbit fiber), at the holiday home I didn’t had this error, the connection was there only 10 Mbit. Before my holiday (2,5 weeks ago) I didn’t had any of these errors.

This is a fatal error, the process is stopped, that’s very annoying.

 ![Schermafbeelding 2025-08-25 073345](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/0/e/0e379561f53cee01e38b75139233fc7bd03c5f88.png)

1. Precondition failed, not that important, the process will try again.

 ![Schermafbeelding 2025-08-26 151538](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/1/0/10fe9cbf1e1dbbda6c3937fdfb95b8fed9eef387.png)

1. Database issues, only 1 Mapillary process is running, I don’t know where the error is coming from. Also annoying because of the stopped process.

 ![Schermafbeelding 2025-08-26 141051](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/4/c/4cfcce41ecab5d7eef3872c610f22372c369ae46.png)

---

<div class="post-metadata">

**Author:** ![GITNE](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/gitne/32/70659_2.png) [@GITNE](https://forum.mapillary.com/u/GITNE)\
**Post date:** [August 26, 2025, 4:57pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/23 "2025-08-26T16:57:31Z")

</div>

> [@TheWizard](#):
>
> This is a fatal error, the process is stopped, that’s very annoying.
> 
> ![Schermafbeelding 2025-08-25 073345](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/0/e/0e379561f53cee01e38b75139233fc7bd03c5f88.png)

I have had this `429 Too Many Requests` error couple of times too, especially on sequences with over 10k images. `0.14.2`’s keep alive connections must have solved this error.

> [@TheWizard](#):
>
> 1. Precondition failed, not that important, the process will try again.  
> ![Schermafbeelding 2025-08-26 151538](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/1/0/10fe9cbf1e1dbbda6c3937fdfb95b8fed9eef387.png)

I have had this too. Probably caused by too many concurrent upload workers because the server or network load balancing software cannot keep up. Must have been solved by keep alive connections in `0.14.2`.

> [@TheWizard](#):
>
> 1. Database issues, only 1 Mapillary process is running, I don’t know where the error is coming from. Also annoying because of the stopped process.  
> ![Schermafbeelding 2025-08-26 141051](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/4/c/4cfcce41ecab5d7eef3872c610f22372c369ae46.png)

Yep, it is a race condition, usually happening with the last image upload worker hanging on to the database while the main thread wants to open the database to read data to create the upload history.

---

<div class="post-metadata">

**Author:** ![TheWizard](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@TheWizard](https://forum.mapillary.com/u/TheWizard)\
**Post date:** [August 26, 2025, 5:12pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/24 "2025-08-26T17:12:47Z")

</div>

First 2 errors happened not again op 14.2 (for now…). The database error has occured already 3 times since 14.2 usage.

---

<div class="post-metadata">

**Author:** ![Teddy73](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@Teddy73](https://forum.mapillary.com/u/Teddy73)\
**Post date:** [August 27, 2025, 5:39am UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/25 "2025-08-27T05:39:19Z")

</div>

Hi tao,

I can’t really reproduce the errors, since they hit massively when I was using Wifi in a vacation park in 2 weeks ago. You can see in my profile that around 8th august there are many duplicate sequences in my profile. It was with a unstable connection and 0.14b1 with the default no of workers then (very many).

I am home now, and here the connection is slower, but stable.

Generally, the problems here are few. I upgraded to 0.14.2 meanwhile and as said, the connection is more reliable here.

But: The last two nights an error hit me again, the same error twice, once with 0.14.1 and now with 0.14.2

Here is the output:

ted@ted-swiftsf314511:~$ export MAPILLARY\_TOOLS\_MAX\_IMAGE\_UPLOAD\_WORKERS=2  
ted@ted-swiftsf314511:~$ mapillary\_tools/bin/mapillary\_tools upload “Aayi/001\_0189/”  
00:39:12.779 - INFO - Verifying profile “teddy73”…  
00:39:13.227 - INFO - Uploading to profile “teddy73”: teddy73 (ID: 103080845264750)  
00:39:13.228 - INFO - ==\> Uploading…  
Uploading IMAGE (1/13): 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.90G/2.90G [39:58\<00:00, 1.30MB/s]  
Uploading IMAGE (2/13): 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3.21G/3.21G [44:54\<00:00, 1.28MB/s]  
Uploading IMAGE (3/13): 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 3.07G/3.07G [42:58\<00:00, 1.28MB/s]  
Uploading IMAGE (4/13): 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▋| 2.71G/2.71G [38:49\<00:04, 1.25MB/s]  
03:26:23.590 - INFO - ==\> Upload summary  
03:26:23.591 - INFO - 3 sequences uploaded  
03:26:23.591 - INFO - 9.8 GB read in total  
03:26:23.591 - INFO - 9.8 GB uploaded  
03:26:23.591 - INFO - 7672.397 seconds upload time  
03:26:23.591 - ERROR - HTTPError: GET [https://rupload.facebook.com/mapillary\_public\_uploads/mly\_tools\_694b35cda4bd10fb9789fc2c7e51952f.jpg](https://rupload.facebook.com/mapillary_public_uploads/mly_tools_694b35cda4bd10fb9789fc2c7e51952f.jpg) =\> 429 Too Many Requests: {“backoff”: 10000, “debug\_info”: {“retriable”: false, “type”: “Reques  
tRateLimitedError”, “message”: “Request rate limit has been exceeded”}}  
ted@ted-swiftsf314511:~$ mapillary\_tools/bin/mapillary\_tools upload “Aayi/001\_0189/”  
05:51:11.097 - INFO - Verifying profile “teddy73”…  
05:51:11.599 - INFO - Uploading to profile “teddy73”: teddy73 (ID: 103080845264750)  
05:51:11.600 - INFO - ==\> Uploading…  
05:51:18.722 - INFO - UploadedAlready: Skipping sequence\_0, already uploaded 4 hours ago (2025-08-27 01:19:17)  
05:51:24.788 - INFO - UploadedAlready: Skipping sequence\_1, already uploaded 3 hours ago (2025-08-27 02:04:20)  
05:51:30.381 - INFO - UploadedAlready: Skipping sequence\_2, already uploaded 3 hours ago (2025-08-27 02:47:26)  
Uploading IMAGE (4/13): 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.71G/2.71G [00:10\<00:00, 278MB/s]  
Uploading IMAGE (5/13): 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.83G/2.83G [39:42\<00:00, 1.28MB/s]  
Uploading IMAGE (6/13): 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2.89G/2.89G [40:31\<00:00, 1.27MB/s]  
Uploading IMAGE (7/13): 51%|██████████████████████████████████████████████████████████████████████████████████████▏

As you can see, the upload stopped somewhere at seq 4 and then nothing more was going on. Just restarting the upload, and it goes on from where it stopped. But why? Error message was the same the last two times: “Request rate limit has been exceeded”

---

<div class="post-metadata">

**Author:** ![tao](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@tao](https://forum.mapillary.com/u/tao)\
**Post date:** [August 27, 2025, 7:04am UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/26 "2025-08-27T07:04:59Z")

</div>

@GITNE @Teddy73 @TheWizard Thanks everyone for all the feedback on 0.14.2. We are aware of the issues and will release a fix 0.14.3 shortly.

---

<div class="post-metadata">

**Author:** ![tao](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@tao](https://forum.mapillary.com/u/tao)\
**Post date:** [August 27, 2025, 7:07am UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/27 "2025-08-27T07:07:16Z")

</div>

Thanks Teddy73. Could you run the command with `–verbose`? – maybe we can get more info why it quietly exited.

Also share me the exit status code (`echo $?`) would be also very helpful.

---

<div class="post-metadata">

**Author:** ![tao](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@tao](https://forum.mapillary.com/u/tao)\
**Post date:** [August 28, 2025, 5:06am UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/28 "2025-08-28T05:06:16Z")

</div>

Hey all, [MT 0.14.3](https://github.com/mapillary/mapillary_tools/releases/tag/v0.14.3) is released. It should fix:

- The “db is locked” issue. Thanks @GITNE for catching the 🐛 – It’s indeed a race condition.
- The “429 Too Many Requests” errors. It’s actually a retriable error so the fix is just automatically retring (not sure why the server says it’s non-retriable though)

cc @Teddy73 @TheWizard @bob3bob3 @nikola @boris

---

<div class="post-metadata">

**Author:** ![bob3bob3](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/bob3bob3/32/68393_2.png) [@bob3bob3](https://forum.mapillary.com/u/bob3bob3)\
**Post date:** [August 28, 2025, 5:23am UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/29 "2025-08-28T05:23:43Z")

</div>

Tnx @tao

Wont have any uploads to do for 1-2 weeks, so will test then.

---

<div class="post-metadata">

**Author:** ![TheWizard](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@TheWizard](https://forum.mapillary.com/u/TheWizard)\
**Post date:** [August 28, 2025, 6:44am UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/30 "2025-08-28T06:44:38Z")

</div>

> [@GITNE](#):
>
> race condition

Hi @tao , thanks for the quick fix! I still have a lot to upload (2 TB), perfect for testing, I’ll keep you informed.

---

<div class="post-metadata">

**Author:** ![TheWizard](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@TheWizard](https://forum.mapillary.com/u/TheWizard)\
**Post date:** [August 28, 2025, 8:44am UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/31 "2025-08-28T08:44:51Z")

</div>

![Schermafbeelding 2025-08-28 103844](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/f/e/fe13e3db11be940b1f4b9b6448fb0e586bbef618.png)

Hi Tao, unfortunately still the problem of the database is locked issue…

---

<div class="post-metadata">

**Author:** ![tao](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@tao](https://forum.mapillary.com/u/tao)\
**Post date:** [August 28, 2025, 4:16pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/32 "2025-08-28T16:16:17Z")

</div>

Thanks TheWizard. I will take a look soon.

- Which OS are you running?
- Is it occasional or happening every time?
- Meanwhile can you upload with 1 worker (i.e. `--num_upload_workers=1` or envvar `MAPILLARY_TOOLS_MAX_IMAGE_UPLOAD_WORKERS=1`) to see if it works?

Btw when we were working on these issues we could not reproduce them unfortunately. So what I could do was reasoning hard with my AI buddies, and adding lots of tests. Apparently we missed some cases for some platforms there.

---

<div class="post-metadata">

**Author:** ![TheWizard](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@TheWizard](https://forum.mapillary.com/u/TheWizard)\
**Post date:** [August 28, 2025, 4:42pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/33 "2025-08-28T16:42:19Z")

</div>

Hi Tao,

I’m running :

Windows 11 Home  
Version 24H2  
Build 26100.4946

This morning I had it almost every try (at least 10 times), this afternoon I had no issues at all, the uploads are running now fine.

I’m not so at home in the database stuff, is there a performance impact when using 1 worker?

Is the server very busy? The upload is between 6 and 12 MB/s, normally I get between 20 and 45 MB/s (200 / 450 Mbit/s, just to be sure that we are talking the same language ;)).

Below another error that occured 30 minutes ago, it hasn’t had any impact because of the retry. But it’s so strange, 3 weeks ago and before that I never had any issues with uploading, has anything changed? I was on holiday the last couple of weeks and uploaded a little bit (slow connection), there where also some timeout issues, but that could be the connection.

 ![Schermafbeelding 2025-08-28 184323](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/2/f/2fbbac39b4ab3a0f547a838b6df4ff8ce0fdfd71.png)

---

<div class="post-metadata">

**Author:** ![TheWizard](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@TheWizard](https://forum.mapillary.com/u/TheWizard)\
**Post date:** [August 28, 2025, 5:02pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/34 "2025-08-28T17:02:16Z")

</div>

Hi Tao,

I’m running :

Windows 11 Home  
Version 24H2  
Build 26100.4946

This morning I had it almost every try (at least 10 times), this afternoon I had no issues at all, the uploads are running now fine.

I’m not so at home in the database stuff, is there a performance impact when using 1 worker?

Is the server very busy? The upload is between 6 and 12 MB/s, normally I get between 20 and 45 MB/s (200 / 450 Mbit/s, just to be sure that we are talking the same language ;)).

Below another error that occured 30 minutes ago, it hasn’t had any impact because of the retry. But it’s so strange, 3 weeks ago and before that I never had any issues with uploading, has anything changed? I was on holiday the last couple of weeks and uploaded a little bit (slow connection), there where also some timeout issues, but that could be the connection.

 ![Schermafbeelding 2025-08-28 184323](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/2/f/2fbbac39b4ab3a0f547a838b6df4ff8ce0fdfd71.png)

Edit: When speaking about the devil, it was already running for 57 minutes. I will now be testing with the one worker setting.

 ![Schermafbeelding 2025-08-28 190116](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/2/8/288b4c5324402321e5015129666f675578d9d133.png)

---

<div class="post-metadata">

**Author:** ![TheWizard](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@TheWizard](https://forum.mapillary.com/u/TheWizard)\
**Post date:** [August 29, 2025, 2:07pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/35 "2025-08-29T14:07:24Z")

</div>

@tao I didn’t had any issues after changing the one worker setting, it’s only now so slow… 😋 . I started 3 simultaneous runs, all without issues (except Windows Defender, it’s removing the mapillary\_tools every time after it’s updating…)

---

<div class="post-metadata">

**Author:** ![GITNE](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/gitne/32/70659_2.png) [@GITNE](https://forum.mapillary.com/u/GITNE)\
**Post date:** [August 29, 2025, 4:03pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/36 "2025-08-29T16:03:01Z")

</div>

So far, I had little to no issues with `0.14.3` 👍, except for sporadic occurrences of the `412 Client Error: Precondition Failed` and `429 Client Error: Too Many Requests` errors which basically recover immediately.

Upload worker count efficiency depends heavily on the link type and network infrastructure behind the link on the edge. My cable link works most efficiently with 2 upload workers, fiber works best with 4 to 8 upload workers. These figures are not a recommendation for other links or defaults. They work best for me and my setup only. The average image file size also impacts total throughput on both link types. I have not tried cell links yet because they are quite expensive for me to run but I am going to conduct some limited tests over cell links too.

Generally speaking, not having to create ZIP files is a huge relief. 😌 `mapillay_tools` has definitely evolved toward greater stability lately and is becoming more and more a pleasure to use. All of this is really great but we are not completely across the finish line yet. Anyhow, I am sure you are well aware of your _homework assignment_. 😉

---

<div class="post-metadata">

**Author:** ![TheWizard](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@TheWizard](https://forum.mapillary.com/u/TheWizard)\
**Post date:** [August 29, 2025, 5:44pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/37 "2025-08-29T17:44:30Z")

</div>

@tao Unfortunately it happened again, 3 processes killed around the same time. Like @GITNE I also had the 412 en 429 errors a couple of times but the recovery is almost instant.

 ![Schermafbeelding 2025-08-29 194100](https://us1.discourse-cdn.com/flex015/uploads/mapillary/original/3X/1/2/12adb64ff7856d1487c36914f105c5d2075b1244.png)

---

<div class="post-metadata">

**Author:** ![tao](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@tao](https://forum.mapillary.com/u/tao)\
**Post date:** [August 29, 2025, 11:38pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/38 "2025-08-29T23:38:55Z")

</div>

Thanks for sharing.

From the timestamps, looks like it happens when you were running **multiple** mapillary\_tools instances at the same time? If so, can you run just one `mapillary_tools` to confirm if the issue still occurs (with the default num\_upload\_workers=8).

Also can you share us your use case why you’d need to run multiple mapillary\_tools instances?

---

<div class="post-metadata">

**Author:** ![tao](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@tao](https://forum.mapillary.com/u/tao)\
**Post date:** [August 29, 2025, 11:42pm UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/39 "2025-08-29T23:42:52Z")

</div>

Thanks @GITNE I’m very happy to hear your experience with the latest changes. It’s all because of your feedback and the patience of you all, so we can improve MT quickly in the right direction!

---

<div class="post-metadata">

**Author:** ![GITNE](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.mapillary.com/gitne/32/70659_2.png) [@GITNE](https://forum.mapillary.com/u/GITNE)\
**Post date:** [August 30, 2025, 8:38am UTC](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836/40 "2025-08-30T08:38:15Z")

</div>

Last night, I had some other new client errors with 2 upload workers:

```auto
23:35:08.179 - WARNING - Error uploading sequence_0/00002725.jpg at offset=None since begin_offset=None: HTTPError: 412 Client Error: Precondition Failed for url: https://rupload.facebook.com/mapillary_public_uploads/mly_tools_43702b56439387b95bf7d5708a7008a3.jpg
01:11:31.083 - WARNING - Error uploading sequence_0/00012958.jpg at offset=882160 since begin_offset=0: ReadTimeout: HTTPSConnectionPool(host='rupload.facebook.com', port=443): Read timed out. (read timeout=60)
01:28:25.392 - WARNING - Error uploading sequence_1/00000001.jpg at offset=None since begin_offset=None: ConnectionError: HTTPSConnectionPool(host='rupload.facebook.com', port=443): Max retries exceeded with url: /mapillary_public_uploads/mly_tools_6ea0247181b9078797b4394c0983ccba.jpg (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffffb392e900>: Failed to establish a new connection: [Errno 113] No route to host'))
01:28:25.393 - WARNING - Error uploading sequence_1/00000000.jpg at offset=None since begin_offset=None: ConnectionError: HTTPSConnectionPool(host='rupload.facebook.com', port=443): Max retries exceeded with url: /mapillary_public_uploads/mly_tools_f091c9298670434e839884fa6aedb2ce.jpg (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xffffb392ff80>: Failed to establish a new connection: [Errno 113] No route to host'))
02:47:27.706 - WARNING - Error uploading sequence_1/00007330.jpg at offset=None since begin_offset=None: ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

```

Because these errors happen on the client only and recover immediately on the next retry, it looks like all these errors may also actually be the result of or due to a race condition right before they happen. This may also hint at why @TheWizard has to run multiple `mapillary_tools` instances with 1 upload worker each. In other words, when you have only one upload worker running then the client errors basically seize to occur. Overall, sequence uploads complete fine.

[Previous page](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836.md?page=1)

[Next page](https://forum.mapillary.com/t/mapillary-tools-0-14-is-released/9836.md?page=3)
