On Wed, 12 Jan 2022, Patrick Ohly wrote:
Max Pyziur 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
(0x7ff3c20f5000)
Executing this command, the response that is returned is:
libsoup-2.4.so.1 => /lib64/libsoup-2.4.so.1 (0x7fb409adf000)
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
...
I use Fedora Linux; the current release is 35.
libsoup versions are:
pyz@pegasus ~> rpm -q libsoup
libsoup-2.74.2-1.fc35.x86_64
libsoup-2.74.2-1.fc35.i686
Do you need more details here?
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`
When running this command, I have the following output; there is an error:
pyz@pegasus ~/projects> 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`
Package libsoup-2.4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libsoup-2.4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libsoup-2.4', required by 'virtual:world', not found
% Total% Received % Xferd Average Speed TimeTime Time
Current
Dload Upload Total SpentLeft
Speed
100 8093 100 80930 0 16508 0 --:--:-- --:--:-- --:--:--
16516
% Total% Received % Xferd Average Speed TimeTime Time
Current
Dload Upload Total SpentLeft
Speed
0 00 00 0 0 0 --:--:-- --:--:-- --:--:--
0curl: (6) Could not resolve host: gcc
% Total% Received % Xferd Average Speed TimeTime Time
Current
Dload Upload Total SpentLeft
Speed
0 00 00 0 0 0 --:--:-- --:--:-- --:--:--
0curl: (6) Could not resolve host: get.c
./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.
After I install the devel rpm package, and run the command I get the
following result:
pyz@pegasus ~/projects> 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`
curl: option -I/usr/include/libsoup-2.4: is unknown
curl: try 'curl --help' or 'curl --manual' for more information
Should I be running something specific to Fedora here?
fyi,
M
___
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