Code Monkey home page Code Monkey logo

acars_router's People

Contributors

dependabot[bot] avatar fredclausen avatar github-actions[bot] avatar jcdeimos avatar kx1t avatar mikenye avatar rpatel3001 avatar wiedehopf avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

acars_router's Issues

Not seeing HFDL messages or verification of listening

I have been trying to debug why HFDL is not being seen by the acars_router and it doesn't seem to be listening.

Here is the docker output :

  from distutils.util import strtobool

2024-03-26 18:54:50 [INFO] [acars_router.core] serving ACARS on TCP port 15550
2024-03-26 18:54:50 [INFO] [acars_router.core] serving VDLM2 on TCP port 15555
2024-03-26 18:54:50 [INFO] [acars_router.core] serving ACARS via ZMQ over TCP, port: 45550
2024-03-26 18:54:50 [INFO] [acars_router.core] serving VDLM2 via ZMQ over TCP, port: 45555
2024-03-26 18:54:50 [INFO] [acars_router.core] sending ACARS via UDP to acarshub:5550
2024-03-26 18:54:50 [INFO] [acars_router.core] sending VDLM2 via UDP to acarshub:5555
2024-03-26 18:54:50 [INFO] [acars_router.core] Listening for ACARS UDP on port 5550
2024-03-26 18:54:50 [INFO] [acars_router.core] Listening for ACARS TCP on port 5550
2024-03-26 18:54:50 [INFO] [acars_router.core] Listening for VDLM2 UDP on port 5555
2024-03-26 18:54:50 [INFO] [acars_router.core] Listening for VDLM2 TCP on port 5555

And here is the compose file :

 container_name: acars_router
 hostname: acars_router
 image: ghcr.io/sdr-enthusiasts/acars_router:latest_nohealthcheck
 restart: ${RESTART}
 depends_on:
   - acarsdec
   - vdlm2dec
 environment:
   - AR_ENABLE_DEDUPE=true
   - AR_LISTEN_UDP_ACARS=5550
   - AR_LISTEN_TCP_ACARS=5550
   - AR_LISTEN_UDP_VDLM2=5555
   - AR_LISTEN_TCP_VDLM2=5555
   - AR_LISTEN_UDP_HFDL=5556
   - AR_LISTEN_TCP_HFDL=5556
   - AR_SEND_UDP_ACARS=acarshub:5550
   - AR_SEND_UDP_HFDL=acarshub:5556
   - AR_SEND_UDP_VDLM2=acarshub:5555
   - AR_STATS_EVERY=30
   - AR_STATS_VERBOSE=true
   - TZ=${FEEDER_TZ}
 tmpfs:
   - /run:exec,size=64M
   - /var/log

I know that the router is working since ACARS and VDLM messages get routed accordingly but in the HFDL container i see the logs saying there were messages but the router seems to ignore / block.

Any help would rock!!

[Question] Python implementation vs Rust?

I assume there is a version in Python and a newer one in Rust. Since I couldn't read anything about this, I wonder why the project was rewritten in Rust? Is the Python version less stable or missing important features? Thank you!

Remove the necessity to include all binaries in the docker image

Ideally during the build phase we test and include only the appropriate binary for the architecture, if for no other reason than to save some space on the download. I am thinking the best way to accomplish this would be:

  • Copy all binaries in as well do now
  • Run a script that emulates the startup checks done presently, and if one passes remove the other binaries and rename the good one to acars_router

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.