初始化项目报错:AxiosError: Request failed with status code 400
chandleeeee opened this issue · 6 comments
chandleeeee commented
MisterLuffy commented
你的环境可以访问这个接口不 https://arco.design/material/api/getHostInfo
chandleeeee commented
MisterLuffy commented
我这边没有什么思路,可能需要你克隆一下仓库帮忙排查一下
WangShayne commented
same issue
WangShayne commented
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相关配置的问题
WangShayne commented
我本机流量通过http代理转发 http://127.0.0.1:1080
暂时通过添加NO_PROXY arco.design解决