GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.17k stars 436 forks source link

Gns3 Crashes when zooming/moving the canvas in bigger topologies #3453

Open Pleonazm opened 1 year ago

Pleonazm commented 1 year ago

Describe the bug After the topology is loaded, zooming or panning the canvas in topology crashes GNS3 Message on the console dock/alert window: Timeout error for PUT call to http://127.0.0.1:3080/v2/compute/projects/d444ef1c-cd37-4dd9-99db-a9a2cbc51a14 after 20s

Can't say if this is a problem with the GUI or the server.

GNS3 version and operating system (please complete the following information): GNS3: 2.2.38 Client: Windows 11 Pro, Standalone GUI Server: Separate physical server, Ubuntu 20.04 directly installed, fully updated Logs also included in the community post

To Reproduce Steps to reproduce the behavior:

  1. Load a big topology
  2. Start zooming, moving the canvas with a mouse

Additional context Community link: https://gns3.com/community/support/problem-with-big-topologies

Logs Logs from the server (/var/log/gns3/) The raw log file, and split into parts Part 1 is starting gns3/loading topology Part 2 is after I start moving the mouse/zooming etc

gns3.log gns3_log_part1.txt gns3_log_part2.txt

bmcgahan commented 7 months ago

@grossmj is there any update or hotfix that can be applied to workaround this issue? I have a number of topologies that crash when you zoom in/out, and I can't figure out any settings that affect it.

image

JKPla commented 1 month ago

My band-aid fix for this was to increase the timeout value in /usr/share/gns3/gns3-server/lib/python3.10/site-packages/gns3server/controller/compute.py method _run_http_query.