<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Awesome Andreas! That’s it! I recompiled CMake with OpenSSL enabled and it worked. Thank you so much.</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">Best regards,<br style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;" />
Maik</div>
</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">On 28 Mar 2019, 15:28 +0100, Andreas Andersen <andreasga22@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Then it must be the command CMake issues under the hood which doesn't support the protocol.
<div>From the documentation of "file(DOWNLOAD ...)" (which is called by ExternalData):</div>
<div><span style="color:rgb(68,68,68);font-family:sans-serif;font-size:16px;text-align:justify">For </span><code class="gmail-docutils gmail-literal gmail-notranslate" style="background-color:rgb(236,240,243);padding:0px 1px;font-size:0.95em;color:rgb(68,68,68);text-align:justify"><span class="gmail-pre" style="hyphens: none;">https://</span></code><span style="color:rgb(68,68,68);font-family:sans-serif;font-size:16px;text-align:justify"> URLs CMake must be built with OpenSSL support. </span><code class="gmail-docutils gmail-literal gmail-notranslate" style="background-color:rgb(236,240,243);padding:0px 1px;font-size:0.95em;color:rgb(68,68,68);text-align:justify"><span class="gmail-pre" style="hyphens: none;">TLS/SSL</span></code><span style="color:rgb(68,68,68);font-family:sans-serif;font-size:16px;text-align:justify"> certificates are not checked by default. Set </span><code class="gmail-docutils gmail-literal gmail-notranslate" style="background-color:rgb(236,240,243);padding:0px 1px;font-size:0.95em;color:rgb(68,68,68);text-align:justify"><span class="gmail-pre" style="hyphens: none;">TLS_VERIFY</span></code><span style="color:rgb(68,68,68);font-family:sans-serif;font-size:16px;text-align:justify"> to </span><code class="gmail-docutils gmail-literal gmail-notranslate" style="background-color:rgb(236,240,243);padding:0px 1px;font-size:0.95em;color:rgb(68,68,68);text-align:justify"><span class="gmail-pre" style="hyphens: none;">ON</span></code><span style="color:rgb(68,68,68);font-family:sans-serif;font-size:16px;text-align:justify"> to check certificates and/or use </span><code class="gmail-docutils gmail-literal gmail-notranslate" style="background-color:rgb(236,240,243);padding:0px 1px;font-size:0.95em;color:rgb(68,68,68);text-align:justify"><span class="gmail-pre" style="hyphens: none;">EXPECTED_HASH</span></code><span style="color:rgb(68,68,68);font-family:sans-serif;font-size:16px;text-align:justify"> to verify downloaded content. If neither </span><code class="gmail-docutils gmail-literal gmail-notranslate" style="background-color:rgb(236,240,243);padding:0px 1px;font-size:0.95em;color:rgb(68,68,68);text-align:justify"><span class="gmail-pre" style="hyphens: none;">TLS</span></code><span style="color:rgb(68,68,68);font-family:sans-serif;font-size:16px;text-align:justify">option is given CMake will check variables </span><code class="gmail-docutils gmail-literal gmail-notranslate" style="background-color:rgb(236,240,243);padding:0px 1px;font-size:0.95em;color:rgb(68,68,68);text-align:justify"><span class="gmail-pre" style="hyphens: none;">CMAKE_TLS_VERIFY</span></code><span style="color:rgb(68,68,68);font-family:sans-serif;font-size:16px;text-align:justify"> and </span><code class="gmail-docutils gmail-literal gmail-notranslate" style="background-color:rgb(236,240,243);padding:0px 1px;font-size:0.95em;color:rgb(68,68,68);text-align:justify"><span class="gmail-pre" style="hyphens: none;">CMAKE_TLS_CAINFO</span></code><span style="color:rgb(68,68,68);font-family:sans-serif;font-size:16px;text-align:justify">, respectively.</span></div>
<div>
<div style="text-align:justify"><span style="text-align:start"><br /></span></div>
<div style="text-align:justify"><span style="text-align:start">So if you compiled CMake yourself, make sure you enabled OpenSSL</span><br /></div>
<div style="text-align:justify"><span style="text-align:start"><br /></span></div>
<div style="text-align:justify"><span style="text-align:start">Best regards</span></div>
<div style="text-align:justify"><span style="text-align:start">Andreas</span></div>
<div>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<p style="margin-bottom:0.0001pt"><span lang="EN-US" style="color:rgb(31,73,125)" xml:lang="EN-US"><span lang="EN-US" style="font-size:11pt;line-height:16.8667px;font-family:Calibri,sans-serif" xml:lang="EN-US">__________________________________</span></span></p>
<p style="margin-bottom:0.0001pt"><span lang="EN-US" style="color:rgb(31,73,125)" xml:lang="EN-US"><span lang="EN-US" style="font-size:11pt;line-height:16.8667px;font-family:Calibri,sans-serif" xml:lang="EN-US">Andreas Gravgaard Andersen</span></span></p>
<div>
<p style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Department of Oncology, </span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Aarhus University Hospital<u></u><u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span lang="DA" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" xml:lang="DA">Nørrebrogade 44,</span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span lang="DA" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" xml:lang="DA">8000, Aarhus C<u></u></span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span lang="DA" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)" xml:lang="DA">Mail:     <a href="mailto:agravgaard@protonmail.com" target="_blank">agravgaard@protonmail.com</a></span></p>
<p style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"Times New Roman",serif;color:black"><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt">Cell:     </span><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"> </span><a value="+4523382411" style="font-family:Calibri,sans-serif;font-size:11pt;color:rgb(17,85,204)">+45 3165 8140</a></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br /></div>
</div>
</div>
</div>
<br />
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, 28 Mar 2019 at 15:19, Maik Stille <<a href="mailto:stille@imt.uni-luebeck.de">stille@imt.uni-luebeck.de</a>> wrote:<br /></div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<p>Hej,<br />
<br />
this is really weird. I am able to download the file via a browser. However, I still get the same error msg during the build process. I regenerated the resolv.conf as Andreas suggested. Unfortunately, that didn't help.<br />
<br />
So, if I am able to access the file in the browser and make gives me the error that it can't find the file... that means...(?)<br />
<br />
Anyway, thank you very much for the fast replies.<br />
<br />
<br />
Best regards,<br />
Maik<br /></p>
<p><br /></p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%" />
<div id="gmail-m_3085275103868620154divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Simon Rit <<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.fr</a>><br />
<b>Sent:</b> 28 March 2019 14:13<br />
<b>To:</b> Maik Stille<br />
<b>Cc:</b> <a href="mailto:rtk-users@public.kitware.com" target="_blank">rtk-users@public.kitware.com</a><br />
<b>Subject:</b> Re: [Rtk-users] Cannot download ExternalData during build (RTK 2.0)</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">
<div>Hi,</div>
<div>This is strange, I'm guessing a temp issue with <a href="http://data.kitware.com" target="_blank">data.kitware.com</a>. Now, the link</div>
<div><a href="https://data.kitware.com/api/v1/file/hashsum/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff/download" target="_blank">https://data.kitware.com/api/v1/file/hashsum/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff/download</a></div>
<div>works. Can you try again?</div>
<div>Thanks,<br /></div>
<div>Simon<br /></div>
</div>
</div>
<br />
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Mar 28, 2019 at 1:47 PM Maik Stille <<a href="mailto:stille@imt.uni-luebeck.de" target="_blank">stille@imt.uni-luebeck.de</a>> wrote:<br /></div>
<blockquote class="gmail_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #3498db;">
<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hej there,</p>
<p><br /></p>
<p>I am getting this strange (MD5 related?!) error during the build process and unfortunately, I don't have any idea how to approach it. It seems like I am not able to download the external data. Maybe the hashtag is not correct?! Did anyone encounter this problem before?</p>
<p><br /></p>
<p>Thank you very much for your help in advance.<br /></p>
<p><br /></p>
<p>See the error message here:</p>
<p><br /></p>
<p>[  0%] Generating /home/mijc/Documents/Development_Area/RTK/bin/ExternalData/test/Input/Spectral/incident_spectrum.mha<br />
-- Fetching "<a href="https://insightsoftwareconsortium.github.io/ITKTestingData/MD5/41ca9b9db6a1b95e8db36ff48f691cdf" target="_blank">https://insightsoftwareconsortium.github.io/ITKTestingData/MD5/41ca9b9db6a1b95e8db36ff48f691cdf</a>"<br />
-- Fetching "<a href="https://data.kitware.com:443/api/v1/file/hashsum/MD5/41ca9b9db6a1b95e8db36ff48f691cdf/download" target="_blank">https://data.kitware.com:443/api/v1/file/hashsum/MD5/41ca9b9db6a1b95e8db36ff48f691cdf/download</a>"<br />
-- Fetching "<a href="https://itk.org/files/ExternalData/MD5/41ca9b9db6a1b95e8db36ff48f691cdf" target="_blank">https://itk.org/files/ExternalData/MD5/41ca9b9db6a1b95e8db36ff48f691cdf</a>"<br />
-- Fetching "<a href="https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=41ca9b9db6a1b95e8db36ff48f691cdf&algorithm=MD5" target="_blank">https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=41ca9b9db6a1b95e8db36ff48f691cdf&algorithm=MD5</a>"<br />
-- Fetching "<a href="https://insightsoftwareconsortium.github.io/ITKTestingData/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff" target="_blank">https://insightsoftwareconsortium.github.io/ITKTestingData/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff</a>"<br />
-- Fetching "<a href="https://data.kitware.com:443/api/v1/file/hashsum/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff/download" target="_blank">https://data.kitware.com:443/api/v1/file/hashsum/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff/download</a>"<br />
-- Fetching "<a href="https://itk.org/files/ExternalData/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff" target="_blank">https://itk.org/files/ExternalData/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff</a>"<br />
-- Fetching "<a href="https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff&algorithm=SHA512" target="_blank">https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff&algorithm=SHA512</a>"<br />
CMake Error at /usr/local/share/cmake-3.14/Modules/ExternalData.cmake:1121 (message):<br />
 <br />
<br />
  Object MD5=41ca9b9db6a1b95e8db36ff48f691cdf not found at:<br />
<br />
    <a href="https://insightsoftwareconsortium.github.io/ITKTestingData/MD5/41ca9b9db6a1b95e8db36ff48f691cdf" target="_blank">https://insightsoftwareconsortium.github.io/ITKTestingData/MD5/41ca9b9db6a1b95e8db36ff48f691cdf</a> ("Unsupported protocol")<br />
    <a href="https://data.kitware.com:443/api/v1/file/hashsum/MD5/41ca9b9db6a1b95e8db36ff48f691cdf/download" target="_blank">https://data.kitware.com:443/api/v1/file/hashsum/MD5/41ca9b9db6a1b95e8db36ff48f691cdf/download</a> ("Unsupported protocol")<br />
    <a href="https://itk.org/files/ExternalData/MD5/41ca9b9db6a1b95e8db36ff48f691cdf" target="_blank">https://itk.org/files/ExternalData/MD5/41ca9b9db6a1b95e8db36ff48f691cdf</a> ("Unsupported protocol")<br />
    <a href="https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=41ca9b9db6a1b95e8db36ff48f691cdf&algorithm=MD5" target="_blank">https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=41ca9b9db6a1b95e8db36ff48f691cdf&algorithm=MD5</a> ("Unsupported protocol")<br />
<br />
  Object<br />
  SHA512=315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff<br />
  not found at:<br />
<br />
    <a href="https://insightsoftwareconsortium.github.io/ITKTestingData/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff" target="_blank">https://insightsoftwareconsortium.github.io/ITKTestingData/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff</a> ("Unsupported protocol")<br />
    <a href="https://data.kitware.com:443/api/v1/file/hashsum/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff/download" target="_blank">https://data.kitware.com:443/api/v1/file/hashsum/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff/download</a> ("Unsupported protocol")<br />
    <a href="https://itk.org/files/ExternalData/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff" target="_blank">https://itk.org/files/ExternalData/SHA512/315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff</a> ("Unsupported protocol")<br />
    <a href="https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff&algorithm=SHA512" target="_blank">https://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=315f410d858da64079b587826c5e8668c3ec0c41fc59a4c68a0f183d1678a89c6b240e39e1fbccdc0cedda20d53234f0c67761dfa7e04608009b44deee175dff&algorithm=SHA512</a> ("Unsupported protocol")<br />
<br />
<br />
CMakeFiles/ITKData.dir/build.make:130: recipe for target 'ExternalData/test/Input/Spectral/incident_spectrum.mha-hash-stamp' failed<br />
make[2]: *** [ExternalData/test/Input/Spectral/incident_spectrum.mha-hash-stamp] Error 1<br />
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/ITKData.dir/all' failed<br />
make[1]: *** [CMakeFiles/ITKData.dir/all] Error 2<br />
Makefile:140: recipe for target 'all' failed<br />
make: *** [all] Error 2<br /></p>
</div>
_______________________________________________<br />
Rtk-users mailing list<br />
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br />
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><br /></blockquote>
</div>
</div>
</div>
</div>
_______________________________________________<br />
Rtk-users mailing list<br />
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br />
<a href="https://public.kitware.com/mailman/listinfo/rtk-users" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/rtk-users</a><br /></blockquote>
</div>
</blockquote>
</div>
</body>
</html>