【待反馈】计划任务,显示请输入正确的url地址
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:系统版本:CentOS 7.9.2009 x86_64(Py3.7.9)
问题描述:8.2.0
相关截图(日志、错误):计划任务,访问URL-GET,显示请输入正确的url地址
URL地址是正确的,可以在浏览器里访问 curl: (52) Empty reply from server 宝塔用户_ytyjlm 发表于 2024-7-14 16:50
curl: (52) Empty reply from server
您好,您这边输入正常的rul,如:https:xxx.xxx.xx/xxxx/xxx.html这种 https:xxx.xxx.xx/xxxx/?sever=1 显示请输入正确的url地址 牛逼克拉斯 发表于 2024-8-1 05:21
https:xxx.xxx.xx/xxxx/?sever=1 显示请输入正确的url地址
您好,您这边也是跟楼主一样的情况吗,尝试本地curl -vvv https来访问 root@iZwz9g32vdffeed3pzfdx2Z:~# curl -vvv https://www.baidu.com/s?ie=UTF-8&wd=%E5%AE%9D%E5%A1%94%E8%AE%BA%E5%9D%9B
757260
root@iZwz9g32vdffeed3pzfdx2Z:~# * Trying 183.2.172.185:443...
* TCP_NODELAY set
* Connected to www.baidu.com (183.2.172.185) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*subject: C=CN; ST=beijing; L=beijing; O=Beijing Baidu Netcom Science Technology Co., Ltd; CN=baidu.com
*start date: Jul8 01:41:02 2024 GMT
*expire date: Aug9 01:41:01 2025 GMT
*subjectAltName: host "www.baidu.com" matched cert's "*.baidu.com"
*issuer: C=BE; O=GlobalSign nv-sa; CN=GlobalSign RSA OV SSL CA 2018
*SSL certificate verify ok.
> GET /s?ie=UTF-8 HTTP/1.1
> Host: www.baidu.com
> User-Agent: curl/7.68.0
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Location: https://wappass.baidu.com/static/captcha/tuxing.html?&logid=8374894307021352299&ak=c27bbc89afca0463650ac9bde68ebe06&backurl=https%3A%2F%2Fwww.baidu.com%2Fs%3Fie%3DUTF-8&ext=x9G9QDmMXq%2FNo87gjGO0P%2FZyOGsO8Gtc4Q7BH%2Bupi0sYlU5PkiYt8z80Ez5p7Umpg1T9i%2F9aWxTqDk%2BHyX%2BPs0ChrtIMtQkyMCB6zc%2FRMjhIIB7URDciwb4Wfa7oJDxflS0FEnpD0j%2F%2Bv6RyOwwwaQ%3D%3D&signature=b682ee0bb41aae1a8e93e44a9b0026a6×tamp=1722571708
< Date: Fri, 02 Aug 2024 04:08:28 GMT
< Content-Length: 458
< Content-Type: text/html; charset=utf-8
<
<a >Found</a>.
* Connection #0 to host www.baidu.com left intact
牛逼克拉斯 发表于 2024-8-2 12:10
root@iZwz9g32vdffeed3pzfdx2Z:~# curl -vvv https://www.baidu.com/s?ie=UTF-8&wd=%E5%AE%9D%E5%A1%94%E8% ...
这个访问被重定向了,建议您这边在输入的时候减少很多的参数,浏览器跟这里不是一样的,这里是curl返回测试,您curl看的都不行 新版的这个计划任务真难用 凡心VIP 发表于 2024-8-11 03:03
新版的这个计划任务真难用
您好,还望理解,是需要设置的url是在服务器使用curl,命令来测试的,而不是跟浏览器一样的 本帖最后由 宝塔用户_lkntyy 于 2024-8-15 09:20 编辑
url地址注意前面不要有空格,不然就会就有这个问题
您好,您这边是参数较多可能导致的问题
页:
[1]