steakliu / blockchain-trace-fabric Goto Github PK
View Code? Open in Web Editor NEW基于区块链(fabric)农产品溯源平台
基于区块链(fabric)农产品溯源平台
node enrollAdmin.js
/root/blockchain-trace-fabric/blockchain-trace-bcnetwork/webapp/node_modules/@grpc/grpc-js/build/src/call-stream.js:26
const { HTTP2_HEADER_STATUS, HTTP2_HEADER_CONTENT_TYPE, NGHTTP2_CANCEL, } = http2.constants;
^
TypeError: Cannot match against 'undefined' or 'null'.
at Object. (/root/blockchain-trace-fabric/blockchain-trace-bcnetwork/webapp/node_modules/@grpc/grpc-js/build/src/call-stream.js:26:82)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)
at Module.require (module.js:513:17)
at require (internal/module.js:11:18)
at Object. (/root/blockchain-trace-fabric/blockchain-trace-bcnetwork/webapp/node_modules/@grpc/grpc-js/build/src/channel.js:19:23)
at Module._compile (module.js:569:30)
我用的是v8.10.0
Thank you to the author for providing the system platform and developing an asset traceability module based on it. Thank you very much
TypeError: a bytes-like object is required, not 'str'
调整为9000端口,相应的需要修改\blockchain-trace-pc\src\main.js,Vue.prototype.$httpUrl = "http://10.10.15.92:9000/route"; 这里的IP地址不能用localhost,必须是显性的区块链网络服务器IP地址
使用的复查询函数GetQueryResult() 只是对状态数据库进行查询,而状态数据库是可以进行增删查改的,所以不能作为溯源的依据。应该对区块进行溯源
检测到 steakliu/blockchain-trace-fabric 一共引入了23个开源组件,存在2个漏洞
漏洞标题:Apache Commons Beanutils 代码问题漏洞
缺陷组件:commons-beanutils:[email protected]
漏洞编号:CVE-2019-10086
漏洞描述:Apache Commons Beanutils是美国阿帕奇(Apache)基金会的一款提供可操作JavaBean的工具类的软件包。
Apache Commons Beanutils 1.9.2版本中存在代码问题漏洞。攻击者可利用该漏洞执行任意代码/命令。
国家漏洞库信息:https://www.cnvd.org.cn/flaw/show/CNVD-2019-42779
影响范围:[1.9.2, 1.9.4)
最小修复版本:1.9.4
缺陷组件引入路径:com.ruoyi:[email protected]>com.github.tobato:[email protected]>commons-beanutils:[email protected]
另外还有2个漏洞,详细报告:https://mofeisec.com/jr?p=i1fb25
crops ["6990927934059974656","6990927934064168960","ww","1","若依","qq","大棚种植","套袋","11","1","11","11","1","2022-10-26 14:51:44","11","15888888888"]
Successfully loaded user1 from persistence
tx_id
transaction proposal was bad
第一次基于java进行区块链的开发 请问大佬可否对我进行一些有偿指导 qq 95273844
**1,**eclipse导入工程blockchain-trace-basic-data,配置好数据库和redis,启动,没有任何问题
19:19:42.455 [restartedMain] INFO c.r.RuoYiApplication - [logStarted,59] - Started RuoYiApplication in 10.498 seconds (JVM running for 11.257)
(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡლ)゙ .-------. ____ __ | _ _ \ \ \ / / | ( ' ) | \ _. / ' |(_ o _) / _( )_ .' | (_,_).' __ ___(_ o _)' | |\ \ | || |(_,_)' | | \
' /| -' / | | \ / \ / ''-'
'-' `-..-'
19:19:43.450 [Quartz Scheduler [RuoyiScheduler]] INFO o.q.c.QuartzScheduler - [start,547] - Scheduler RuoyiScheduler_$_DESKTOP-IRV3LAP1648811980043 started.
19:21:15.228 [http-nio-8080-exec-1] INFO o.a.c.c.C.[.[.[/] - [log,173] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2, 本地启动浏览器 访问 http://localhost:8080/
报错
{"msg":"请求访问:/,认证失败,无法访问系统资源","code":401}
Successfully loaded user1 from persistence
Failed to query successfully :: Error: 2 UNKNOWN: identity expired
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.