大佬们,你们报过这个错误吗?
Closed this issue · 11 comments
一样的,出现这个问题
public static Task HttpGetAsync(string url, Dictionary<string, string> headers = null)
{
try
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
if (headers != null)
{
foreach (var header in headers)
request.Headers[header.Key] = header.Value;
}
using (HttpWebResponse response = (HttpWebResponse)request.GetResponse())
{
Stream responseStream = response.GetResponseStream();
StreamReader streamReader = new StreamReader(responseStream, Encoding.UTF8);
return streamReader.ReadToEndAsync();
}
}
catch (Exception ex)
{
return Task.FromResult(ex.Message);
}
}
Object reference not set to an instance of an object.”
一样的,出现这个问题
我们这边没有出现过这种问题,能否截个配置界面的图或者将job_options.json发一份,非常感谢
[{"TaskName":"task1","GroupName":"task1","Interval":"0/10 * * * * ? ","ApiUrl":"http://127.0.0.1:9950/Health/KeepAlive","AuthKey":"authKey","AuthValue":"123456","Describe":null,"RequestType":"get","LastRunTime":"2020-06-01T14:51:50","Status":0}]
你好,代码我没有动过,我只是在web页面新增了一个任务,等一会就报错了。感谢!!!!
…
------------------ 原始邮件 ------------------ 发件人: "风口浪尖的猪"<notifications@github.com>; 发送时间: 2020年6月1日(星期一) 下午2:34 收件人: "cq-panda/Quartz.NetUI"<Quartz.NetUI@noreply.github.com>; 抄送: "zhuzhao"<zhuzhao1010@163.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [cq-panda/Quartz.NetUI] 大佬们,你们报过这个错误吗? (#9) 一样的,出现这个问题 我们这边没有出现过这种问题,能否截个配置界面的图或者将job_options.json发一份,非常感谢 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
代码刚刚已经更新过了,可以获取看看
感谢