# Dropbox backup?

**URL:** https://discourse.nodered.org/t/dropbox-backup/91386
**Category:** General
**Created:** [28 September 2024 08:22 UTC](https://discourse.nodered.org/t/dropbox-backup/91386 "2024-09-28T08:22:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)
#### Post date: [28 September 2024 08:22 UTC](https://discourse.nodered.org/t/dropbox-backup/91386/1 "2024-09-28T08:22:25Z")

</div>

It have been a while since I have been working on my Node Red, everything has just been working. But now I have done some changes, and when I went to my backup-flow to send a backup to dropbox then it fails. I get FetchError: request to [https://api.dropboxapi.com/oauth2/token?grant\_type=](https://api.dropboxapi.com/oauth2/token?grant_type=)\*\*\*\*\*\*\*\*\*\* failed, reason: getaddrinfo EAI\_AGAIN [api.dropboxapi.com](http://api.dropboxapi.com)

I have tried to do the autentication process again, several times. Even removed the old apps and started all over again, but with the same result. I am sure this has been discussed in here, but couldnt find it. So if anyone could help or show me where to look, I would be very happy.

Br Freddy

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [28 September 2024 09:20 UTC](https://discourse.nodered.org/t/dropbox-backup/91386/2 "2024-09-28T09:20:00Z")

</div>

If you google for EAI\_AGAIN you will find that it means that there was a DNS failure looking up the domain [api.dropbox.com](http://api.dropbox.com), so you have some sort of networking failure.

On the machine running node red what do you see if you run, in a command window, `ping api.dropbox.com`? If that connects ok then it means that it is not a system wide problem. Are you running in Docker or with Home Assistant or similar?

---

<div class="post-metadata">

### Author: ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)
#### Post date: [28 September 2024 10:26 UTC](https://discourse.nodered.org/t/dropbox-backup/91386/3 "2024-09-28T10:26:26Z")

</div>

It is running on a Rpi. I switched router yesterday as the old one gave up. So have to look into why it dont connect to dropbox then.

---

<div class="post-metadata">

### Author: ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)
#### Post date: [28 September 2024 10:32 UTC](https://discourse.nodered.org/t/dropbox-backup/91386/4 "2024-09-28T10:32:33Z")

</div>

I had the problem yesterday that I could not find my Node Red server, as it had static ip on my old router. After I had changed ip-range on my new router, I could access Node Red through my browser. In my new router I have assigned the MAC-adress on it to the same IP. But still I can not find the server in my routers client list. So I guess the problem is there.

---

<div class="post-metadata">

### Author: ![FSHelgeland](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fshelgeland/32/64260_2.png) [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)
#### Post date: [28 September 2024 11:31 UTC](https://discourse.nodered.org/t/dropbox-backup/91386/5 "2024-09-28T11:31:23Z")

</div>

I had to SSH into Node Red, I used Putty. When tracing IP-route I could see that my Node Red server still used the default ip-adress from my old router 10.0.0.138, so I had to use the command `sudo ip route replace default via 10.0.0.1 dev eth0 ` Then everything is working again. Thanks for giving me the clue where to look.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [12 October 2024 11:31 UTC](https://discourse.nodered.org/t/dropbox-backup/91386/6 "2024-10-12T11:31:41Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
