When trying to set up a new remote at Dropbox (with blank client ID and secret and no advanced config), I get the following. I was able to create a remote with no problem a month or so ago, but then it stopped working. All attempts since to create a new one have had this same problem. The browser opens and shows Success!, but on returning to terminal, I see the following. Note that (additionally) I'm confused by what is meant by setting the Redirect URL in my custom config. Where would I see that?
Thanks for any help.
2026/09/20 15:59:43 NOTICE: Make sure your Redirect URL is set to "http://localhost:53682/" in your custom config.
2026/09/20 15:59:43 NOTICE: If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=vsL5v_GWjoV1jko-oBolTw
2026/09/20 15:59:43 NOTICE: Log in and authorize rclone for access
2026/09/20 15:59:43 NOTICE: Waiting for code...
2026/09/20 15:59:52 NOTICE: Got code
Error: failed to get token: Post "https://api.dropboxapi.com/oauth2/token": dial tcp 162.125.4.19:443: connect: bad file descriptor
```
Run the command 'rclone version' and share the full output of the command.
hi,
as a quick test, as per your example, i created a new dropbox remote using rclone's default config.
it works, no problems
i think this is the hint.
perhaps issue with your machine? dns, vpn, proxy server, etc..
can you test on another machine, physical or virtual?
that does not apply to your example, as you are using rclone's default configuration
if you were using a client id+secret, that would be a custom config
Thanks, @jojothehumanmonkey. I had tried different browsers, but it didn’t occur to me to try a different machine. I had no trouble making a new remote on a different computer (both Macs). However, when I copied the relevant code from the config file over to the original machine, it still didn’t work and even running a simple command (rclone size) works on the second, but not the first. I think you’re right about the hint, but will have to dig into it more, as I don’t know what would have changed.
I found the penultimate solution, but not the ultimate one. I use Little Snitch (a Mac and Linux firewall/network monitor). Even though I had it set to allow everything through, I had to actually disable it in my Mac’s network settings to retrieve the token. With it disabled, all is working as it should. The confusing thing is that my second Mac was set up the same way but with Little Snitch enabled, and it was working fine. There’s a slight mismatch in OS version (26.7 on the first Mac and 27.0 on the second), so it’s possible that accounts for this. I’ll pursue this further so that I can again use Little Snitch, but at least my scripts will run again for now.
I’m considering this closed now as far as rclone and the forum is concerned. Thanks for your reply!
So you needed to turn off your firewall in order to get the token. After you got to token can you use rclone to connect to the drive with the firewall enabled?
Nope, throws an error until I disable it again. But the other Mac works fine with it enabled. I’m missing something…
Am waiting until OS 27.1 comes out to upgrade the first Mac (my production one). After that, I’ll research it further to see if that fixes the discrepancy.
Little Snitch has a slew of adjustments that can be made, but I’ve never dug into them. I’m pretty sure I can eventually get it configured so it works, but will have to RTFM.