<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>nodejs download fails due to invalid link  (Protocol switch unsafe)</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120450696" />
  <subtitle>nodejs download fails due to invalid link  (Protocol switch unsafe)</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120450696</id>
  <updated>2026-04-04T04:57:21Z</updated>
  <dc:date>2026-04-04T04:57:21Z</dc:date>
  <entry>
    <title>RE: nodejs download fails due to invalid link  (Protocol switch unsafe)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120451913" />
    <author>
      <name>tamallah seifedine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120451913</id>
    <updated>2020-11-16T10:17:59Z</updated>
    <published>2020-11-16T10:17:59Z</published>
    <summary type="html">&lt;p&gt;thanks Christoph , that solved the problem .&lt;/p&gt;</summary>
    <dc:creator>tamallah seifedine</dc:creator>
    <dc:date>2020-11-16T10:17:59Z</dc:date>
  </entry>
  <entry>
    <title>RE: nodejs download fails due to invalid link  (Protocol switch unsafe)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120451670" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120451670</id>
    <updated>2020-11-16T07:43:22Z</updated>
    <published>2020-11-16T07:43:22Z</published>
    <summary type="html">&lt;pre class="c-mrkdwn__pre"&gt;Try to add this to the build.gradle:
allprojects {
    plugins.withId(&amp;quot;com.liferay.node&amp;quot;) {
        node.global = true
        node.nodeUrl = node.nodeUrl.replace(&amp;quot;http:&amp;quot;, &amp;quot;https:&amp;quot;)
        System.out.println(node.nodeUrl)
    }
}&lt;/pre&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2020-11-16T07:43:22Z</dc:date>
  </entry>
  <entry>
    <title>nodejs download fails due to invalid link  (Protocol switch unsafe)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120450695" />
    <author>
      <name>tamallah seifedine</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120450695</id>
    <updated>2020-11-15T14:56:46Z</updated>
    <published>2020-11-15T14:56:46Z</published>
    <summary type="html">&lt;p&gt;failures using Gradle v.6 + Workspace / liferay 7.2 , Here is the
  stacktrace exception of the first build command ​​​​​:&lt;/p&gt;
&lt;pre&gt;
&lt;em&gt;&amp;gt; &lt;strong&gt;Task :downloadNode FAILED&lt;/strong&gt;
Trying to download http://mirrors.lax.liferay.com/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz to /home/jenkins/.liferay/mirrors/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz.tmp
Trying to download http://nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz to /home/jenkins/.liferay/mirrors/nodejs.org/dist/v10.15.1/node-v10.15.1-linux-x64.tar.gz.tmp
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':&lt;strong&gt;downloadNode&lt;/strong&gt;'.
&lt;strong&gt;&amp;gt; Redirection detected from http to https. Protocol switch unsafe, not allowed.&lt;/strong&gt;&lt;/em&gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;For the moment I get to pass by this by downloading node manually
  into the&lt;strong&gt; build/node&lt;/strong&gt; folder after the 2nd build
  command , waiting for official FIX ..?&lt;/p&gt;</summary>
    <dc:creator>tamallah seifedine</dc:creator>
    <dc:date>2020-11-15T14:56:46Z</dc:date>
  </entry>
</feed>
