Giter Club home page Giter Club logo

knxmap's People

Contributors

l-y-n-x avatar maxxor avatar modir avatar takeshixx avatar uwedisch avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

croghostrider

knxmap's Issues

Deadlock after second "Tunnel connection timed out"

KNXmap is called via Bash script (/bin/bash):
knxmap -t -p 3671 --nat scan <ip-address> 1.1.1 --bus-info --omit-configuration-reads

The output is always at the end as shown below and then stucking (forever, at least some minutes):

<<<<<<<<<< [INCOMING] <<<<<<<<<<
[misc.py:40 -       trace_outgoing() ] [PACKET TRACE] KnxTunnellingAck source: None, port: None
>>>>>>>>>> [OUTGOING] >>>>>>>>>>
0x06 0x10 0x04 0x21 0x00 0x0A 0x04 0x01 
0x08 0x00 
>>>>>>>>>> [OUTGOING] >>>>>>>>>>
[tunnel.py:67 -   connection_timeout() ] Tunnel connection timed out
[misc.py:40 -       trace_outgoing() ] [PACKET TRACE] KnxDisconnectRequest source: 0.0.0.0, port: 0
>>>>>>>>>> [OUTGOING] >>>>>>>>>>
0x06 0x10 0x02 0x09 0x00 0x10 0x01 0x00 
0x08 0x01 0x00 0x00 0x00 0x00 0x00 0x00 
>>>>>>>>>> [OUTGOING] >>>>>>>>>>
[misc.py:40 -       trace_outgoing() ] [PACKET TRACE] KnxConnectionStateRequest source: 0.0.0.0, port: 0
>>>>>>>>>> [OUTGOING] >>>>>>>>>>
0x06 0x10 0x02 0x07 0x00 0x10 0x01 0x00 
0x08 0x01 0x00 0x00 0x00 0x00 0x00 0x00 
>>>>>>>>>> [OUTGOING] >>>>>>>>>>
^C^CTraceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/KNXmap-0.10.0-py3.8.egg/knxmap/main.py", line 237, in main
  File "/usr/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
    self.run_forever()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
    self._run_once()
  File "/usr/lib/python3.8/asyncio/base_events.py", line 1823, in _run_once
    event_list = self._selector.select(timeout)
  File "/usr/lib/python3.8/selectors.py", line 468, in select
    fd_event_list = self._selector.poll(timeout, max_ev)
KeyboardInterrupt

Same call without Bash script within plain Bash is working. Call is finished in plain Bash after about 45 seconds, within Bash script call was interrupted after about 2 minutes.

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.