Code Monkey home page Code Monkey logo

Comments (8)

GIC-de avatar GIC-de commented on September 6, 2024 1

This means that socket communication between Blaster and Controller failed but I'm actually unable to reproduce this with those version. You can enter the test directory manually and execute the command to see if the issue is here:

cd /var/bngblaster/start-single-dualstack-iana-dhcp-iapd-dhcp-ipoe-dhcpv4-nat-qinq-qinq/
sudo bngblaster-cli run.sock session-counters

from bngblaster-controller.

GIC-de avatar GIC-de commented on September 6, 2024

Which BNG Blaster version is used?

from bngblaster-controller.

xuoguoto avatar xuoguoto commented on September 6, 2024

Which BNG Blaster version is used?

bngblaster-0.8.41-ubuntu-22.04_amd64.deb

from bngblaster-controller.

xuoguoto avatar xuoguoto commented on September 6, 2024

Just a quick ping! Any thing can be done from my side to identify what could be wrong here?

from bngblaster-controller.

xuoguoto avatar xuoguoto commented on September 6, 2024

In the cases where this error happens the directory listing is as follows:

# ls
config.json  run.json  run.log  run.pcap  run.pid  run.s  run.stderr  run.stdout

The socket name is just run.s. I can use the command given on run.s and getting expected output. In the cases where it's working as expected, the name is run.sock:

# ls
config.json  run.json  run.log  run.pcap  run.pid  run.sock  run.stderr  run.stdout

from bngblaster-controller.

GIC-de avatar GIC-de commented on September 6, 2024

What is your base operating system (ubuntu 22.04, ...)?

The file is actually handover as argument -S run.sock to the BNG Blaster:

params = append(params, "-S", path.Join(folder, RunSockFilename))

The BNG Blaster is than using this filename here to open the socket:

https://github.com/rtbrick/bngblaster/blob/3b9bf5657355f53e6ee0e523a305f736ee3cd658/code/bngblaster/src/bbl_ctrl.c#L510

You should see a log message to verify the path is given correctly.

https://github.com/rtbrick/bngblaster/blob/3b9bf5657355f53e6ee0e523a305f736ee3cd658/code/bngblaster/src/bbl_ctrl.c#L541C1-L542C1

I never seen such an issue, but may be caused by your long instance name. Maybe you can try with a much shorter instance name:

start-single-dualstack-iana-dhcp-iapd-dhcp-ipoe-dhcpv4-nat-qinq-qinq <<<< maybe to long

from bngblaster-controller.

xuoguoto avatar xuoguoto commented on September 6, 2024

What is your base operating system (ubuntu 22.04, ...)?

Yes, Ubuntu 22.04.4 LTS

start-single-dualstack-iana-dhcp-iapd-dhcp-ipoe-dhcpv4-nat-qinq-qinq <<<< maybe to long

Yes, will attempt that and let you know.

from bngblaster-controller.

xuoguoto avatar xuoguoto commented on September 6, 2024

After reducing the instance name to short string, this issue has not been reproduced so far. I think this ticket can be closed. I will get back if this happens again in future.

Thanks for your support!

from bngblaster-controller.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.