Comments (10)
我之前用的版本是fastdfs5.11这套代码没问题,现在升级到6.11 就会出现这样的报错
from fastdfs.
这个是 fastdfs-clint-java 1.31版本的问题,回退回1.30或者更早版本就好了
from fastdfs.
server 端使用 V6.11,fastdfs-clint-java需要使用最新的 V1.31
from fastdfs.
服务器端使用V6.11,fastdfs-clint-java需要使用最新的V1.31
按照此修复了代码,已修复,谢谢
from fastdfs.
server 端使用 V6.11,fastdfs-clint-java需要使用最新的 V1.31
大佬,python的客户端 fdfs-client-py3==1.0.0 也报这个错误,求教如何解决。
from fastdfs.
为了支持IPv6,返回的IP地址长度由16增大到 46,C client API 和 Java client SDK均已更新。
需要把FDFS的python SDK升级一下。
from fastdfs.
为了支持IPv6,返回的IP地址长度由16增大到 46,C client API 和 Java client SDK均已更新。 需要把FDFS的python SDK升级一下。
还请大佬解答一下新sdk的包名。
from fastdfs.
@condywl Python可用这个fastdfs-client-python
Usage::
from fastdfs_client import FastdfsClient # pip install fastdfs-client
tracker_conf_path = "./tracker.conf" # tracker配置文件的地址
client = FastdfsClient(tracker_conf_path)
ret = client.upload_by_filename('kitty.jpg') # 本地文件路径
print(ret)
from fastdfs.
FDFS 通信协议中涉及 IP 地址的地方,长度由之前的 16 改为 46 了。
请在 client SDK 中做相应修改即可。
from fastdfs.
FDFS 通信协议中涉及 IP 地址的地方,长度由之前的 16 改为 46 了。 请在 client SDK 中做相应修改即可。
感谢大神的耐心解答~
修改fdfs_client/fdfs_protol.py中的IP_ADDRESS_SIZE后报错就修复了,其他人如果也遇到这个报错,可以用下面的命令来升级Python版fdfs_client SDK,从而无需修改代码
pip install 'git+https://github.com/waketzheng/[email protected]#egg=fdfs-client'
from fastdfs.
Related Issues (20)
- 调用storageClient.upload_file(bytes, extension, null)方法有时会返回null HOT 4
- 关于nginx module的问题
- when upload file comes recvStorageInfo pkgLen 70 invaild HOT 7
- protocol format error HOT 6
- 部署完毕后通过返回的ID在外部浏览器访问无法打开网页 HOT 1
- fastdfs V6.12.1 make error HOT 1
- fdfs部署 服务器配置问题请教,swap 内存是否需要关闭 ? HOT 2
- FastDFS CPU负载持续100% HOT 2
- 分布式部署,较高频率出现上传之后下载内容为空 HOT 4
- 你要通过标准的API 下载,下载时不要自己指定 storage server。
- FastDFS文件同步 HOT 1
- 在无需使用双IP的环境中是否有必要配置storage_ids? HOT 1
- storage节点的binlog不更新
- fastdfs 5.11文件下载问题
- aarch64容器内启动失败问题 HOT 3
- fastdfs集群,各节点文件是否一致如何查看?我查看total_upload_count是不一致的 HOT 1
- fastdfs集群容量问题 HOT 3
- 通过外网地址上传文件时,tracker.service.c, line1289 报错
- storage服务宕机 HOT 1
- 版本:5.05, 集群最近扩容一台storage节点,tracker上显示一直为syncing状态,但是扩容节点并没有进行数据同步日志也没有报错[操作方式问题]
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 fastdfs.