City-of-Bloomington / open311-ios

GeoReporter iOS source code. Native iOS smartphone client app for Open311 API civic issue reporting.
http://open311.org
Other
23 stars 22 forks source link

Unsupported URL error when adding server #213

Open inghamn opened 10 years ago

inghamn commented 10 years ago

Folks are reporting that they're getting "server/address not supported" when trying to add a server to the GeoReporter app.

I'm not sure if it's a string character set problem or bad networking, though.

inghamn commented 10 years ago

Report from Espoo, Finland:

I'm writing from Finland were the city of Espoo has been using Georeporter for following constraction sites and reporting from them. Now, after the new version of the iPhone app came out the app hasn't been working on our iPhones. The error message is gotten when inserting and storing the server to the app. The message: "server/address is not supported", that is a dirrect translation from finnish to English. Or if the server was already installed to iPhone before the version update, the message is following: "The operation cound't be completed. (Cocoa error 3840.)". Do you have any idea is the problem?

inghamn commented 10 years ago

Unsupported URL is occurring when the custom server URL that is typed includes a trailing slash. This happens because we just do string concatenation for the URL handling.

kvlahromei commented 9 years ago

Hi, I'm sorry @inghamn but also here we encounter problems if we try to add our server demo . klarschiff-hro.de . We tried all the combinations including with(out) HTTP prefix, trailing slashes, media support, ... but no luck. Corresponding to our server logs, we don't get any HTTP requests :-( We tested using an iPhone 4S running iOS 8.4.1