Max Pyziur <p...@brama.com> writes:
>> this is coming from ./src/syncevo/SoupTransportAgent.cpp in
>> void SoupTransportAgent::HandleSessionCallback(SoupSession *session,
>>                                               SoupMessage *msg)
>>
>> what is the linked version of soap you have on your side
>>
>> $ ldd /usr/bin/syncevolution | grep soup
>>        libsoup-2.4.so.1 => /usr/lib/x86_64-linux-gnu/libsoup-2.4.so.1
>> (0x00007ff3c20f5000)
>
> Executing this command, the response that is returned is:
>       libsoup-2.4.so.1 => /lib64/libsoup-2.4.so.1 (0x00007fb409adf000)

Which Linux distro do you run this on, and which version of libsoup do
you have installed? 2.4 is just the soname. For example, Debian Buster
has:

$ aptitude show libsoup-gnome2.4-1
Package: libsoup-gnome2.4-1              
Version: 2.72.0-2
...

This error does look like a low-level HTTPS problem. There is a command
line tool for libsoup similar to curl, but it doesn't seem to be
packaged. But it can be built from source easily:

curl -L 
https://salsa.debian.org/gnome-team/libsoup/-/raw/debian/master/examples/get.c?inline=false
 >get.c
gcc -o get get.c `pkg-config --cflags --libs libsoup-2.4`

./get --debug https://www.keepcontacts.com/sync/server
> GET /sync/server HTTP/1.1
> Soup-Debug-Timestamp: 1641973484
> Soup-Debug: SoupSession 1 (0x558f081a8100), SoupMessage 1 (0x558f081b30a0), 
> SoupSocket 1 (0x558f084fa8b0)
> Host: www.keepcontacts.com
> Accept-Encoding: gzip, deflate
> User-Agent: get libsoup/2.72.0
> Accept-Language: en-us, en;q=0.9, en;q=0.8
> Connection: Keep-Alive
  
< HTTP/1.1 404 Not Found
< Soup-Debug-Timestamp: 1641973484
< Soup-Debug: SoupMessage 1 (0x558f081b30a0)
< Date: Wed, 12 Jan 2022 07:44:44 GMT
< Server: Apache
< X-Frame-Options: DENY
< X-Content-Type-Options: nosniff
< Strict-Transport-Security: max-age=63072000; includeSubdomains;
< X-Permitted-Cross-Domain-Policies: none
< Content-Length: 0
< X-XSS-Protection: 1; mode=block
< Keep-Alive: timeout=15, max=100
< Connection: Keep-Alive

The 404 error is okay. SyncEvolution itself will do a POST, which may
lead to a different outcome. The important point is that TLS works.

Do you get the same result? You may have to install libsoup2.4-dev
(Debian, Ubuntu) or some similar package.

-- 
Best Regards

Patrick Ohly
_______________________________________________
SyncEvolution mailing list -- syncevolution@syncevolution.org
To unsubscribe send an email to syncevolution-le...@syncevolution.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to