netsec-ethz / scion-apps

Public repository for SCION applications
Apache License 2.0
20 stars 43 forks source link

bat - error looking for SCION dispatcher socket #257

Closed thomasgruebl closed 1 month ago

thomasgruebl commented 1 month ago

Hi,

I've successfully set up and configured two SCION ASes, and I can ping them, exchange sensor data using the scion-sensorfetcher, and I can test the bandwidth with the scion-bwtestclient. However, scion-bat does not seem to work properly. Whenever I try to get data from my server using the following command:

scion-bat https://<my_other_AS>,127.0.0.1/home

I get an error saying:

Screenshot 2024-09-22 at 17 34 22

The local directory /run/shm/dispatcher does indeed not exist. Do you know if I'm missing a configuration step?

All scion services are running properly:

Screenshot 2024-09-22 at 17 28 13

Thanks for your help!

Best,

Thomas

JordiSubira commented 1 month ago

Hello Thomas, it seems that you are running an old version of the scion-bat binary. In principle, the latest version should work with the new scionlab binaries.

$ sudo apt show scion-apps-bat
Package: scion-apps-bat
Version: 3.5.2
Built-Using: Bazel
Priority: optional
Section: net
Maintainer: ETH Zurich, SCIONLab Team <scionlab-admins@sympa.ethz.ch>
Installed-Size: unknown
Depends: scion-daemon, scion-dispatcher
Homepage: https://www.scion-architecture.net
Download-Size: 28.6 MB
APT-Manual-Installed: yes
APT-Sources: https://packages.netsec.inf.ethz.ch/debian all/main amd64 Packages
Description: SCION/QUIC-enabled fork of bat, which is a curl-like tool
 for interacting with webservers

You can run

sudo apt-get update
sudo apt install scion-apps-*
thomasgruebl commented 1 month ago

Hi,

thanks for your swift response. I have tried that but it didn't work.

Also, I'm on arm64 and apparently the latest version that I can pull for arm64 is 3.5.1 and not 3.5.2.

Do you think this could be an issue?

Package: scion-apps-bat Version: 3.5.1 Built-Using: Bazel Priority: optional Section: net Maintainer: ETH Zurich, SCIONLab Team <scionlab-admins@sympa.ethz.ch> Installed-Size: unknown Depends: scion-daemon, scion-dispatcher Homepage: https://www.scion-architecture.net Download-Size: 21.6 MB APT-Manual-Installed: yes APT-Sources: https://packages.netsec.inf.ethz.ch/debian all/main arm64 Packages Description: SCION/QUIC-enabled fork of bat, which is a curl-like tool for interacting with webservers

Thanks,

Thomas

JordiSubira commented 1 month ago

Hello,

At least I would expect you have some other problem with that version, but not the one you were seeing here

Hi,

I've successfully set up and configured two SCION ASes, and I can ping them, exchange sensor data using the scion-sensorfetcher, and I can test the bandwidth with the scion-bwtestclient. However, scion-bat does not seem to work properly. Whenever I try to get data from my server using the following command:

scion-bat https://<my_other_AS>,127.0.0.1/home

I get an error saying:

Screenshot 2024-09-22 at 17 34 22

The local directory /run/shm/dispatcher does indeed not exist. Do you know if I'm missing a configuration step?

All scion services are running properly:

Screenshot 2024-09-22 at 17 28 13

Thanks for your help!

Best,

Thomas

For more interactive feedeback, we can use our Elements public room for SCION developers. https://matrix.to/#/#dev:matrix.scion.org. Feel free to follow up there.

JordiSubira commented 1 month ago

We updated version 3.5.2 also for arm64 which solves the issue.