<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[xo-cli --register produces "invalid parameters" errors in xo logs]]></title><description><![CDATA[<p dir="auto">I have written a script downloading info about the whole cluster using xo-cli.</p>
<p dir="auto">The simple command:</p>
<pre><code>/usr/bin/xo-cli --register --allowUnauthorized https://&lt;web\_address&gt; &lt;user&gt; &lt;pass&gt;
</code></pre>
<p dir="auto">even though login is successful:</p>
<pre><code>Successfully logged with &lt;username&gt;
</code></pre>
<p dir="auto">is producing these errors in xo logs:</p>
<pre><code>token.create
{
  "description": "xo-cli --register"
}
{
  "code": 10,
  "data": {
    "errors": [
      {
        "code": null,
        "reason": "strict",
        "message": "should not contains property [\"description\"]",
        "property": "@"
      }
    ]
  },
  "message": "invalid parameters",
  "name": "XoError",
  "stack": "XoError: invalid parameters
    at Module.invalidParameters (/opt/xen-orchestra/packages/xo-common/src/api-errors.js:21:32)
    at Object.call (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:73:18)
    at Api.callApiMethod (file:///opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.mjs:303:19)"
}
</code></pre>
<p dir="auto">Any tips on what is the issue and how to eliminate it spamming the logs?</p>
<p dir="auto">(script has to run periodically)</p>
]]></description><link>https://xcp-ng.org/forum/topic/7109/xo-cli-register-produces-invalid-parameters-errors-in-xo-logs</link><generator>RSS for Node</generator><lastBuildDate>Sat, 12 Sep 2026 07:48:24 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/7109.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Mar 2023 13:33:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Fri, 21 Apr 2023 13:27:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mietek" aria-label="Profile: mietek">@<bdi>mietek</bdi></a> Hello, this is due to incompatibility between xo-cli and xo-server due a change introduced 6 months ago, you can resolve it by updating xo-server.</p>
<p dir="auto">Another solution is to update xo-cli as the recent versions contains a work-around for old versions of xo-server.</p>
]]></description><link>https://xcp-ng.org/forum/post/60189</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60189</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Fri, 21 Apr 2023 13:27:46 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Fri, 21 Apr 2023 13:56:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> OK, server upgrade it is.<br />
Thanks for a prompt reply. Appreciate it.</p>
]]></description><link>https://xcp-ng.org/forum/post/61308</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/61308</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Fri, 21 Apr 2023 13:56:46 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Fri, 21 Apr 2023 13:54:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mietek" aria-label="Profile: mietek">@<bdi>mietek</bdi></a> I cannot reproduce the problem with <code>xo-cli@0.17.1</code>, either with <code>xo-server@5.87.0</code> nor with <code>xo-server@5.111.1</code>.</p>
<p dir="auto">Anyway, old versions are not supported, please upgrade.</p>
<p dir="auto">If you have a paying subscription and a special need, please open a support ticket.</p>
]]></description><link>https://xcp-ng.org/forum/post/61307</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/61307</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Fri, 21 Apr 2023 13:54:14 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Fri, 21 Apr 2023 13:23:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> Hey, I am back to the original issue now:<br />
"message": "should not contains property ["description"]</p>
<p dir="auto">If there is anything I can do to not have it in logs then great, but if not<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> might be right that it's time to finally upgrade the server version.</p>
]]></description><link>https://xcp-ng.org/forum/post/61306</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/61306</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Fri, 21 Apr 2023 13:23:53 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Thu, 20 Apr 2023 09:03:48 GMT]]></title><description><![CDATA[<p dir="auto">If you are using <code>xo-server 5.87.0</code> you are indeed very very outdated. Remember to keep everything up to date on <code>master</code> branch as possible.</p>
]]></description><link>https://xcp-ng.org/forum/post/61273</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/61273</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Thu, 20 Apr 2023 09:03:48 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Thu, 20 Apr 2023 09:03:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mietek" aria-label="Profile: mietek">@<bdi>mietek</bdi></a> The <code>No such built-in module: node:assert/strict</code> cannot occur with Node 16.20.0.</p>
<p dir="auto">What exact issues do you have?</p>
]]></description><link>https://xcp-ng.org/forum/post/61272</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/61272</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Thu, 20 Apr 2023 09:03:12 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Thu, 20 Apr 2023 09:00:47 GMT]]></title><description><![CDATA[<p dir="auto">Hey <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a>, I have to get back to the issue as I had to move witn node and xo-cli to other machine and even though I have node: v16.20.0 and xo-cli: v0.17.1<br />
I see those errors again.<br />
Is there any way to have it fixed without upgrading xo-server? [ver: 5.87.0]</p>
]]></description><link>https://xcp-ng.org/forum/post/61271</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/61271</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Thu, 20 Apr 2023 09:00:47 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Mon, 03 Apr 2023 09:33:46 GMT]]></title><description><![CDATA[<p dir="auto">That's why it's important to read the doc, because it means less interruption and more time for <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> to actually work on improving XO <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=2bdbead4301" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://xcp-ng.org/forum/post/60748</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60748</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 03 Apr 2023 09:33:46 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Mon, 03 Apr 2023 09:33:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> I have installed node LTS ver and the new xo-cli works fine:</p>
<pre><code>nodejs:
-&gt;     v16.20.0   (Latest LTS: Gallium)
xo-cli:
└── xo-cli@0.17.1
</code></pre>
<p dir="auto">Thanks for help.</p>
]]></description><link>https://xcp-ng.org/forum/post/60747</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60747</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Mon, 03 Apr 2023 09:33:14 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Mon, 03 Apr 2023 08:36:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mietek" aria-label="Profile: mietek">@<bdi>mietek</bdi></a> Please use latest <a href="https://nodejs.org/en/blog/release/v16.20.0" target="_blank" rel="noopener noreferrer nofollow ugc">Node LTS</a> as explained <a href="https://xen-orchestra.com/docs/installation.html#nodejs" target="_blank" rel="noopener noreferrer nofollow ugc">in the documentation</a>.</p>
]]></description><link>https://xcp-ng.org/forum/post/60737</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60737</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Mon, 03 Apr 2023 08:36:30 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Mon, 03 Apr 2023 08:34:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> v14.21.3</p>
]]></description><link>https://xcp-ng.org/forum/post/60735</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60735</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Mon, 03 Apr 2023 08:34:31 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Mon, 03 Apr 2023 08:32:14 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mietek" aria-label="Profile: mietek">@<bdi>mietek</bdi></a> Ok, which version of Node are you using?</p>
]]></description><link>https://xcp-ng.org/forum/post/60733</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60733</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Mon, 03 Apr 2023 08:32:14 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Mon, 03 Apr 2023 08:13:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> xo-cli installation runs fine. Trying to run it fails.<br />
I have rolled it back to 0.14.0 and it works fine.</p>
]]></description><link>https://xcp-ng.org/forum/post/60727</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60727</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Mon, 03 Apr 2023 08:13:53 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Mon, 03 Apr 2023 07:55:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mietek" aria-label="Profile: mietek">@<bdi>mietek</bdi></a> Does <code>xo-cli</code> crash? Or <code>npm</code> during the install?</p>
]]></description><link>https://xcp-ng.org/forum/post/60725</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60725</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Mon, 03 Apr 2023 07:55:01 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Mon, 03 Apr 2023 07:58:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a><br />
upgrade or reinstall of xo-cli crashes now with an error:</p>
<pre><code>internal/process/esm_loader.js:74
    internalBinding('errors').triggerUncaughtException(
                              ^

Error [ERR_UNKNOWN_BUILTIN_MODULE]: No such built-in module: node:assert/strict
    at new NodeError (internal/errors.js:322:7)
    at Function.Module._load (internal/modules/cjs/loader.js:781:13)
    at Module.require (internal/modules/cjs/loader.js:1003:19)
    at require (internal/modules/cjs/helpers.js:107:18)
    at Object.&lt;anonymous&gt; (/usr/lib/node_modules/xo-cli/node_modules/http-request-plus/index.js:5:16)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at ModuleWrap.&lt;anonymous&gt; (internal/modules/esm/translators.js:203:29) {
  code: 'ERR_UNKNOWN_BUILTIN_MODULE'
</code></pre>
<p dir="auto">I am not really a Java guy. What am I missing here?</p>
]]></description><link>https://xcp-ng.org/forum/post/60724</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60724</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Mon, 03 Apr 2023 07:58:40 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Mon, 03 Apr 2023 07:19:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> Hey, thanks for the info. Let me update the client and get back to you.</p>
]]></description><link>https://xcp-ng.org/forum/post/60721</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60721</guid><dc:creator><![CDATA[mietek]]></dc:creator><pubDate>Mon, 03 Apr 2023 07:19:49 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Fri, 21 Apr 2023 13:27:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mietek" aria-label="Profile: mietek">@<bdi>mietek</bdi></a> Hello, this is due to incompatibility between xo-cli and xo-server due a change introduced 6 months ago, you can resolve it by updating xo-server.</p>
<p dir="auto">Another solution is to update xo-cli as the recent versions contains a work-around for old versions of xo-server.</p>
]]></description><link>https://xcp-ng.org/forum/post/60189</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60189</guid><dc:creator><![CDATA[julien-f]]></dc:creator><pubDate>Fri, 21 Apr 2023 13:27:46 GMT</pubDate></item><item><title><![CDATA[Reply to xo-cli --register produces "invalid parameters" errors in xo logs on Wed, 22 Mar 2023 21:42:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mietek" aria-label="Profile: mietek">@<bdi>mietek</bdi></a> pinging <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/julien-f" aria-label="Profile: julien-f">@<bdi>julien-f</bdi></a> for him to take a look</p>
]]></description><link>https://xcp-ng.org/forum/post/60185</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/60185</guid><dc:creator><![CDATA[Darkbeldin]]></dc:creator><pubDate>Wed, 22 Mar 2023 21:42:35 GMT</pubDate></item></channel></rss>