Exception 连接到Shopify时出现异常

Exception 连接到Shopify时出现异常,exception,curl,shopify,Exception,Curl,Shopify,我开发了一个Shopify应用程序 在shopify中调用shop.json时,它有时会抛出特定客户端的ShopifyCurl异常:无法解析主机“https:” 对于99%的用户来说,这种情况从未发生过。 有什么想法吗 无法解析主机“https:” Curl从命令行返回大致相同的错误: $ curl https://thisisnotadomain curl: (6) Could not resolve host: thisisnotadomain $ curl https://

我开发了一个Shopify应用程序 在shopify中调用shop.json时,它有时会抛出特定客户端的ShopifyCurl异常:无法解析主机“https:” 对于99%的用户来说,这种情况从未发生过。 有什么想法吗

无法解析主机“https:”

Curl从命令行返回大致相同的错误:

$ curl https://thisisnotadomain   
curl: (6) Could not resolve host: thisisnotadomain

$ curl https://                  
curl: (6) Could not resolve host: https
看起来curl无法从您传递的URL解析域,很可能是因为您传递了“https://”