# Sync Agent RPI Urllib3-Error

**URL:** <https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289>\
**Category:** Troubleshooting\
**Created:** [November 13, 2017, 1:16pm UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289 "2017-11-13T13:16:28Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [January 9, 2018, 3:03pm UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/21 "2018-01-09T15:03:18Z")

</div>

Hi @jedhassell,  
There aren’t any plan to open source, at this time. I have tentative confirmation that the build can be worked on next week, though. My sincere apologies for the delay.

---

<div class="post-metadata">

**Author:** ![fabianroeling](https://forum.odrive.com/user_avatar/forum.odrive.com/fabianroeling/32/4231_2.png) [@fabianroeling](https://forum.odrive.com/u/fabianroeling)\
**Post date:** [January 16, 2018, 3:34pm UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/22 "2018-01-16T15:34:46Z")

</div>

Update: I’m now using Grive. Has downloaded a folder with content at least once, but I didn’t do enough testing to confirm that it fully works.

---

<div class="post-metadata">

**Author:** ![chris16](https://forum.odrive.com/user_avatar/forum.odrive.com/chris16/32/4200_2.png) [@chris16](https://forum.odrive.com/u/chris16)\
**Post date:** [January 30, 2018, 5:16am UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/23 "2018-01-30T05:16:29Z")

</div>

Any updates or anyway I can help on this issue? I have the exact same error on my raspberry pi as well.

Thanks

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [February 2, 2018, 10:41am UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/24 "2018-02-02T10:41:29Z")

</div>

Can some folks on this thread try this build and verify that it works for them? [https://www.odrive.com/s/4d28bc76-ed7d-4059-80f9-927c90ceab4d-5a744026](https://www.odrive.com/s/4d28bc76-ed7d-4059-80f9-927c90ceab4d-5a744026)

---

<div class="post-metadata">

**Author:** ![chris16](https://forum.odrive.com/user_avatar/forum.odrive.com/chris16/32/4200_2.png) [@chris16](https://forum.odrive.com/u/chris16)\
**Post date:** [February 3, 2018, 5:06am UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/25 "2018-02-03T05:06:06Z")

</div>

Fantastic, this works!  
I did the standard download install, then moved the original `odriveagent` to `odriveagent_orig`.  
Then copied in this one and ran: `nohup "$HOME/.odrive-agent/bin/odriveagent"` and the log file was empty (good).

I then ran the official way (dropping the output to /dev/null) and did a  
`python .odrive-agent/bin/odrive.py status`.  
All is well!

Thank you very much for the work on this one.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [February 5, 2018, 11:53pm UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/26 "2018-02-05T23:53:42Z")

</div>

Thanks for the feedback @chris16!

An official build has been released for download now too:  
[https://dl.odrive.com/odriveagent-rpi](https://dl.odrive.com/odriveagent-rpi)

---

<div class="post-metadata">

**Author:** ![jedhassell](https://forum.odrive.com/user_avatar/forum.odrive.com/jedhassell/32/4141_2.png) [@jedhassell](https://forum.odrive.com/u/jedhassell)\
**Post date:** [February 27, 2018, 7:36pm UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/27 "2018-02-27T19:36:05Z")

</div>

after running the directions here `https://docs.odrive.com/docs/odrive-sync-agent` i am getting this error:

```auto
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/home/pi/hudson/workspace/Odrive_RPi_Agent/deploy/output/artifacts/build/odriveagent/LinuxOdriveAgent/out00-PYZ.pyz/hashlib", line 147, in <module>
  File "/home/pi/hudson/workspace/Odrive_RPi_Agent/deploy/output/artifacts/build/odriveagent/LinuxOdriveAgent/out00-PYZ.pyz/hashlib", line 97, in __get_builtin_constructor
ValueError: unsupported hash type md5
.
.
.

```

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [February 27, 2018, 8:03pm UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/28 "2018-02-27T20:03:34Z")

</div>

Hi @jedhassell,  
Can you provide the details for your environment?

1. What distribution and version?
2. Which version of the agent was downloaded?
3. What is the command you ran to receive this error?

---

<div class="post-metadata">

**Author:** ![jedhassell](https://forum.odrive.com/user_avatar/forum.odrive.com/jedhassell/32/4141_2.png) [@jedhassell](https://forum.odrive.com/u/jedhassell)\
**Post date:** [February 28, 2018, 4:13am UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/29 "2018-02-28T04:13:41Z")

</div>

Hi Tony,

I was able to use @chris16 instructions to get it working. I synced my root folder but now I am seeing ~5k random folders with UUID named files inside. What the heck is this? See [https://screencast.com/t/cO8VsMIgDj](https://screencast.com/t/cO8VsMIgDj) for an example. Are any of my other valid folders at risk of being deleted? Can I safely delete these random folders?

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [February 28, 2018, 3:30pm UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/30 "2018-02-28T15:30:16Z")

</div>

Hi @jedhassell,  
Can you provide some information on what you are syncing?

What is the storage type and what does it look like when you view it from the odrive web client or the storage’s own web client?

The image looks like a Finder view of your files, but I know you were doing this on a RPi. Can you explain what I’m looking at in that picture?

---

<div class="post-metadata">

**Author:** ![jedhassell](https://forum.odrive.com/user_avatar/forum.odrive.com/jedhassell/32/4141_2.png) [@jedhassell](https://forum.odrive.com/u/jedhassell)\
**Post date:** [February 28, 2018, 5:07pm UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/31 "2018-02-28T17:07:12Z")

</div>

Hi @Tony,

Sure. This is a view from my Mac which is also running the mac sync client. I am trying to create a backup of my files on my Pi. I am mainly storing ~1tb of jpg and cr2 images. There are around 50mb of documents but nothing that resembles these folders in the image. I am storing these on Amazon Drive and the folders have been synce to Amazon drive. My original folders with my data are still in tact it appears so that’s a relief. I’m just not sure where all of these ~5k folders came from.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [February 28, 2018, 11:24pm UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/32 "2018-02-28T23:24:53Z")

</div>

Hi @jedhassell,  
Since this is Amazon Drive, take a look at this post here. It may be what you are seeing: [Mysterious unknown files/folders under root Amazon Drive folder](https://forum.odrive.com/t/mysterious-unknown-files-folders-under-root-amazon-drive-folder/2690)

Also, to clarify, the current release of agent for RPi on our download page didn’t work, but the test binary I posted above did?

---

<div class="post-metadata">

**Author:** ![jedhassell](https://forum.odrive.com/user_avatar/forum.odrive.com/jedhassell/32/4141_2.png) [@jedhassell](https://forum.odrive.com/u/jedhassell)\
**Post date:** [March 1, 2018, 12:53am UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/33 "2018-03-01T00:53:04Z")

</div>

Hi @Tony,

`Also, to clarify, the current release of agent for RPi on our download page didn’t work, but the test binary I posted above did?`  
Yes, the general instructions did not work but swapping out that binary fixed it.

Also, thanks for the link! I’ll check it out.

---

<div class="post-metadata">

**Author:** ![Tony](https://forum.odrive.com/user_avatar/forum.odrive.com/tony/32/19_2.png) [@Tony](https://forum.odrive.com/u/Tony)\
**Post date:** [March 1, 2018, 2:53am UTC](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289/34 "2018-03-01T02:53:17Z")

</div>

Thanks @jedhassell!

I realized I had an issue in the tar of the last version, so when it extracted in the automated fashion it was carrying a path, and would be put in the wrong place. I have corrected this so that the official version should work as expected.

[Previous page](https://forum.odrive.com/t/sync-agent-rpi-urllib3-error/3289.md?page=1)
