Giter Site home page Giter Site logo

nanopack / mist Goto Github PK

View Code? Open in Web Editor NEW
665.0 21.0 48.0 326 KB

A distributed, tag-based pub-sub service for modern web applications and container-driven cloud.

License: MIT License

Go 98.19% Shell 1.81%
golang pub-sub nanobox tcp-client websocket-client messaging developer-tools devtools nanopack

mist's Introduction

nanopack

Hub for nanopack resources and content

mist's People

Contributors

bojand avatar codelingobot avatar cvan avatar glinton avatar jasonetco avatar jshawl avatar lyondhill avatar rambatino avatar saromanov avatar sdomino avatar tolmark12 avatar tylerflint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mist's Issues

Mist logs spam too much

Mist logs all messages to its log with INFO verbosity, this should be trace

Thu Nov 17 15:42:28 2016 web.main (puma[daemon]) ::  Puma starting in single mode...
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) ::  [mist] INFO  Got message - mist.Message{Command:"publish", Tags:[]string{"app", "debug", "error", "info", "log", "puma[daemon]", "trace", "warn", "web.main"}, Data:"{\"time\":\"\",\"utime\":1479397348752822103,\"id\":\"web.main\",\"tag\":\"puma[daemon]\",\"type\":\"app\",\"priority\":4,\"message\":\" Puma starting in single mode...\"}", Error:""}
Thu Nov 17 15:42:28 2016 web.main (puma[daemon]) ::  * Version 3.6.0 (ruby 2.3.1-p112), codename: Sleepy Sunday Serenity
Thu Nov 17 15:42:28 2016 web.main (puma[daemon]) ::  * Min threads: 5, max threads: 5
Thu Nov 17 15:42:28 2016 web.main (puma[daemon]) ::  * Environment: development
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) ::  [mist] INFO  Got message - mist.Message{Command:"publish", Tags:[]string{"app", "debug", "error", "info", "log", "puma[daemon]", "trace", "warn", "web.main"}, Data:"{\"time\":\"\",\"utime\":1479397348754077536,\"id\":\"web.main\",\"tag\":\"puma[daemon]\",\"type\":\"app\",\"priority\":4,\"message\":\" * Min threads: 5, max threads: 5\"}", Error:""}
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) ::  [mist] INFO  Got message - mist.Message{Command:"publish", Tags:[]string{"app", "debug", "error", "info", "log", "mist", "mist[daemon]", "trace", "warn"}, Data:"{\"time\":\"\",\"utime\":1479397348757072005,\"id\":\"mist\",\"tag\":\"mist[daemon]\",\"type\":\"app\",\"priority\":4,\"message\":\" [mist] INFO  Got message - mist.Message{Command:\\\"publish\\\", Tags:[]string{\\\"app\\\", \\\"debug\\\", \\\"error\\\", \\\"info\\\", \\\"log\\\", \\\"puma[daemon]\\\", \\\"trace\\\", \\\"warn\\\", \\\"web.main\\\"}, Data:\\\"{\\\\\\\"time\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"utime\\\\\\\":1479397348752822103,\\\\\\\"id\\\\\\\":\\\\\\\"web.main\\\\\\\",\\\\\\\"tag\\\\\\\":\\\\\\\"puma[daemon]\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"app\\\\\\\",\\\\\\\"priority\\\\\\\":4,\\\\\\\"message\\\\\\\":\\\\\\\" Puma starting in single mode...\\\\\\\"}\\\", Erro
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) :: :\\\"\\\"}\"}", Error:""}
Thu Nov 17 15:42:28 2016 mist (mist[daemon]) ::  [mist] INFO  Got message - mist.Message{Command:"publish", Tags:[]string{"app", "debug", "error", "info", "log", "puma[daemon]", "trace", "warn", "web.main"}, Data:"{\"time\":\"\",\"utime\":1479397348753647967,\"id\":\"web.main\",\"tag\":\"puma[daemon]\",\"type\":\"app\",\"priority\":4,\"message\":\" * Version 3.6.0 (ruby 2.3.1-p112), codename: Sleepy Sunday Serenity\"}", Error:""}

mist crash dump

github.com/nanopack/mist/server.handleConnection.func1(0xc4203679a0, 0xc4203679f0, 0xc42004eba0)
/go/src/github.com/nanopack/mist/server/tcp.go:71 +0x8fcreated by github.com/nanopack/mist/server.handleConnection/go/src/github.com/nanopack/mist/server/tcp.go:81 +0x572 goroutine 383 [select]:goroutine 382 [running]:runtime.throw(0x89186d, 0x15)
/go/src/runtime/panic.go:566 +0x95 fp=0xc4203e0ca8 sp=0xc4203e0c88runtime.mapassign1(0x816da0, 0xc4202f56b0, 0xc4203e0ef8, 0xc4203e0ea8)github.com/nanopack/mist/core.(*Proxy).handleMessages(0xc420481680)
/go/src/github.com/nanopack/mist/core/proxy.go:62 +0x2cf/go/src/runtime/hashmap.go:458 +0x8ef fp=0xc4203e0d90 sp=0xc4203e0ca8github.com/nanopack/mist/server.handleConnection(0xa76f20, 0xc4200203d8, 0xc42004eba0)
/go/src/github.com/nanopack/mist/server/tcp.go:118 +0xed6 fp=0xc4203e0f98 sp=0xc4203e0d90runtime.goexit()
/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc4203e0fa0 sp=0xc4203e0f98created by github.com/nanopack/mist/server.StartTCP.func1/go/src/github.com/nanopack/mist/server/tcp.go:45 +0x80 goroutine 1 [chan receive]:github.com/nanopack/mist/server.Start(0xc420234c80, 0x2, 0x2, 0xc42000a7c0, 0x32, 0xc4200d60e0, 0x8883d5)
/go/src/github.com/nanopack/mist/server/server.go:102 +0x3abgithub.com/nanopack/mist/commands.start(0xa90000, 0xc4201ad5f0, 0x0, 0x3, 0x0, 0x0)
/go/src/github.com/nanopack/mist/commands/commands.go:88 +0x220github.com/spf13/cobra.(*Command).execute(0xa90000, 0xc42000a110, 0x3, 0x3, 0xa90000, 0xc42000a110)
/go/src/github.com/spf13/cobra/command.go:599 +0x234github.com/spf13/cobra.(*Command).ExecuteC(0xa90000, 0x1, 0xc4201fdf28, 0x40411b)
/go/src/github.com/spf13/cobra/command.go:689 +0x367github.com/spf13/cobra.(*Command).Execute(0xa90000, 0x46ebad, 0xc42006a630)
/go/src/github.com/spf13/cobra/command.go:648 +0x2bmain.main()
/go/src/github.com/nanopack/mist/main.go:11 +0x31 goroutine 17 [runnable]:net.runtime_pollWait(0x7f89711faf00, 0x72, 0x0)
/go/src/runtime/netpoll.go:160 +0x59net.(*pollDesc).wait(0xc420242060, 0x72, 0xc42001de48, 0xc420010150)
/go/src/net/fd_poll_runtime.go:73 +0x38net.(*pollDesc).waitRead(0xc420242060, 0xa71540, 0xc420010150)created by github.com/nanopack/mist/core.(*Proxy).connect/go/src/net/fd_poll_runtime.go:78 +0x34net.(*netFD).accept(0xc420242000, 0x0, 0xa6fd80, 0xc42023dd80)
/go/src/net/fd_unix.go:419 +0x238net.(*TCPListener).accept(0xc420246000, 0x43171e, 0xc42001def8, 0x4cdc20)
/go/src/net/tcpsock_posix.go:132 +0x2e/go/src/github.com/nanopack/mist/core/proxy.go:48 +0x73net.(*TCPListener).Accept(0xc420246000, 0x8ca610, 0xa76f20, 0xc4202462c0, 0xc42004eba0)
/go/src/net/tcpsock.go:222 +0x49github.com/nanopack/mist/server.StartTCP.func1(0xa74340, 0xc420246000, 0xc42004eba0)

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.