Giter VIP home page Giter VIP logo

check_xmpp's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

check_xmpp's Issues

check can login but cant read the message

Env

  • Rasbian 8.0
  • go version go1.3.3 linux/arm
  • xmpp ejabberd-17.12

I create a special account on my server for monitoring tasks. I can login into this account with the conversation app on android.

When I try to execute a check my conversation app on android is killed and the check is running into a timeout.
Any ideas?

./check_xmpp -timeout 15s -userid [email protected] -password secret -debug
2018/02/17 10:48:01 XMPP check starting ...
2018/02/17 10:48:01 Remote host: chat.caserio.de.
2018/02/17 10:48:01 Connecting to XMPP host chat.caserio.de. ...
2018/02/17 10:48:02 Authentication successful
2018/02/17 10:48:02 XMPP stream is established
2018/02/17 10:48:02 Sending message ...
2018/02/17 10:48:02 Waiting for message to arrive ...
CRITICAL - Timeout

index out of range

./check_xmpp -userid [email protected] -password supersecretpwd
panic: runtime error: index out of range

goroutine 1 [running]:
main.(*XMPPStream).Establish(0xc42000e280)
/home/thomas/Nextcloud/Code/Go/src/github.com/ThomasLeister/check_xmpp/check_xmpp.go:110 +0x18a2
main.main()
/home/thomas/Nextcloud/Code/Go/src/github.com/ThomasLeister/check_xmpp/check_xmpp.go:352 +0x3ab

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.