Error connecting to sync server:java.net.MalformedURLException

Discussions about syncing data via Bluetooth, Dropbox, FTP, and using CSWeb
Forum rules
New release: CSPro 8.0
Post Reply
becklesd
Posts: 14
Joined: June 11th, 2012, 5:25 pm

Error connecting to sync server:java.net.MalformedURLException

Post 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
becklesd
Posts: 14
Joined: June 11th, 2012, 5:25 pm

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

Post 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
aaronw
Posts: 561
Joined: June 9th, 2016, 9:38 am
Location: Washington, DC

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

Post 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.
Post Reply