Git Product home page Git Product logo

app-httpreply's Issues

kraft run on WSL2, no route

I run these command on my WSL2 Ubuntu 20.04

$ sudo brctl addbr virbr0
$ sudo ip a a 172.44.0.1/24 dev virbr0
$ sudo ip l set dev virbr0 up

When I run " kraft run -b virbr0 "netdev.ipv4_addr=172.44.0.2 netdev.ipv4_gw_addr=172.44.0.1 netdev.ipv4_subnet_mask=255.255.255.0 --" " on my WSL2

after boot ,I wun "wget http://172.44.0.2:8123/"

it print:

 Connecting to 172.44.0.2:8123... failed: No route to host.

but how can I config the route on my WSL2?

Unable to run the http server

I tried all the given steps and also the steps listed in the 2021 Summer internship first lecture but unable to start the unikernal. Build was successful but when running, I always get the following error:
image

I also tried running with qemu-system but that returned bridge not found error. I am struggling with this for weeks now.

Thanks in advance.

App Does not read assigned ip address when run on xen hypervisor

I compiled this app for xen hypervisor and it runs well but unfortunately I can't be able to perform any requests on it as it does not seem to take up the IP address I assign to it.

Here is a copy of my xen configuration file

name          = "httpreply"
vcpus         = "1"
memory        = "64"
kernel        = "./build/app-httpreply_xen-x86_64"
vif	      = [ 'bridge=virbr0,mac=aa:bb:cc:dd:ee:ff,ip=172.44.0.2/24,gatewaydev=en0' ]

How can I make the kernel take this IP so I can perform the wget successfully?

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.