问题描述 程序启动后,短时间内执行 php start.php stop,重新运行 php start.php start -d没问题。 执行一段时间后(几天,或者十来天都可能),进行代码更新后,再执行 php start.php stop显示 [root@localhost ECM-PHP]# php start.php stop Workerman[start.php] stop Workerman[start....
问题描述 Press Ctrl+C to stop. Start success. connect1:7f0000010b5400000001 SSL handshake error: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14094416:SSL routines:...
问题描述 使用 GatewayClient 3.0.13显示 常量 Gateway 与方法 GatewayClient\phppack不存在 程序代码 <?php require_once './GatewayClient/Gateway.php'; use GatewayClient\Gateway; Gateway::$registerAddress = '127.0.0.1:1238'; $cli...
今天无意发现swoole已经发布6.2版本了,开始支持php8.5了。正好手里也没活计,就编译测试了下。 目前启动没问题,但访问时提示: ErrorException: ArrayObject::exchangeArray(): Using an object as a backing array for ArrayObject is deprecated, as it allows violating class ...
问题描述 这里详细描述问题 webman的定时跑数据的任务中,随着数据量越来越大,时间也越来越久,现在跑一会就被kill了(40w数据跑了8w条就挂了),有办法关掉的这个kill吗。我使用的是webman的process 设置了stop_timeout也没啥用 程序代码 我已经定位代码卡住的地方,但是就是要很久 报错信息 exit with status 9 ...
问题描述 我看到 路由-无参数注解文档中提到#[Post]直接作为注解使用是启用默认路由,关闭默认路由是#[DisableDefaultRoute],那么启用默认路由应该为#[EnableDefaultRoute]。#[Post]注解我推荐将方法名作为path。 #[Post] // 与#[Post(path: '/create')]相同 public function create() { ... } #[En...
问题描述 route:list 命令列出的路由,中间件未正确显示出来。比如定义在全局配置文件,和注解中间件就没显示出来。 操作系统环境及workerman/webman等具体版本 windows环境 webman版本 2.2...
问题描述 问题一:如上图 限流器运行几天后 如今天2026-02-24数据存储的redis key名是2026-02-23的 也就是key名是前一天 我使用的是 Limiter::check 限流器版本: "name": "webman/rate-limiter", "version": "v1.1.7", 问题二:目前用的版本定时删除...
求助🙏 redis队列只要使用了数据库操作,会出现大量:Call to a member function getBitwiseOperators() on null ...
问题描述 Hi walkor 我在webman框架中使用redis-queue,在消费类的业务代码中使用的ThinkORM操作数据库,出现DB实例失效的情况,但http服务进程中可以正常操作数据库。看现象像是redis队列闲置后,导致Db连接在Pool中被关闭后(如超时),Context中仍持有旧对象。我在网上查到的解决方法是 \Webman\Context::destroy(); 但觉得这样做不太靠谱;请问有更好的...
问题描述 webman,在使用webman/redis-queue + webman/think-orm 库的时候,会出现:plugin.webman.redis-queue.default.INFO: Error: Call to a member function getConfig() on null in /www/wwwroot/www.test.com/vendor/topthink/think-orm/...
问题描述 服务器上有主副两个库,主库宕机了自动连接副库使用,主副库数据已经在数据库层面会自动同步,webman的orm支持这样连接嘛??文档里面只有可以多个连接但是都是需要指定某个库来操作orm...
webman 定时任务 mysql断线后,几分钟后,虽然mysql恢复了。 但是提示 Call to a member function getBitwiseOperators() on null。我必须要重启才行,否则一直提示这个报错。 测试复现的代码: class Test { /** * 进程启动时执行 * * @param Worker $worker *...
问题描述 如果 这样命令 “php index.php start ” 启动没问题 加一个 -d 守护启动, “php index.php start” 这样每次启动立即出现 至少2个主进程,有时候3个。看日志没有报错 程序代码 都是Workerman version:4.0.17 核心框架 报错信息 无报错 截图报错信息里报错文件相关代码 操作系统及workerman/webman等框架组件具体版本 ro...
问题描述 执行composer create-project workerman/webman:~2.0 安装webman 出现代码bug 程序代码或配置 重现问题的步骤 操作系统环境及workerman/webman等具体版本 windows 版本是2.1.6...
问题描述 应用插件中使用php-di 在plugin/插件/config/container.php中配置php-di容器 发现依赖注入未生效 只有将plugin/插件/config/container.php内容放到webman主系统/config/container.php中 php-di的依赖注入才生效 是不是应用插件不支持单独配置container 必须要在主系统container中配置 程序代码 webm...
问题描述 使用 http-client 发起 HEAD请求验证文件是否存在,发现全是超时,改成GET就行? 程序代码 function headRequest(string $url, array $headers = []) { static $httpClient; if (!$httpClient) { $httpClient = new ...
问题描述 webman2.1+php8.4 config 函数 读取不到 config/plugin/overtrue/wechat.php 文件的配置 是我缺少什么配置吗? $config = config('plugin.overtrue.wechat.open_platform', []); print_r($config);//结果是空数组 //config/plugin/overtrue/wechat....