[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
On Thu, 13 Jan 2022, Emanoil wrote: Am Wednesday 12 January 2022 23:14:27 schrieb Max Pyziur: < HTTP/1.1 404 Not Found < Soup-Debug-Timestamp: 1642025460 < Soup-Debug: SoupMessage 1 (0xccd8a0) < Date: Wed, 12 Jan 2022 22:11:00 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 HTTP 404 means the resource is unavailable Check the URL and documentation. In communication with support at KeepContacts, I was told that I needed KeepContacts auto-generated credentials (i.e., there's a link on the settings page: Add new Device -> Manually add device) Once clicked a page with the following information is shown: These are the generic setup instructions: Sync server URL: http://www.keepcontacts.com/sync/server Username: p...@brama.com Password: PasswordCredential Contacts database: con Calendar database: cal or caltask if your phone synchronizes tasks to the same database as the calendar. If you can't specify the tasks database separately you should probably pick caltask. Tasks database: task Notes database: vnote or pnote if you get an error while synchronizing notes. Bookmark database: bmark Some phones require that you add a dot and slash before the database names, e.g., ./con. Example of such phones are NEC and Panasonic. When I put the credentials and URL into SyncEvolution, the KeepContacts page shows that "Patrick Ohly Syncevolution" is syncing. However, from the SyncEvolution GUI the connection eventually times out with an generic error message. Looking through the logfile for the SyncEvolution session, the following lines seem to be important: [2022-01-13 17:24:47.712] GLib-GIO: GSocketClient: Connection successful! [2022-01-13 17:24:48.096] SoupTransport Failure: https://www.keepcontacts.com/sync/server via libsoup: Conflict [2022-01-13 17:24:48.096] Transport giving up after 0 retries and 0:00min [2022-01-13 17:24:48.096] TransportException thrown at src/syncevo/SyncContext.cpp:4349 [2022-01-13 17:24:48.096] transport problem: transport failed, retry period exceeded [2022-01-13 17:24:48.096] aborting after catching fatal error Next steps? Thank you to everyone for all of your help. 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 ___ 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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
On Wed, 12 Jan 2022, Milan Crha wrote: On Wed, 2022-01-12 at 08:03 -0500, Max Pyziur wrote: get.c gcc -o get get.c `pkg-config --cflags --libs libsoup-2.4` Hi, everything after 'gcc', including the 'gcc' itself, is means to be a separate command, thus: $ curl . >get.c $ gcc -o get `pkg-config --cflags --libs libsoup-2.4` get.c $ ./get Hope it helps. Bye, Milan Everything helps. Here's my output: GET /sync/server HTTP/1.1 Soup-Debug-Timestamp: 1642025460 Soup-Debug: SoupSession 1 (0xcc3100), SoupMessage 1 (0xccd8a0), SoupSocket 1 (0x118b0f0) Host: www.keepcontacts.com Accept-Encoding: gzip, deflate User-Agent: get libsoup/2.74.2 Accept-Language: en-us, en;q=0.9 Connection: Keep-Alive < HTTP/1.1 404 Not Found < Soup-Debug-Timestamp: 1642025460 < Soup-Debug: SoupMessage 1 (0xccd8a0) < Date: Wed, 12 Jan 2022 22:11:00 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 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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
On Wed, 2022-01-12 at 08:03 -0500, Max Pyziur wrote: > >get.c gcc -o get get.c `pkg-config --cflags --libs libsoup-2.4` Hi, everything after 'gcc', including the 'gcc' itself, is means to be a separate command, thus: $ curl . >get.c $ gcc -o get `pkg-config --cflags --libs libsoup-2.4` get.c $ ./get Hope it helps. Bye, Milan ___ 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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
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 ... 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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
On Tue, 11 Jan 2022, Emanoil wrote: Hi, I am not sure if someone is reading here and I have no idea what you are doing, because I am using the bluetooth side of SyncEvolution. However I think if you run with more debugging, you will get more information about the error. Something like: SYNCEVOLUTION_DEBUG=10 syncevolution --sync-property loglevel=10 -r keepcontacts I've used your suggestion, and the messages that are returned are exactly as I submitted them previously, as seen here: Am Tuesday 11 January 2022 18:28:01 schrieb Max Pyziur: Here is the output from running the above command: pyz@pegasus ~/.cache/syncevolution/keepcontacts-2022-01-11-11-21> syncevolution --run keepcontacts [INFO] calendar: inactive [INFO] memo: inactive [INFO] todo: inactive [INFO] SoupTransport Failure: https://www.keepcontacts.com/sync/server via libsoup: Conflict [INFO] resend previous message, retry #1 [INFO] SoupTransport Failure: https://www.keepcontacts.com/sync/server via libsoup: Conflict [INFO] resend previous message, retry #2 [INFO] SoupTransport Failure: https://www.keepcontacts.com/sync/server via libsoup: Conflict [INFO] Transport giving up after 2 retries and 4:00min [ERROR] transport problem: transport failed, retry period exceeded [INFO] addressbook: inactive [ERROR] addressbook: aborted on behalf of user (local, status 20017) [INFO] creating complete data backup after sync (enabled with dumpData and needed for printChanges) 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) fyi, M syncevolution --print-config keepcontacts | grep ^syncURL The output of this command: syncURL = https://www.keepcontacts.com/sync/server Also are you sure it is https ? ___ 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 ___ 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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
On Tue, 11 Jan 2022, Patrick Ohly wrote: Max Pyziur writes: On Tue, 11 Jan 2022, Patrick Ohly wrote: Max Pyziur writes: I have replicated it below (earlier email), and have tried syncing via SyncEvolution with KeepContacts. However, no KeepContacts connection is made with SyncEvolution. What error do you get? Do you have https://www.keepcontacts.com/sync/server as your syncURL? I'm using the GUI; the error message that comes back is: "We were unable to connect to the server. The problem could be temporary or there could be something wrong with the settings." Are there log files that I can review somewhere? Yes, under ~/.cache/syncevolution. Or alternatively, is there a CLI command that I can issue, and, in that way, capture whatever error messages (the one above, and hopefully more informative ones) are generated? What is your configuration called? If it is "keepcontacts", then you can sync with: syncevolution --run keepcontacts Here is the output from running the above command: pyz@pegasus ~/.cache/syncevolution/keepcontacts-2022-01-11-11-21> syncevolution --run keepcontacts [INFO] calendar: inactive [INFO] memo: inactive [INFO] todo: inactive [INFO] SoupTransport Failure: https://www.keepcontacts.com/sync/server via libsoup: Conflict [INFO] resend previous message, retry #1 [INFO] SoupTransport Failure: https://www.keepcontacts.com/sync/server via libsoup: Conflict [INFO] resend previous message, retry #2 [INFO] SoupTransport Failure: https://www.keepcontacts.com/sync/server via libsoup: Conflict [INFO] Transport giving up after 2 retries and 4:00min [ERROR] transport problem: transport failed, retry period exceeded [INFO] addressbook: inactive [ERROR] addressbook: aborted on behalf of user (local, status 20017) [INFO] creating complete data backup after sync (enabled with dumpData and needed for printChanges) Synchronization failed, see /home/pyz/.cache/syncevolution/keepcontacts-2022-01-11-12-20/syncevolution-log.html for details. Changes applied during synchronization: +---|---|---|-CON-+ | | LOCAL |REMOTE | FLI | |Source | NEW | MOD | DEL | ERR | NEW | MOD | DEL | ERR | CTS | +---+-+-+-+-+-+-+-+-+-+ | addressbook | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | aborted on behalf of user (local, status 20017) | +---+-+-+-+-+-+-+-+-+-+ | start Tue Jan 11 12:20:43 2022, duration 4:02min | | external transport failure (local, status 20043) | +---+-+-+-+-+-+-+-+-+-+ First ERROR encountered: transport problem: transport failed, retry period exceeded If unsure what the configuration is called, use: syncevolution --print-configs You can check the syncURL with: syncevolution --print-config keepcontacts | grep ^syncURL The output of this command: syncURL = https://www.keepcontacts.com/sync/server Thank you for your help here, 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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
Max Pyziur writes: > On Tue, 11 Jan 2022, Patrick Ohly wrote: > >> Max Pyziur writes: >>> I have replicated it below (earlier email), and have tried syncing via >>> SyncEvolution with KeepContacts. However, no KeepContacts connection is >>> made with SyncEvolution. >> >> What error do you get? Do you have >> https://www.keepcontacts.com/sync/server as your syncURL? > > I'm using the GUI; the error message that comes back is: > "We were unable to connect to the server. The problem could be temporary > or there could be something wrong with the settings." > > Are there log files that I can review somewhere? Yes, under ~/.cache/syncevolution. > Or alternatively, is there a CLI command that I can issue, and, in that > way, capture whatever error messages (the one above, and hopefully more > informative ones) are generated? What is your configuration called? If it is "keepcontacts", then you can sync with: syncevolution --run keepcontacts If unsure what the configuration is called, use: syncevolution --print-configs You can check the syncURL with: syncevolution --print-config keepcontacts | grep ^syncURL -- 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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
On Tue, 11 Jan 2022, Patrick Ohly wrote: Max Pyziur writes: Greetings, Apologies for yanking my own thread here. I just want to have my another option open. I have contacted Support at KeepContacts regarding the recommended SyncEvolution configuration. They said that it should be exactly the same as Mobical (note that Mobical is part of the packaged configurations in SyncEvolution; during an interim period MobiCal became Everdroid; by 2015 it became KeepContacts). I have replicated it below (earlier email), and have tried syncing via SyncEvolution with KeepContacts. However, no KeepContacts connection is made with SyncEvolution. What error do you get? Do you have https://www.keepcontacts.com/sync/server as your syncURL? I'm using the GUI; the error message that comes back is: "We were unable to connect to the server. The problem could be temporary or there could be something wrong with the settings." Are there log files that I can review somewhere? Or alternatively, is there a CLI command that I can issue, and, in that way, capture whatever error messages (the one above, and hopefully more informative ones) are generated? Thanks for your reply, Max ___ 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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
Max Pyziur writes: > Greetings, > > Apologies for yanking my own thread here. I just want to have my another > option open. > > I have contacted Support at KeepContacts regarding the recommended > SyncEvolution configuration. > > They said that it should be exactly the same as Mobical (note that Mobical > is part of the packaged configurations in SyncEvolution; during an interim > period MobiCal became Everdroid; by 2015 it became KeepContacts). > > I have replicated it below (earlier email), and have tried syncing via > SyncEvolution with KeepContacts. However, no KeepContacts connection is > made with SyncEvolution. What error do you get? Do you have https://www.keepcontacts.com/sync/server as your syncURL? -- 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
[SyncEvolution] Re: Syncing a New Android phone (Samsung A52) w KeepContacts
Greetings, Apologies for yanking my own thread here. I just want to have my another option open. I have contacted Support at KeepContacts regarding the recommended SyncEvolution configuration. They said that it should be exactly the same as Mobical (note that Mobical is part of the packaged configurations in SyncEvolution; during an interim period MobiCal became Everdroid; by 2015 it became KeepContacts). I have replicated it below (earlier email), and have tried syncing via SyncEvolution with KeepContacts. However, no KeepContacts connection is made with SyncEvolution. The view from KeepContacts is that perhaps it is due to the request using https instead of http. Again, I would appreciate any advice on how to proceed; thank you. Max On Sat, 8 Jan 2022, Max Pyziur wrote: Greetings, I'm trying to setup a new service on SyncEvolution. At one time there was MobiCal; it, in turn, became EverDroid, and is now KeepContacts. I downloaded the app to my phone, and the account is visible to Samsung Contacts (unlike MemoToo, which isn't). So, I'm trying to setup the configuration in SyncEvolution: for the Server Address I put: https://www.keepcontacts.com/sync/server for Contacts URI I put: con However, I don't have make connection; looking at the KeepContacts website, I don't see any documentation here. KeepContacts was previously referenced in part in this SyncEvolution thread from June 2015: https://lists.01.org/hyperkitty/list/syncevolut...@synevolution.org/thread/XZFKC36ASAPWGHGM6GV3N37GR2763PUA/ Any guidance would be greatly appreciated, Thank you, Max Pyziur p...@brama.com ___ 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