Page 1 of 1

Error connecting to sync server:java.net.MalformedURLException

Posted: April 22nd, 2022, 11:34 am
by becklesd
Hi,
While trying to synchronize with the CSWeb server, we are getting the following message:
Error connecting to sync server:java.net.MalformedURLException: no protocol: Pilot/token.

The setup is: CSWeb version 7.7.0; CSEntry version 7.7.1, dated 11 Mar 2022; Android version 11
The problem also occurs on tablets using CSEntry version 7.6.2

Is there any solution to this problem?
Thanks for any help
BecklesD

Re: Error connecting to sync server:java.net.MalformedURLException

Posted: April 25th, 2022, 11:41 am
by becklesd
Hi,
By trial and error, we've found that the error does not occur in either of the two following situations:
1. An Android 9 device is being used;
2. When both the optional parameters, username and password, are used in the call to syncconnect.

Hope that this helps someone.
BecklesD

Re: Error connecting to sync server:java.net.MalformedURLException

Posted: April 26th, 2022, 5:18 pm
by aaronw
Can you post or email (cspro@lists.census.gov) the URL? If the URL is constructed try outputting the string using the errmsg function. I'm curious to see if it is double quoted, has a space, or something else funky is going on.