<div dir="ltr">On Sun, May 21, 2017 at 4:52 PM, Petter Reinholdtsen &lt;<a href="mailto:pere@hungry.com">pere@hungry.com</a>&gt; wrote:<br>&gt; [Ole Aamot]<br>&gt;&gt;&gt; Is runtest able to talk to the API?  If so, I guess the API is working<br>&gt;&gt;&gt; and the problem is in the browser.<br>&gt;&gt; I have run nikita-noark5-core by entering &quot;make&quot; in src/nikita-noark5-core<br>&gt;&gt; and the web client by entering &quot;make run&quot; in<br>&gt;&gt; src/nikita-noark5-core/web/<br>&gt;<br>&gt; Same as I.  But is runtest from the noark5-tester git repo able to talk<br>&gt; to the API?<br><br>Yes, noark5-tester/runtest is able to talk to the nikita-noark5-core API!<br><br>$ ./runtest --baseurl <a href="http://localhost:8092/noark5v4/">http://localhost:8092/noark5v4/</a><br>[...]<br><div>676 successes, 14 failures, 279 expected failures<br><br>&gt;&gt; From the JavaScript console in Chrome for <a href="http://localhost:3000/">http://localhost:3000/</a><br>&gt;&gt; experimental/login.html<br>&gt;&gt;<br>&gt;&gt; angular.js:12587 OPTIONS <a href="http://localhost:8092/noark5v4//auth">http://localhost:8092/noark5v4//auth</a><br>&gt;&gt; net::ERR_CONNECTION_REFUSED<br>&gt;&gt; client.js:99 helloundefined<br>&gt;<br>&gt; Sound like some CORS problem.<br>&gt;<br>&gt;&gt; Do I have to populate a MySQL database with username (&quot;admin&quot;) and<br>&gt;&gt; password (&quot;password&quot;) before I can login?<br>&gt;<br>&gt; Are you sure you are using MySQL?  I use the RAM database that is<br>&gt; selected by default when running &#39;make&#39;.  The users are created<br>&gt; automatically when the RAM database is initialized.<br><br>I haven&#39;t yet configured MySQL for storage in nikita-noark5-core except<div>in the PHP import script in src/noark5-validator/src/importExtraction.php<div>so I guess I am using the RAM database for nikita-noark5-core.</div><div><br>&gt;&gt; How about making it possible to select login domain in the web client<br>&gt;&gt; from a list of servers such as localhost:8092, <a href="http://nikita.hioa.no:8092">nikita.hioa.no:8092</a>,<br>&gt;&gt; <a href="http://nikita.nuug.no:8092">nikita.nuug.no:8092</a>, etc.?<br>&gt;<br>&gt; That would be cool.  Patches welcome.  See also<br>&gt; &lt;URL: <a href="https://github.com/HiOA-ABI/nikita-noark5-core/issues/40">https://github.com/HiOA-ABI/nikita-noark5-core/issues/40</a> &gt;.<br><br></div></div></div><div>I guess some kind of global service for discovering and finding noark5</div><div>servers is necessary or is a static list of the FQDN of servers enough?</div><div><br></div><div><div>As far as I can tell on</div><div><br></div><div><a href="https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&amp;page=109">https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&amp;page=109</a></div><div><br></div><div>the Internet service port number 8092 is available and not yet registered.</div></div><div><br></div><div>Has the port number 8092 been sent for registration with IANA or do you plan to register it for nikita-noark5-core?</div><div><br></div><div>Best,</div><div>Ole Aamot</div></div>