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

Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, #5289

Closed
xuanyanwow opened this issue Apr 9, 2024 · 1 comment

Comments

@xuanyanwow
Copy link

xuanyanwow commented Apr 9, 2024

Please answer these questions before submitting your issue.

  1. What did you do? If possible, provide a simple script for reproducing the error.

暂无法复现

  1. What did you expect to see?

看到日志是个NOTICE,swoole有记录什么日志或者什么工具可以追踪到更多细节么?

  1. What did you see instead?
[2024-04-09 01:52:52 @52.0]     NOTICE  Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, reason: no next part or final hyphen: expecting CR or '-' at 1108, but it is '\xffffffe2'
[2024-04-09 01:50:44 @56.0]     NOTICE  Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, reason: first boundary mismatching: expecting 'c' at 26, but it is '-'
[2024-04-09 01:50:44 @56.0]     NOTICE  Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, reason: first boundary mismatching: expecting 'c' at 26, but it is '-'
[2024-04-09 01:51:04 @56.0]     NOTICE  Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, reason: first boundary mismatching: expecting 'c' at 26, but it is '-'
[2024-04-09 01:51:05 @56.0]     NOTICE  Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, reason: first boundary mismatching: expecting 'c' at 26, but it is '-'
[2024-04-09 01:52:42 @56.0]     NOTICE  Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, reason: no next part or final hyphen: expecting CR or '-' at 1108, but it is '\xffffffe2'
[2024-04-09 02:06:56 @56.0]     NOTICE  Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, reason: no next part or final hyphen: expecting CR or '-' at 165, but it is '\xffffffe2'
[2024-04-09 02:07:16 @56.0]     NOTICE  Context::parse_multipart_data() (ERRNO 9010): parse multipart body failed, reason: no next part or final hyphen: expecting CR or '-' at 165, but it is '\xffffffe2'
  1. What version of Swoole are you using (show your php --ri swoole)?
# php --ri swoole

swoole

Swoole => enabled
Author => Swoole Team <team@swoole.com>
Version => 5.1.2
Built => Mar  5 2024 08:08:42
coroutine => enabled with boost asm context
epoll => enabled
eventfd => enabled
signalfd => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 3.1.4 24 Oct 2023
dtls => enabled
http2 => enabled
json => enabled
curl-native => enabled
zlib => 1.3.1
brotli => E16781312/D16781312
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
mysqlnd => enabled
async_redis => enabled

Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_fiber_mock => Off => Off
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => Off => Off
swoole.unixsock_buffer_size => 8388608 => 8388608
  1. What is your machine environment used (show your uname -a & php -v & gcc -v) ?
Linux web-server-master-5c59dbd8f6-6t2hm 4.18.0-80.4.2.el8_0.x86_64 #1 SMP Fri Jun 14 13:20:24 UTC 2019 x86_64 Linux
# php -v
PHP 8.2.15 (cli) (built: Jan 27 2024 04:53:38) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.15, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.15, Copyright (c), by Zend Technologies
@matyhtf
Copy link
Member

matyhtf commented Apr 9, 2024

错误的 multiparty form-data ,可忽略,只是 notice,建议调整 log_level

@matyhtf matyhtf closed this as completed Apr 9, 2024
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

2 participants