DAV-4-TbSync icon indicating copy to clipboard operation
DAV-4-TbSync copied to clipboard

Yahoo! connection fails

Open bjoernv opened this issue 4 years ago • 1 comments

Your environment

TbSync version: 2.18 DAV-4-TbSync version: 1.21 Thunderbird version: 78.3.3

[ ] Yes, I have installed the latest available beta version from https://tbsync.jobisoft.de and my issue is not yet fixed, I can still reproduce it.

Expected behavior

Yahoo! connection works. I have tested both my Yahoo! app password and my Yahoo! password.

Actual behavior

I can not create a Yahoo! account. The log shows the following error messages:


Account: Yahoo! (DAV)

URL:
https://caldav.calendar.yahoo.com/.well-known/caldav (PROPFIND)

Request:
<d:propfind xmlns:d="DAV:"><d:prop><d:current-user-principal /></d:prop></d:propfind>

Response:
(nothing)

RFC6764 DNS request succeeded

Account: Yahoo! (DAV)
SRV record @ _carddavs._tcp.yahoo.com
{"prio":1,"weight":1,"host":"carddav.address.yahoo.com","port":443,"type":33,"nsclass":1,"ttl":535}

Authentication failed, please check username and password. (translated from German)
Account: Yahoo! (DAV)
URL:
https://carddav.address.yahoo.com/.well-known/carddav (PROPFIND)

Request:
<d:propfind xmlns:d="DAV:"><d:prop><d:current-user-principal /></d:prop></d:propfind>

Response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<yahoo:error xmlns:yahoo="http://www.yahooapis.com/v1/base.rng" xml:lang="en-US">
<yahoo:description>Unauthorized</yahoo:description>
<yahoo:detail>Unable to get token for userName=myusername</yahoo:detail>
</yahoo:error>

Steps to reproduce

  • create an Yahoo! account in Tbsync

bjoernv avatar Oct 20 '20 16:10 bjoernv

I had the same problem, but I solved it by generating a one-time app password from yahoo.com's Account Information page.

I went there because of the following note in TBSync's "Add New Account --> CalDav & CardDav --> Yahoo! dialog:

Notes:

The requested password is an app-specific password for TBSync which you can create in your Yahoo! web portal. It is not your standard Yahoo! password.

The following link (accessed 2021-11-14) explains how to add an app-specific password from Yahoo!:

https://help.yahoo.com/kb/generate-manage-third-party-passwords-sln15241.html

b007patel avatar Nov 15 '21 03:11 b007patel