Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid character 'P' looking for beginning of value,invalid character 'P' looking for beginning of value #460

Open
cd-cd-cd opened this issue Oct 17, 2024 · 10 comments

Comments

@cd-cd-cd
Copy link

当我上传一个260G的文件的时候报这个错误

@jackgo2080
Copy link

parse file create result json error invalid character 'P' looking for beginning of value
我也遇到了一样的问题

@xiaoyaofenfen
Copy link
Collaborator

这个基本是阿里那边风控了。你可以开启debug看看日志,然后贴上来看看

@yangn0
Copy link

yangn0 commented Oct 22, 2024

我也遇到了一样的问题
image

@xiaoyaofenfen
Copy link
Collaborator

我也遇到了一样的问题 image

可以打开debug日志,然后看看报的是啥错

@yangn0
Copy link

yangn0 commented Oct 25, 2024

我也遇到了一样的问题 image

可以打开debug日志,然后看看报的是啥错

yangn0@yangning-n5105:~/disk500G/nextcloudBackups$ ~/aliyunpan/aliyunpan --verbose upload /home/yangn0/disk500G/nextclou
dBackups/nextcloud-1729458001.tgz /NASbackups/nextcloudBackups

[0] 当前文件上传最大并发量为: 10, 上传分片大小为: 10.00MB
[2024-10-25 21:32:46.901] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/get_by_path
[2024-10-25 21:32:46.969] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:46.986] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:46.987] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:46.987] use config dir:  /home/yangn0/aliyunpan
[1] 加入上传队列: /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz
[1] 2024-10-25 21:32:24 准备上传: /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz => /NASbackups/nextcloudBackups/nextcloud-1729458001.tgz
[2024-10-25 21:32:46.988] [1] 2024-10-25 21:32:24 准备结束, 准备耗时 0秒
[1] 2024-10-25 21:32:24 正在检测和创建云盘文件夹: /NASbackups/nextcloudBackups
[2024-10-25 21:32:46.988] file path cache hit:  /NASbackups/nextcloudBackups
[2024-10-25 21:32:49.989] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/create
[2024-10-25 21:32:50.149] PreHash not match, upload file directly
[2024-10-25 21:32:50.149] resize upload block size to: 21.41MB
[2024-10-25 21:32:50.153] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/create
[2024-10-25 21:32:50.276] parse file create result json error  invalid character 'P' looking for beginning of value
[1] 2024-10-25 21:32:24 文件上传结果: 失败!创建上传任务失败:invalid character 'P' looking for beginning of value,invalid character 'P' looking for beginning of value 耗时 3秒
[2024-10-25 21:32:50.276] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:50.277] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:50.277] 插件UploadFileFinishCallback调用成功

上传结束, 时间: 3秒, 数据总量: 0B
以下文件上传失败:
  1  /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz

@xiaoyaofenfen
Copy link
Collaborator

我也遇到了一样的问题 image

可以打开debug日志,然后看看报的是啥错

yangn0@yangning-n5105:~/disk500G/nextcloudBackups$ ~/aliyunpan/aliyunpan --verbose upload /home/yangn0/disk500G/nextclou
dBackups/nextcloud-1729458001.tgz /NASbackups/nextcloudBackups

[0] 当前文件上传最大并发量为: 10, 上传分片大小为: 10.00MB
[2024-10-25 21:32:46.901] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/get_by_path
[2024-10-25 21:32:46.969] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:46.986] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:46.987] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:46.987] use config dir:  /home/yangn0/aliyunpan
[1] 加入上传队列: /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz
[1] 2024-10-25 21:32:24 准备上传: /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz => /NASbackups/nextcloudBackups/nextcloud-1729458001.tgz
[2024-10-25 21:32:46.988] [1] 2024-10-25 21:32:24 准备结束, 准备耗时 0秒
[1] 2024-10-25 21:32:24 正在检测和创建云盘文件夹: /NASbackups/nextcloudBackups
[2024-10-25 21:32:46.988] file path cache hit:  /NASbackups/nextcloudBackups
[2024-10-25 21:32:49.989] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/create
[2024-10-25 21:32:50.149] PreHash not match, upload file directly
[2024-10-25 21:32:50.149] resize upload block size to: 21.41MB
[2024-10-25 21:32:50.153] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/create
[2024-10-25 21:32:50.276] parse file create result json error  invalid character 'P' looking for beginning of value
[1] 2024-10-25 21:32:24 文件上传结果: 失败!创建上传任务失败:invalid character 'P' looking for beginning of value,invalid character 'P' looking for beginning of value 耗时 3秒
[2024-10-25 21:32:50.276] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:50.277] use config dir:  /home/yangn0/aliyunpan
[2024-10-25 21:32:50.277] 插件UploadFileFinishCallback调用成功

上传结束, 时间: 3秒, 数据总量: 0B
以下文件上传失败:
  1  /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz

这个是上传文件第一步就出错了,你这个文件多大?你有没有同时多个地方用同一个账号在上传和下载,例如家里电脑开一个,公司电脑开一个,服务器开一个类似这种?

@yangn0
Copy link

yangn0 commented Oct 26, 2024 via email

@xiaoyaofenfen
Copy link
Collaborator

文件大概300GB,别的地方都没有用。

------------------ Original ------------------ From: xiaoyaofenfen @.> Date: Sat,Oct 26,2024 11:01 AM To: 792301982 @.> Subject: Re: [tickstep/aliyunpan] invalid character 'P' looking for beginningof value,invalid character 'P' looking for beginning of value (Issue #460) 我也遇到了一样的问题 可以打开debug日志,然后看看报的是啥错 @.:~/disk500G/nextcloudBackups$ ~/aliyunpan/aliyunpan --verbose upload /home/yangn0/disk500G/nextclou dBackups/nextcloud-1729458001.tgz /NASbackups/nextcloudBackups [0] 当前文件上传最大并发量为: 10, 上传分片大小为: 10.00MB [2024-10-25 21:32:46.901] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/get_by_path [2024-10-25 21:32:46.969] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:46.986] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:46.987] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:46.987] use config dir: /home/yangn0/aliyunpan [1] 加入上传队列: /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz [1] 2024-10-25 21:32:24 准备上传: /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz => /NASbackups/nextcloudBackups/nextcloud-1729458001.tgz [2024-10-25 21:32:46.988] [1] 2024-10-25 21:32:24 准备结束, 准备耗时 0秒 [1] 2024-10-25 21:32:24 正在检测和创建云盘文件夹: /NASbackups/nextcloudBackups [2024-10-25 21:32:46.988] file path cache hit: /NASbackups/nextcloudBackups [2024-10-25 21:32:49.989] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/create [2024-10-25 21:32:50.149] PreHash not match, upload file directly [2024-10-25 21:32:50.149] resize upload block size to: 21.41MB [2024-10-25 21:32:50.153] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/create [2024-10-25 21:32:50.276] parse file create result json error invalid character 'P' looking for beginning of value [1] 2024-10-25 21:32:24 文件上传结果: 失败!创建上传任务失败:invalid character 'P' looking for beginning of value,invalid character 'P' looking for beginning of value 耗时 3秒 [2024-10-25 21:32:50.276] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:50.277] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:50.277] 插件UploadFileFinishCallback调用成功 上传结束, 时间: 3秒, 数据总量: 0B 以下文件上传失败: 1 /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz 这个是上传文件第一步就出错了,你这个文件多大?你有没有同时多个地方用同一个账号在上传和下载,例如家里电脑开一个,公司电脑开一个,服务器开一个类似这种? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>

你有开了三方权益包么?

@yangn0
Copy link

yangn0 commented Oct 26, 2024 via email

@xiaoyaofenfen
Copy link
Collaborator

没有

------------------ Original ------------------ From: xiaoyaofenfen @.> Date: Sat,Oct 26,2024 11:14 AM To: tickstep/aliyunpan @.> Cc: Ning Yang @.>, Comment @.> Subject: Re: [tickstep/aliyunpan] invalid character 'P' looking for beginningof value,invalid character 'P' looking for beginning of value (Issue #460) 文件大概300GB,别的地方都没有用。 … ------------------ Original ------------------ From: xiaoyaofenfen @.> Date: Sat,Oct 26,2024 11:01 AM To: 792301982 @.> Subject: Re: [tickstep/aliyunpan] invalid character 'P' looking for beginningof value,invalid character 'P' looking for beginning of value (Issue #460) 我也遇到了一样的问题 可以打开debug日志,然后看看报的是啥错 @.:~/disk500G/nextcloudBackups$ ~/aliyunpan/aliyunpan --verbose upload /home/yangn0/disk500G/nextclou dBackups/nextcloud-1729458001.tgz /NASbackups/nextcloudBackups [0] 当前文件上传最大并发量为: 10, 上传分片大小为: 10.00MB [2024-10-25 21:32:46.901] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/get_by_path [2024-10-25 21:32:46.969] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:46.986] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:46.987] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:46.987] use config dir: /home/yangn0/aliyunpan [1] 加入上传队列: /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz [1] 2024-10-25 21:32:24 准备上传: /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz => /NASbackups/nextcloudBackups/nextcloud-1729458001.tgz [2024-10-25 21:32:46.988] [1] 2024-10-25 21:32:24 准备结束, 准备耗时 0秒 [1] 2024-10-25 21:32:24 正在检测和创建云盘文件夹: /NASbackups/nextcloudBackups [2024-10-25 21:32:46.988] file path cache hit: /NASbackups/nextcloudBackups [2024-10-25 21:32:49.989] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/create [2024-10-25 21:32:50.149] PreHash not match, upload file directly [2024-10-25 21:32:50.149] resize upload block size to: 21.41MB [2024-10-25 21:32:50.153] do request url: https://openapi.alipan.com/adrive/v1.0/openFile/create [2024-10-25 21:32:50.276] parse file create result json error invalid character 'P' looking for beginning of value [1] 2024-10-25 21:32:24 文件上传结果: 失败!创建上传任务失败:invalid character 'P' looking for beginning of value,invalid character 'P' looking for beginning of value 耗时 3秒 [2024-10-25 21:32:50.276] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:50.277] use config dir: /home/yangn0/aliyunpan [2024-10-25 21:32:50.277] 插件UploadFileFinishCallback调用成功 上传结束, 时间: 3秒, 数据总量: 0B 以下文件上传失败: 1 /home/yangn0/disk500G/nextcloudBackups/nextcloud-1729458001.tgz 这个是上传文件第一步就出错了,你这个文件多大?你有没有同时多个地方用同一个账号在上传和下载,例如家里电脑开一个,公司电脑开一个,服务器开一个类似这种? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.> 你有开了三方权益包么? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
那确实上传不了,限制100GB单文件
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants