GNS3 / gns3-server

GNS3 server
GNU General Public License v3.0
796 stars 262 forks source link

Cannot connect to compute anymore GNS3 3.0.0 RC1 #2411

Open cristian-ciobanu opened 1 month ago

cristian-ciobanu commented 1 month ago

Describe the bug After upgrading GNS3 to version 3.0.0RC1 I cannot load any existing topology created in earlier 3.0.0 versions.

GNS3 version and operating system (please complete the following information):

OS: ArchLinux GNS3 version: 3.0.0 RC1 GNS3 server and GUI are running on same machine (bare metal)

To Reproduce Steps to reproduce the behavior:

  1. Start GNS3 systemd service. This completes successfully and I see the server is running
  2. Start GNS3 client. I see on the GNS3 console that the authentication from GUI is successful.
POST http://127.0.0.1:8080/v3/access/users/authenticate
Authenticated with controller 127.0.0.1 on port 8080
GET http://127.0.0.1:8080/v3/templates
  1. Try to open an existing project. The following warning message is shown: Cannot connect to compute 'ARCH-DESKTOP (controller)' with request POST /projects

  2. In the GNS3 server log I see these messages repeating multiple times

2024-08-13 10:55:09 INFO gns3server.controller.compute:370 Connecting to compute 'local'
2024-08-13 10:55:09 DEBUG gns3server.controller.compute:528 Attempting request to compute: GET ServerProtocol.http://127.0.0.1:8080/v3/compute/capabilities {'content-type': 'application/json'}
2024-08-13 10:55:09 WARNING gns3server.controller.compute:375 Cannot connect to compute 'local': serverprotocol.http://127.0.0.1:8080/v3/compute/capabilities
2024-08-13 10:55:11 DEBUG watchfiles.main:265 rust notify timeout, continuing
grossmj commented 1 month ago

Please can you let me know what version of aiohttp is installed? thanks.

cristian-ciobanu commented 1 month ago

I have aiohttp version 3.10.3 installed.

grossmj commented 1 month ago

Please try to downgrade to version 3.9.5.

This is what we have in the requirements.txt file:

aiohttp>=3.9.5,<3.10

Thanks.

cristian-ciobanu commented 1 month ago

I have downgraded back to 3.9.5 and now the projects load fine. Thanks for pointing me in the right direction.

grossmj commented 2 days ago

We need to add support for the latest aiohttp