GithubHelp home page GithubHelp logo

autobahn test failures on tls about nbio HOT 9 CLOSED

lesismal avatar lesismal commented on May 22, 2024
autobahn test failures on tls

from nbio.

Comments (9)

acgreek avatar acgreek commented on May 22, 2024

You should update your top level readme to advertise the autobahn test success

from nbio.

lesismal avatar lesismal commented on May 22, 2024

Please confirm that you run autobahn test with the latest nbio. I run it and get this report, seems every test success for non-sticky-proxy server.
but some large message failed for the sticky-proxy server.

report-tls-sticky-failed.gz

The sticky-proxy helps to find out parsing bugs but may cost lots of time for the large message communication.
Since the failures are out of time as shown below, and it is successful in the test with non-sticky-proxy server, we may not need a sticky-proxy for the large messages test cases.
image

from nbio.

lesismal avatar lesismal commented on May 22, 2024

You should update your top level readme to advertise the autobahn test success

Good idea, thanks, updated it already, is it seems good? Or you can edit it to help!

from nbio.

acgreek avatar acgreek commented on May 22, 2024

Yeah, the newer tests run are not run against the sticky proxy. Instead they are run against Examples/websocket/server_autobahn

from nbio.

lesismal avatar lesismal commented on May 22, 2024

Yeah, the newer tests run are not run against the sticky proxy. Instead they are run against Examples/websocket/server_autobahn

are you sure that is using github.com/lesismal/llib v1.0.4, and whether it fails if run agian?

I run the test again and have not reproduced the failures:
report-2021-07-04.tar.gz

from nbio.

acgreek avatar acgreek commented on May 22, 2024

I'm running on a 3 year old macbook and the Makefile runs the nbio server in a docker container. It could be that the overhead of running docker on mac makes it just slow enough to fail.

from nbio.

acgreek avatar acgreek commented on May 22, 2024

Was reading the wrong report. Still could be mac book, though the wait time on some of these are pretty long. For example 9.1.5 is "Did not receive message within 100 seconds."

from nbio.

lesismal avatar lesismal commented on May 22, 2024

Was reading the wrong report. Still could be mac book, though the wait time on some of these are pretty long. For example 9.1.5 is "Did not receive message within 100 seconds."

Try with a larger ReadBufferSize , to see whether it goes better:

svrTLS := nbhttp.NewServerTLS(nbhttp.Config{
	Network:        "tcp",
	Addrs:          []string{"localhost:9999"},
	ReadBufferSize: 1024 * 1024,
}, mux, nil, tlsConfig)

from nbio.

acgreek avatar acgreek commented on May 22, 2024

that worked. Thanks

from nbio.

Related Issues (20)

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.