Seafile Client libcurl error because of non-ASCII URL

Dear Community,

I have recently installed Seafile server. I managed to get everything to work except the Seafile client on linux. The URL I am using consists of one non-ASCII character and I think this causes the error.

Here is a part of my ccnet logs:

[04/19/21 13:37:49] clone-mgr.c(678): Transition clone state for dea0482b from [init] to [check server].
[04/19/21 13:37:49] http-tx-mgr.c(782): libcurl failed to GET https://seafle.exämple.com/seafhttp/protocol-version: URL using bad/illegal format or missing URL.
[04/19/21 13:37:49] clone-mgr.c(694): Transition clone state for dea0482b from [check server] to [error]: Network error.
[04/19/21 13:37:51] clone-mgr.c(678): Transition clone state for dea0482b from [error] to [check server].
[04/19/21 13:37:51] http-tx-mgr.c(782): libcurl failed to GET https://seafle.exämple.com/seafhttp/protocol-version: URL using bad/illegal format or missing URL.
[04/19/21 13:37:51] clone-mgr.c(694): Transition clone state for dea0482b from [check server] to [error]: Network error.

Any suggestions?

Thanks in advance!

Have you tried comverting the domain name before entering it? There are online converters available.

I did a mistake randomizing the URL. Its not punycode, it looks like this: seafile.exämple.com.

Digging throug the github issues I found this [1] issue on github. It explains why this can’t be working. Unfortunately, the the punycode URL gets converted to a non-ASCII URL when entering it in the seafile client.

Any ideas on how to workaround this are appreciated - thanks!

[1] https://github.com/haiwen/seafile-client/issues/787

It looks like there is a bug and the domain is converted back on setup and you have to manually change it to the punycode representation in the client setup db.

In clone.db I have to change the value of the server_addr field in the CloneTasks table and the value of more_info in the CloneTasksMoreInfo table each from seafile.testü.de back to the encoded form seafile.testü.de to get it work. – https://github.com/haiwen/seafile-client/issues/787#issue-141129148