Giter VIP home page Giter VIP logo

mapago's People

Contributors

hgn avatar monfron avatar

Watchers

 avatar  avatar  avatar

Forkers

monfron

mapago's Issues

server failed to operate - crashes

error message:

Closed network detected!
handleTcpConn goroutine called
panic: interface conversion: error is *errors.errorString, not *net.OpError

goroutine 35 [running]:
github.com/protocollabs/mapago/measurement-plane/tcp-throughput.(*TcpMsmtObj).tcpServerWorker(0xc000188000, 0xc000186120, 0xc0001860c0, 0x1b58, 0x1, 0xc00016c0f0, 0xc00018a1d0)                                                              
        /home/pfeifer/src/code/go/src/github.com/protocollabs/mapago/measurement-plane/tcp-throughput/server.go:149 +0x7bf                                                                                                                    
created by github.com/protocollabs/mapago/measurement-plane/tcp-throughput.NewTcpMsmtObj
        /home/pfeifer/src/code/go/src/github.com/protocollabs/mapago/measurement-plane/tcp-throughput/server.go:74 +0x382

Port Maparo Pulser to Mapago

After porting both implementation should behave compatible over the air - if not something strange happens: the protocol specification war not error free or an implementation bug.

Make install does not build

go install mapago-client.go 
go install: no install location for .go files listed on command line (GOBIN not set)

Why does it call go install? Should call go build ...

Please: wrote a full example in the README.md how to install and build the package. Inculding how to setup GOPATH. New users (not aware of go) should copy and paste the shell commands and execute them. At the end the executable should be generated.

README wrong

There is no wrong:

cd $GOPATH/github.com/protocollabs/mapago
/home/pfeifer/go/src/github.com/protocollabs/mapago
make install
go build -ldflags "-X github.com/protocollabs/mapago/core.BuildVersion=347e346 -X github.com/protocollabs/mapago/core.BuildDate=2019-03-11T15:26:54+0100" -o mapago cmd/mapago/mapago.go
stat cmd/mapago/mapago.go: no such file or directory
make: *** [Makefile:19: mapago] Error 1

Option for mapago

Just tiny cleanup:

mapago-client -ctrl-addr localhost -ctrl-protocol tcp -msmt-type tcp-throughput

should be

mapago-client -ctrl-addr localhost -ctrl-protocol tcp -module tcp-throughput

Build Failed

@yocto-master:~ $ go get github.com/protocollabs/mapago
# github.com/protocollabs/mapago
go/src/github.com/protocollabs/mapago/mapago-server.go:9:5: CTRL_PORT redeclared in this block
	previous declaration at go/src/github.com/protocollabs/mapago/mapago-client.go:15:5
go/src/github.com/protocollabs/mapago/mapago-server.go:10:5: DEF_BUFFER_SIZE redeclared in this block
	previous declaration at go/src/github.com/protocollabs/mapago/mapago-client.go:16:5
go/src/github.com/protocollabs/mapago/mapago-server.go:12:6: main redeclared in this block
	previous declaration at go/src/github.com/protocollabs/mapago/mapago-client.go:29:6

uuidgen failed

Cannot construct uuid exec: "uuidgen": executable file not found in $PATH

A program should never assume that some other program is installed. It should mentioned in the README that some other packages are required.

BUT: uuid should not be called externally, just use one of the many uuid go libraries, e.g. google uuid, and use these.

mapago will not be platform independent if external programs are used (e.g. how to install uuidgen in windows? uuidgen.exe?

QUIC: Handshake Timeout kills Server

  • Even after an unsuccesful handshake the client sends a msmt stop reply
  • this message tries to kill SERVER and ACCEPT sock => Error ACCEPT not up yet

Mapago does not build anymore

When I type make the following output:

go build -ldflags "-X github.com/protocollabs/mapago/core.BuildVersion=1cd2689 -X github.com/protocollabs/mapago/core.BuildDate=2019-01-11T21:28:56+0100" -o mapago cmd/mapago/mapago.go
stat cmd/mapago/mapago.go: no such file or directory
make: *** [Makefile:19: mapago] Error 1

Project does not build anymore

When I type make the following output:

go build -ldflags "-X github.com/protocollabs/mapago/core.BuildVersion=1cd2689 -X github.com/protocollabs/mapago/core.BuildDate=2019-01-11T21:28:56+0100" -o mapago cmd/mapago/mapago.go
stat cmd/mapago/mapago.go: no such file or directory
make: *** [Makefile:19: mapago] Error 1

Read and Understand Go Code

Probably irtt has some nice ideas for the rtt module, additionally it provides a nice way to learn go code:

Try to understand why a special go construct was used! Was it the best way, are there any better (read: extendable, better maintainable!) constructs?

Try to dig into the code!

Evaluation: Values used for Graph are not correct

The solution is also there: "du aber betrachtest dann doch die "in dieser runde" erhaltenen bytes (bytes_msmt_point - bytes_rx) aber zur gesamtzeit (datetime_min wird ziemlich sicher nicht kleiner als bei dem vorherigen datum" => wrong result

Do not build anymore

go build -ldflags "-X github.com/protocollabs/mapago/core.BuildVersion=7ccd5de -X github.com/protocollabs/mapago/core.BuildDate=2019-03-09T20:04:02+0100" mapago-server.go
go build -ldflags "-X github.com/protocollabs/mapago/core.BuildVersion=7ccd5de -X github.com/protocollabs/mapago/core.BuildDate=2019-03-09T20:04:02+0100" mapago-client.go
mapago-client.go:14:8: cannot find package "github.com/protocollabs/mapago/measurement-plane/tcp-tls-throughput" in any of:
	/usr/lib/go-1.11/src/github.com/protocollabs/mapago/measurement-plane/tcp-tls-throughput (from $GOROOT)
	/home/pfeifer/src/code/go/src/github.com/protocollabs/mapago/measurement-plane/tcp-tls-throughput (from $GOPATH)
make: *** [Makefile:21: mapago] Error 1

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.