<div dir="ltr"><div><div><div><div>Hi Arthur,<br><br></div>did you read the curl docs, especially on TLS? -> <a href="https://ec.haxx.se/usingcurl-tls.html">https://ec.haxx.se/usingcurl-tls.html</a><br><br></div>Have you run curl from a command line in verbose mode on all machines? What are the results?<br></div><div><br></div><div>Can you give the Yahoo URL for others to check?<br></div><div><br></div>Regards,<br><br></div>Ted Marynicz<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 September 2017 at 20:24, 于千帆 <span dir="ltr"><<a href="mailto:qianfan1991@gmail.com" target="_blank">qianfan1991@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="margin:0in 0in 0.0001pt;font-size:11pt">Dear sir or madam,<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt"><u></u> <u></u></div><table class="m_9129729850946790198MsoNormalTable" style="background-color:white;border-collapse:collapse" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td style="padding:0in 11.25pt 0in 0in" valign="top"><div style="margin:0in 0in 0.0001pt;font-size:11pt;text-align:center;vertical-align:baseline"><span style="font-size:15pt;color:rgb(106,115,124);border:1pt none windowtext;padding:0in"><br></span><br></div></td><td style="padding:0in;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;font-size:inherit;line-height:inherit" valign="top"><div style="margin:0in 0in 0.0001pt;font-size:inherit;vertical-align:baseline;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit"><span style="font-size:11.5pt;color:rgb(36,39,41)">I’m trying to use </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">quantmod</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)"> package in R to get financial data from Yahoo. It works perfectly on my personal laptops (Mac and Win). But I cannot make it work on my working computer (Win7). Here's the error code:<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:inherit;vertical-align:baseline;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit"><span style="font-size:11.5pt;color:rgb(36,39,41)"><br></span></div><pre style="margin:0in 0in 0.0001pt;font-size:10pt;background-color:rgb(239,240,241);vertical-align:baseline;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit;max-height:600px;word-wrap:normal;overflow:auto"><font face="Helvetica"><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">Error </span></span><span class="m_9129729850946790198kwd"><span style="color:rgb(16,16,148);border:1pt none windowtext;padding:0in">in</span></span><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in"> curl</span></span><span class="m_9129729850946790198pun"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">::</span></span><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">curl_download</span></span><span class="m_9129729850946790198pun"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">(</span></span><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">cu</span></span><span class="m_9129729850946790198pun"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">,</span></span><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in"> tmp</span></span><span class="m_9129729850946790198pun"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">,</span></span><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in"> handle </span></span><span class="m_9129729850946790198pun"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">=</span></span><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in"> h</span></span><span class="m_9129729850946790198pun"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">)</span></span><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in"> </span></span><span class="m_9129729850946790198pun"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">:</span></span><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in"> </span><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in"><u></u><u></u></span></span></font></pre><pre style="margin:0in 0in 0.0001pt;font-size:10pt;background-color:rgb(239,240,241);vertical-align:baseline"><font face="Helvetica"><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">SSL certificate problem</span></span><span class="m_9129729850946790198pun"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in">:</span></span><span class="m_9129729850946790198pln"><span style="color:rgb(48,51,54);border:1pt none windowtext;padding:0in"> unable to get local issuer certificate</span></span><span style="color:rgb(57,51,24)"><u></u><u></u></span></font></pre><p style="margin-right:0in;margin-left:0in;font-size:inherit;margin-bottom:12pt;vertical-align:baseline;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit"><span style="font-size:11.5pt;color:rgb(36,39,41)">I have tried to solve the problems in the following ways:<u></u><u></u></span></p><div style="margin:0in 0in 0.0001pt 22.5pt;font-size:11pt;vertical-align:baseline"><span style="font-size:11.5pt;color:rgb(36,39,41)">1.<span style="font-size:7pt;line-height:normal">      </span></span><span style="font-size:11.5pt;color:rgb(36,39,41)">install </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">httr</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)"> package<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt 22.5pt;font-size:11pt;vertical-align:baseline"><span style="font-size:11.5pt;color:rgb(36,39,41)">2.<span style="font-size:7pt;line-height:normal">      </span></span><span style="font-size:11.5pt;color:rgb(36,39,41)">Delete </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">curl</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)">, </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">quantmod</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)"> <wbr>and reinstall<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt 22.5pt;font-size:11pt;vertical-align:baseline"><span style="font-size:11.5pt;color:rgb(36,39,41)">3.<span style="font-size:7pt;line-height:normal">      </span></span><span style="font-size:11.5pt;color:rgb(36,39,41)">Update to the latest version of R, RStudio, </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">curl</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)">, </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">httr</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)">, </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">RCurl</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)"> <wbr>and </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">quantmod</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)"><u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt 22.5pt;font-size:11pt;vertical-align:baseline"><span style="font-size:11.5pt;color:rgb(36,39,41)">4.<span style="font-size:7pt;line-height:normal">      </span></span><span style="font-size:11.5pt;color:rgb(36,39,41)">Install </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">openssl</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)"> <wbr>package<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt 22.5pt;font-size:11pt;vertical-align:baseline"><span style="font-size:11.5pt;color:rgb(36,39,41)">5.<span style="font-size:7pt;line-height:normal">      </span></span><span style="font-size:11.5pt;color:rgb(36,39,41)">Set </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">ssl_verifypeer = 0L</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)"><u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt 22.5pt;font-size:11pt;vertical-align:baseline"><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)"><br></span></code></div><div style="margin:0in 0in 0.0001pt;font-size:inherit;vertical-align:baseline;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit"><span style="font-size:11.5pt;color:rgb(36,39,41)">Unfortunately, none of the above works. I had this problem earlier when I was trying to download a file using R. At that time, I switched to </span><code><span style="font-size:10pt;color:rgb(36,39,41);border:1pt none windowtext;padding:0in;background-color:rgb(239,240,241)">wget</span></code><span style="font-size:11.5pt;color:rgb(36,39,41)"> and made it work. But now I'm using an existing package and I have no idea how to solve this problem. BTW, fetch data from google finance works but Google only provide ~ 4000 records per request.<u></u><u></u></span></div><p style="margin-right:0in;margin-left:0in;font-size:inherit;margin-bottom:12pt;vertical-align:baseline;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit"><span style="font-size:11.5pt;color:rgb(36,39,41)">I think our company has some restrictions on SSL but I'm totally fine in accessing websites start with https://<u></u><u></u></span></p><p style="margin-right:0in;margin-left:0in;font-size:inherit;margin-bottom:12pt;vertical-align:baseline;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit"><span style="font-size:11.5pt;color:rgb(36,39,41)">I have spent a week to solve this problem but I didn't make any progress. Now, I'm wondering is that possible to fix it? Any ideas will be helpful!<u></u><u></u></span></p><p style="margin-right:0in;margin-left:0in;font-size:inherit;margin-bottom:12pt;vertical-align:baseline;font-style:inherit;font-variant-ligatures:inherit;font-variant-caps:inherit;font-variant-numeric:inherit;font-variant-alternates:inherit;font-variant-east-asian:inherit;font-stretch:inherit;line-height:inherit"><span style="font-size:11.5pt;color:rgb(36,39,41)">Thanks to all the contributors, have a great one!<u></u><u></u></span></p></td></tr></tbody></table><div style="margin:0in 0in 0.0001pt;font-size:11pt"><u></u> <u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt">Best,<u></u><u></u></div><div style="margin:0in 0in 0.0001pt;font-size:11pt">Arthur</div></div><br>--<br>
openssl-dev mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-dev" rel="noreferrer" target="_blank">https://mta.openssl.org/<wbr>mailman/listinfo/openssl-dev</a><br>
<br></blockquote></div><br></div>