Giter VIP home page Giter VIP logo

cbj_remote-pipes's Introduction

Hello and welcome to CyBear Jinni ๐Ÿฆพ๐Ÿป๐Ÿงžโ€โ™‚๏ธ

Our goal here is to raise the quality of life for everyone and make the world a better place to live in.

We are starting this by making Smart-Home ๐Ÿก more affordable and accessible for the common person.

Our code is open source so that even you can have control of your Smart-Home, and by that we give the people the power to control their technological future๐Ÿ”ฎ๐ŸŒŒ.

cbj_remote-pipes's People

Contributors

eilaydev avatar guyluz11 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

cbj_remote-pipes's Issues

Error in hub after app is being terminated

After a remote pipes connection got establish both by app and hub closing the app return this error in the hub:

Stream getFromApp have error gRPC Error (code: 1, codeName: CANCELLED, message: Cancelled, details: [], rawResponse: null, trailers: {})

And vice versa

After a remote pipes connection got establish both by app and hub closing the hun return this error in the app:

[ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: gRPC Error (code: 1, codeName: CANCELLED, message: Cancelled, details: [], rawResponse: null, trailers: {})

Another effect other than the error that I found:
If two apps and hub connect with the remote pipes and one of the apps got close than the communication between the remaining app the the hub will break and the error will appear in the hub.

Make it work on remote server

Docker and Kubernetes scripts are needed for this repo to work in a remote server like linode.

All requests sent to single domain and need to be routed.
For remote pipes to work all the requests from clients in the same home (not physically) need to be sent to the same Kubernetes pod all the time.

We prefer pod per home and not pod per client since this will create another security layer between homes and will be easier to create to work with remote pipes.

This is for issue require only DevOps skills

image

Update dependencies

Please update all project dependencies to the last version.

If the project gets compiled I will probably accept the pr.

Make sure to fork and pr to dev branch

Add Dockerfile to the project

I order to deploy this program in Kubernetes a Dockerfile with the instructions on how to build the image is needed.

Please create Dockerfile that compiles the program into aot (exe file) and craete image as small as possible.

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.