Closed andycheng-jiuluomall closed 2 years ago
有更详细的错误上下文吗
现在怀疑是不是什么全局配置不对导致hangfirehttpjob 的DateTime.Now 这种的地方出问题了
感觉还是这个全局的时间配置有问题 导致的 报错的最底层代码 也有传入一个时间
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("zh-CN"); 这行代码加了也不生效...
你的这个应用的这个暴露的接口,你自己用postman测试下能调用 不报错吗
直接是get 请求 上面图片里有就有啊 在hangfire 里面 DateTime.Now.ToString() 就会有问题
那这个可能是你的环境有关系把
先关了,如果你还有别的线索怀疑是这这个组件有问题再重开
Recurring job can't be scheduled, see inner exception for details
本地一切正常 linux 上就会报错