java.io.IOException: Server returned: 3

Appcelerator JIRA | Mauro Parra-Miranda | 3 years ago
  1. 0

    Started via developer question: http://developer.appcelerator.com/question/156954/bug-in-titanium-alloy-map I have started by using the following sample: https://github.com/appcelerator/alloy/tree/master/test/apps/ui/map Running on a Production build with proper Google API Key I get the following when opening the map: {code} 10-08 19:47:30.878: W/System.err(2337): IOException processing: 26 10-08 19:47:30.878: W/System.err(2337): java.io.IOException: Server returned: 3 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115) 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473) 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117) 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994) 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702) 10-08 19:47:30.878: W/System.err(2337): at java.lang.Thread.run(Thread.java:864) {code} To ensure it wasn't a key problem, I modified the project above and changed index.xml to: {code:xml} <Alloy></Alloy> {code} And index.js to: {code:js} var MapModule = require('ti.map'); var win = Ti.UI.createWindow({ backgroundColor: "white", navBarHidden: false, title: "BETA Pub Crawl" }); var mapview = MapModule.createView({ mapType: MapModule.NORMAL_TYPE, region: {latitude:37.390749, longitude:-122.081651, latitudeDelta:0.01, longitudeDelta:0.01}, animate:true, regionFit:true, enableZoomControls:true, touchEnabled:true, userLocation:true, zIndex:10 }); var ann = MapModule.createAnnotation({ latitude:37.390749, longitude:-122.081651, title:"Appcelerator Headquarters", subtitle:'Mountain View, CA', pincolor:MapModule.ANNOTATION_RED, animate:true, annid:1, venueid:1 }); mapview.addAnnotation(ann); win.add(mapview); win.open(); {code} And the map opens as expected.

    Appcelerator JIRA | 3 years ago | Mauro Parra-Miranda
    java.io.IOException: Server returned: 3
  2. 0

    Started via developer question: http://developer.appcelerator.com/question/156954/bug-in-titanium-alloy-map I have started by using the following sample: https://github.com/appcelerator/alloy/tree/master/test/apps/ui/map Running on a Production build with proper Google API Key I get the following when opening the map: {code} 10-08 19:47:30.878: W/System.err(2337): IOException processing: 26 10-08 19:47:30.878: W/System.err(2337): java.io.IOException: Server returned: 3 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115) 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473) 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117) 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994) 10-08 19:47:30.878: W/System.err(2337): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702) 10-08 19:47:30.878: W/System.err(2337): at java.lang.Thread.run(Thread.java:864) {code} To ensure it wasn't a key problem, I modified the project above and changed index.xml to: {code:xml} <Alloy></Alloy> {code} And index.js to: {code:js} var MapModule = require('ti.map'); var win = Ti.UI.createWindow({ backgroundColor: "white", navBarHidden: false, title: "BETA Pub Crawl" }); var mapview = MapModule.createView({ mapType: MapModule.NORMAL_TYPE, region: {latitude:37.390749, longitude:-122.081651, latitudeDelta:0.01, longitudeDelta:0.01}, animate:true, regionFit:true, enableZoomControls:true, touchEnabled:true, userLocation:true, zIndex:10 }); var ann = MapModule.createAnnotation({ latitude:37.390749, longitude:-122.081651, title:"Appcelerator Headquarters", subtitle:'Mountain View, CA', pincolor:MapModule.ANNOTATION_RED, animate:true, annid:1, venueid:1 }); mapview.addAnnotation(ann); win.add(mapview); win.open(); {code} And the map opens as expected.

    Appcelerator JIRA | 3 years ago | Mauro Parra-Miranda
    java.io.IOException: Server returned: 3
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error running google maps program on my samsung phone

    Stack Overflow | 3 years ago | tejinder
    java.io.IOException: Server returned: 3

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Server returned: 3

      at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData()
    2. android_maps_conflict_avoidance.com.google
      DataRequestDispatcher$DispatcherServer.run
      1. android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115)
      2. android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473)
      3. android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117)
      4. android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994)
      5. android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702)
      5 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:864)
      1 frame