arco-cli
arco-cli copied to clipboard
初始化项目报错:AxiosError: Request failed with status code 400

运行在 WSL2 ubuntu
你的环境可以访问这个接口不 https://arco.design/material/api/getHostInfo

用curl可以 有工具要求吗
我这边没有什么思路,可能需要你克隆一下仓库帮忙排查一下
same issue
data: '<html>\r\n' +
'<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>\r\n' +
'<body bgcolor="white">\r\n' +
'<center><h1>400 Bad Request</h1></center>\r\n' +
'<center>The plain HTTP request was sent to HTTPS port</center>\r\n' +
'<hr><center>nginx</center>\r\n' +
'</body>\r\n' +
'</html>\r\n'
@MisterLuffy nginx相关配置的问题
我本机流量通过http代理转发 http://127.0.0.1:1080
暂时通过添加NO_PROXY arco.design解决