Comments (4)
@leeyoung48 初步判断是你的设备开启了IPv6,把配置里的:1883改成0.0.0.0:1883或者127.0.0.1:1883试试,有问题再反馈,多谢。IPv6适配工作我们还没开展,以后安排。
from baetyl.
修改了localfunc的yml,还是一样的错误
~ # cat /usr/local/var/db/openedge/module/localfunc/module.yml
name: localfunc
hub:
address: tcp://0.0.0.0:1883
username: test
password: hahaha
rules:
- id: rule-e1iluuac1
subscribe:
topic: t
qos: 1
compute:
function: sayhi
publish:
topic: t/hi
qos: 1
functions: - id: func-nyeosbbch
name: 'sayhi'
runtime: 'python27'
handler: 'sayhi.handler'
codedir: 'var/db/openedge/module/func-nyeosbbch'
entry: "bin/openedge_function_runtime_python27.py"
env:
USER_ID: acuiot
instance:
min: 0
max: 100
timeout: 30s
logger:
path: var/log/openedge/localfunc/localfunc.log
console: true
level: "debug"
~ # cat /usr/local/var/db/openedge/module/localhub/module.yml
name: localhub
listen: - tcp://0.0.0.0:1883
principals: - username: 'test'
password: 'be178c0543eb17f5f3043021c9e5fcf30285e557a4fc309cce97ff9ca6182912'
permissions:- action: 'pub'
permit: ['#'] - action: 'sub'
permit: ['#']
subscriptions:
- action: 'pub'
- source:
topic: 't'
target:
topic: 't/topic'
logger:
path: var/log/openedge/localhub/localhub.log
console: true
level: "debug"
~ #
from baetyl.
@leeyoung48 我们没有海思的板子,一时调试不了,如果能拿到板子我们调试看看。
你可先测试一下本地Hub有没有正常启动,用MQTT Client工具(比如MQTT Box)连一下本地Hub试试。
from baetyl.
@leeyoung48
给一下开发部的参数信息,哪里买的海思开发板,能否给个淘宝或者官方商城的链接。
from baetyl.
Related Issues (20)
- baetyl中功能函数(.py)无法引入第三方依赖包问题 HOT 1
- gen.sh目录结构不对
- Failed to build
- Move key.public to github secret
- Makefile:24: recipe for target 'baetyl' failed HOT 2
- 新手教程 HOT 3
- SSL certificate expired for baetyl.io HOT 1
- GPU share的支持如何使用 HOT 1
- 关于baetyl 2.2 支持Edgex Foundry 的疑问 HOT 2
- baetyl应用使用私用镜像仓库凭证的问题 HOT 1
- 关于gpu监控功能 HOT 1
- 请问2.2版本,有关和edgex foundry集成的部分在哪里呢? HOT 1
- baetyl可以单独使用吗,不和baetyl-cloud结合,是否有相关操作文档 HOT 1
- 【咨询】当前项目是什么状态,是否可以继续使用?
- baetyl 开源版本和企业版本有什么区别?只是开源版本没有dashboard 其它都是提供了?需要自己实现dashboard? HOT 1
- 【咨询】有关最多支持的边缘节点数量疑问
- 【功能建议】deployment 增加策略选择选项
- Feature suggestion: Add image preloading functionality.
- service deployment fails
- 容器模式下 ssh 远程登录节点问题
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baetyl.