mapviz icon indicating copy to clipboard operation
mapviz copied to clipboard

NETWORK ERROR: Protocol "" is unknown

Open tranqkhue opened this issue 4 years ago • 10 comments

Hello, My mapviz does show blank tile_map, although status is OK . The error is NETWORK ERROR: Protocol "" is unknown . My mapviz config is minimal:

capture_directory: "~"
fixed_frame: map
target_frame: <none>
fix_orientation: false
rotate_90: false
enable_antialiasing: true
show_displays: true
show_status_bar: true
show_capture_tools: true
window_width: 1287
window_height: 852
view_scale: 0.2709693
offset_x: 0
offset_y: 0
use_latest_transforms: true
background: "#a0a0a4"
displays:
  - type: mapviz_plugins/tile_map
    name: new display
    config:
      visible: true
      collapsed: false
      custom_sources:
        []
      bing_api_key: [hidden]
      source: Bing Maps (terrain)

What's this issue and how to resolve it? Thank you :D

tranqkhue avatar Feb 23 '21 07:02 tranqkhue

Have the same error

lpbonomi avatar Sep 19 '23 13:09 lpbonomi

Can you tell me which platform and version you are running?

danthony06 avatar Sep 19 '23 17:09 danthony06

Ubuntu 20.04.6 LTS and ROS noetic

juanimir25 avatar Sep 19 '23 19:09 juanimir25

This is on an x86 machine and not Arm? Is the DISPLAY variable set in your terminal?

On Tue, Sep 19, 2023, 2:24 PM juanimir25 @.***> wrote:

Ubuntu 20.04.6 LTS and ROS noetic

— Reply to this email directly, view it on GitHub https://github.com/swri-robotics/mapviz/issues/722#issuecomment-1726345774, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBZWHEOCURXW32EKMOMTKDX3HWNFANCNFSM4YB6OE6Q . You are receiving this because you commented.Message ID: @.***>

danthony06 avatar Sep 19 '23 20:09 danthony06

We both have x86 machines, when I echo $DISPLAY the output is :0

lpbonomi avatar Sep 20 '23 12:09 lpbonomi

I talked with some of the people around here, and our current suspect is that the Bing API is not always stable, and we need better error handling and recovery when it throws errors. We're going to try and add this in. It may mean the tile_map isn't always visible because Bing isn't serving the maps correctly, but we'll at least improve the error output so you know that's the problem.

danthony06 avatar Sep 20 '23 16:09 danthony06

Thanks a lot @danthony06. We were trying with other options (#791) but no luck. I'm happy to provide any further info that you need

lpbonomi avatar Sep 22 '23 13:09 lpbonomi

I'm trying to use this plugin but it doesn't show on the tilemap. Is there any solution?

luvwinnie avatar Oct 17 '23 21:10 luvwinnie

We use this solution and can use the map on map viz [https://github.com/danielsnider/MapViz-Tile-Map-Google-Maps-Satellite]

juanimir25 avatar Oct 18 '23 13:10 juanimir25

This issue was fixed in https://github.com/swri-robotics/mapviz/pull/799 and https://github.com/swri-robotics/mapviz/pull/800 and can now be closed

agyoungs avatar Nov 20 '23 16:11 agyoungs