<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:10:31 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-1059] Error from stripes UI settings/about page OKAPI version shows unknown</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-1059</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;1)&#160; Enable mod-permissions, mod-login, mod-users, mod-users-bl, mod-configuration&#160; for the OKAPI supertenant&lt;br/&gt;
2)&#160; Add an administrative user to the OKAPI supertenant...&#160; (users, permissions_users, and login database tables)&lt;br/&gt;
3)&#160; Enable mod-authtoken for the OKAPI supertenant.&lt;br/&gt;
4) Create a new tenant with x-okapi-tenant :supertenant and x-okapi-token &lt;br/&gt;
5) Build the ui bundle with all the modules enabled to the new tenant&lt;br/&gt;
6) Go to settings about page&lt;/p&gt;</description>
                <environment></environment>
        <key id="80577">FOLIO-1059</key>
            <summary>Error from stripes UI settings/about page OKAPI version shows unknown</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10002">Cannot Reproduce</resolution>
                                                        <assignee accountid="5f8314dfbdef80006f6f572d">Adam Dickmeiss</assignee>
                                                                <reporter accountid="712020:6f67be58-0278-4464-a746-52b240580203">Tanuja Gadde</reporter>
                                    <labels>
                    </labels>
                <created>Thu, 8 Feb 2018 17:11:18 +0000</created>
                <updated>Mon, 12 Nov 2018 14:24:06 +0000</updated>
                            <resolved>Tue, 3 Apr 2018 11:53:39 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                    <timespent seconds="3600">1 hour</timespent>
                                <comments>
                                                            <comment id="189665" author="5bffed52a1b46046f530c8f7" created="Thu, 8 Feb 2018 17:31:14 +0000"  >&lt;p&gt;On my local dev setup (with a &lt;tt&gt;folio-testing-backend&lt;/tt&gt; VM) I see&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;b&gt;Okapi&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Version 2.8.3&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;On my &lt;a href=&quot;http://folio-snapshot.aws.indexdata.com/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://folio-snapshot.aws.indexdata.com/&lt;/a&gt; I see the same.&lt;/p&gt;

&lt;p&gt;So is this something you are seeing only on your local development setup?&lt;/p&gt;</comment>
                                                            <comment id="189666" author="5bffed52a1b46046f530c8f7" created="Thu, 8 Feb 2018 17:33:46 +0000"  >&lt;p&gt;If you look at the Network tab of your browser&apos;s development tools when FOLIO starts up (e.g. after you hit Reload), you should see that one of the first requests it makes is for&lt;br/&gt;
&lt;a href=&quot;http://folio-snapshot-113.aws.indexdata.com:9130/_/version&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;http://folio-snapshot-113.aws.indexdata.com:9130/_/version&lt;/a&gt;&lt;br/&gt;
(though of course with your FOLIO server&apos;s basename &amp;#8211; the important part is &lt;tt&gt;/_/version&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;What is the response?&lt;/p&gt;</comment>
                                                            <comment id="189668" author="712020:6f67be58-0278-4464-a746-52b240580203" created="Thu, 8 Feb 2018 17:45:18 +0000"  >&lt;p&gt;We are seeing this within our hosting environment.I belive one of the major difference is enabling the supertenant as x-okapi-tenant and using supertenant to generate the auth token.&lt;/p&gt;

&lt;p&gt;Here is the Reponse from console browser.&lt;br/&gt;
Missing header: X-Okapi-Tenant&lt;/p&gt;

&lt;p&gt;*Req: curl -vi  &lt;/p&gt;
{foliohostingurl}/_/version *&lt;br/&gt;
Response: &amp;gt; User-Agent: curl/7.53.1&lt;br/&gt;
&amp;gt; Accept: &lt;b&gt;/&lt;/b&gt;&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;lt; HTTP/1.1 400 Bad Request&lt;br/&gt;
HTTP/1.1 400 Bad Request&lt;br/&gt;
&amp;lt; Date: Thu, 08 Feb 2018 17:38:40 GMT&lt;br/&gt;
Date: Thu, 08 Feb 2018 17:38:40 GMT&lt;br/&gt;
&amp;lt; Transfer-Encoding: chunked&lt;br/&gt;
Transfer-Encoding: chunked&lt;br/&gt;
&amp;lt; Connection: keep-alive&lt;br/&gt;
Connection: keep-alive&lt;br/&gt;
&amp;lt; Server: nginx/1.10.3&lt;br/&gt;
Server: nginx/1.10.3&lt;br/&gt;
&amp;lt; X-Okapi-Trace: GET mod-authtoken-1.2.0-SNAPSHOT.77&lt;br/&gt;
X-Okapi-Trace: GET mod-authtoken-1.2.0-SNAPSHOT.77 &lt;br/&gt;
&lt;br/&gt;
&amp;lt;&lt;br/&gt;
&lt;b&gt;Missing header: X-Okapi-Tenant&lt;/b&gt;&lt;br/&gt;
&lt;br/&gt;
*Req: curl -vi  {foliohostingurl}
&lt;p&gt;/_/version -H  &quot;x-okapi-tenant:supertenant&quot;&lt;br/&gt;
*&lt;br/&gt;
*Response  *User-Agent: curl/7.53.1&lt;br/&gt;
&amp;gt; Accept: &lt;b&gt;/&lt;/b&gt;&lt;br/&gt;
&amp;gt; x-okapi-tenant:supertenant&lt;br/&gt;
&amp;gt;&lt;br/&gt;
&amp;lt; HTTP/1.1 200 OK&lt;br/&gt;
HTTP/1.1 200 OK&lt;br/&gt;
&amp;lt; Date: Thu, 08 Feb 2018 17:39:16 GMT&lt;br/&gt;
Date: Thu, 08 Feb 2018 17:39:16 GMT&lt;br/&gt;
&amp;lt; Content-Type: text/plain&lt;br/&gt;
Content-Type: text/plain&lt;br/&gt;
&amp;lt; Content-Length: 14&lt;br/&gt;
Content-Length: 14&lt;br/&gt;
&amp;lt; Connection: keep-alive&lt;br/&gt;
Connection: keep-alive&lt;br/&gt;
&amp;lt; Server: nginx/1.10.3&lt;br/&gt;
Server: nginx/1.10.3&lt;br/&gt;
&amp;lt; X-Okapi-Trace: GET mod-authtoken-1.2.0-SNAPSHOT.77 &lt;br/&gt;
X-Okapi-Trace: GET mod-authtoken-1.2.0-SNAPSHOT.77&lt;br/&gt;
&amp;lt; X-Okapi-Trace: GET okapi-2.8.4-SNAPSHOT /_/version : 200 594us&lt;br/&gt;
X-Okapi-Trace: GET okapi-2.8.4-SNAPSHOT /_/version : 200 594us&lt;/p&gt;
</comment>
                                                            <comment id="189672" author="5bffed52a1b46046f530c8f7" created="Thu, 8 Feb 2018 17:49:12 +0000"  >&lt;p&gt;Assigning to Adam as this seems to be an Okapi-specific issue.&lt;/p&gt;</comment>
                                                            <comment id="189673" author="5f8314dfbdef80006f6f572d" created="Fri, 9 Feb 2018 07:28:50 +0000"  >&lt;p&gt;Don&apos;t see the response above .. Length is 14, but what is the content??&lt;/p&gt;</comment>
                                                            <comment id="189675" author="712020:6f67be58-0278-4464-a746-52b240580203" created="Fri, 9 Feb 2018 14:07:31 +0000"  >&lt;p&gt;The response comes back as 2.8.4-SNAPSHOT&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
curl -vi  {foliohostingurl}/_/version -H &lt;span class=&quot;code-quote&quot;&gt;&quot;x-okapi-tenant:supertenant&quot;&lt;/span&gt;

* TCP_NODELAY set
* Connected to {hosturl} port 9130 (#0)
&amp;gt; GET /_/version HTTP/1.1
&amp;gt; Host: {hosturl}
&amp;gt; User-Agent: curl/7.53.1
&amp;gt; Accept: */*
&amp;gt; x-okapi-tenant:supertenant
&amp;gt;
&amp;lt; HTTP/1.1 200 OK
HTTP/1.1 200 OK
&amp;lt; Date: Fri, 09 Feb 2018 14:03:30 GMT
Date: Fri, 09 Feb 2018 14:03:30 GMT
&amp;lt; Content-Type: text/plain
Content-Type: text/plain
&amp;lt; Content-Length: 14
Content-Length: 14
&amp;lt; Connection: keep-alive
Connection: keep-alive
&amp;lt; Server: nginx/1.10.3
Server: nginx/1.10.3
&amp;lt; X-Okapi-Trace: GET mod-authtoken-1.2.0-SNAPSHOT.77{url} : 202 4019us
X-Okapi-Trace: GET mod-authtoken-1.2.0-SNAPSHOT.77 {url}: 202 4019us
&amp;lt; X-Okapi-Trace: GET okapi-2.8.4-SNAPSHOT /_/version : 200 370us
X-Okapi-Trace: GET okapi-2.8.4-SNAPSHOT /_/version : 200 370us

&amp;lt;
* Connection #0 to host {url} left intact
2.8.4-SNAPSHOT
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="189677" author="5cf6c546b87c300f36eb7b9a" created="Tue, 13 Feb 2018 14:48:48 +0000"  >&lt;p&gt;I think the problem is more broad than the title implies...  Based on what I&apos;m seeing, it looks like stripes is failing to send the X-Okapi-Tenant and X-Okapi-Token headers when making these requests... So if you have OKAPI locked down, these calls can&apos;t succeed, and the about page is useless.&lt;/p&gt;</comment>
                                                            <comment id="189679" author="712020:38d1a08f-86a8-4df2-9191-239b16b0a81a" created="Tue, 13 Feb 2018 15:38:27 +0000"  >&lt;p&gt;Hmm, yes. If there is no X-Okapi-Tenant or -Token header, Okapi can not figure which tenant the call is made for, and can not see which modules should be enabled.  Of course the okapi version should be the same for all tenants, but the routing of the request still needs to have a tenant at hand.&lt;/p&gt;

&lt;p&gt;The actual version request does not seem to need any specific permissions. So it ought to be enough to pass the X-Okapi-Tenant header to get the version. passing a (valid) token should also work. &lt;/p&gt;</comment>
                                                            <comment id="189680" author="5f8314dfbdef80006f6f572d" created="Tue, 3 Apr 2018 11:53:39 +0000"  >&lt;p&gt;Can not reproduce in Okapi at least.&lt;/p&gt;</comment>
                                                            <comment id="189682" author="5cf6c546b87c300f36eb7b9a" created="Tue, 12 Jun 2018 19:16:20 +0000"  >&lt;p&gt;This is still an issue for us... If OKAPI is locked down, the about page breaks.&lt;/p&gt;

&lt;p&gt;The problem is that the UI isn&apos;t sending either:  X-Okapi-Tenant or X-Okapi-Token on the call to /&lt;em&gt;/version or /&lt;/em&gt;/proxy/tenants/fs00000000/modules?full=true when the page loads.  As such, you get 400 responses:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$ curl http:&lt;span class=&quot;code-comment&quot;&gt;//pvt.lb.fse.folio-eis.us-east-1:9130/_/version -v
&lt;/span&gt;*   Trying 10.23.32.8...
* TCP_NODELAY set
* Connected to pvt.lb.fse.folio-eis.us-east-1 (10.23.32.8) port 9130 (#0)
&amp;gt; GET /_/version HTTP/1.1
&amp;gt; Host: pvt.lb.fse.folio-eis.us-east-1:9130
&amp;gt; User-Agent: curl/7.53.1
&amp;gt; Accept: */*
&amp;gt; 
&amp;lt; HTTP/1.1 400 Bad Request
&amp;lt; Date: Tue, 12 Jun 2018 19:14:29 GMT
&amp;lt; Transfer-Encoding: chunked
&amp;lt; Connection: keep-alive
&amp;lt; Server: nginx/1.10.3
&amp;lt; X-Okapi-Trace: GET mod-authtoken-1.4.1-SNAPSHOT.107 http:&lt;span class=&quot;code-comment&quot;&gt;//pvt.lb.fse.folio-eis.us-east-1:8051/mod-authtoken/_/version : 400 4989us
&lt;/span&gt;&amp;lt; 
* Connection #0 to host pvt.lb.fse.folio-eis.us-east-1 left intact
Missing header: X-Okapi-Tenant
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$ curl &lt;span class=&quot;code-quote&quot;&gt;&apos;http:&lt;span class=&quot;code-comment&quot;&gt;//pvt.lb.fse.folio-eis.us-east-1:9130/_/proxy/tenants/fs00000000/modules?full=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;&apos;&lt;/span&gt; -v
&lt;/span&gt;*   Trying 10.23.32.8...
* TCP_NODELAY set
* Connected to pvt.lb.fse.folio-eis.us-east-1 (10.23.32.8) port 9130 (#0)
&amp;gt; GET /_/proxy/tenants/fs00000000/modules?full=&lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt; HTTP/1.1
&amp;gt; Host: pvt.lb.fse.folio-eis.us-east-1:9130
&amp;gt; User-Agent: curl/7.53.1
&amp;gt; Accept: */*
&amp;gt; 
&amp;lt; HTTP/1.1 400 Bad Request
&amp;lt; Date: Tue, 12 Jun 2018 19:16:00 GMT
&amp;lt; Transfer-Encoding: chunked
&amp;lt; Connection: keep-alive
&amp;lt; Server: nginx/1.10.3
&amp;lt; X-Okapi-Trace: GET mod-authtoken-1.4.1-SNAPSHOT.107 http:&lt;span class=&quot;code-comment&quot;&gt;//pvt.lb.fse.folio-eis.us-east-1:8051/mod-authtoken/_/proxy/tenants/fs00000000/modules.. : 400 3930us
&lt;/span&gt;&amp;lt; 
* Connection #0 to host pvt.lb.fse.folio-eis.us-east-1 left intact
Missing header: X-Okapi-Tenant
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="189685" author="5cf6c546b87c300f36eb7b9a" created="Tue, 12 Jun 2018 19:23:24 +0000"  >&lt;p&gt; &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;64024_thumb&quot; href=&quot;/rest/api/3/attachment/content/64024&quot; title=&quot;FOLIO_1059.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;64024&quot; file-preview-title=&quot;FOLIO_1059.png&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/64024?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/64024&quot; filename=&quot;FOLIO_1059.png&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/64024&quot; data-attachment-name=&quot;FOLIO_1059.png&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;07a19537-c021-4d3a-908f-3d00b16d8a61&quot; data-media-services-type=&quot;file&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/jira-attachment-thumbnail&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;</comment>
                                                            <comment id="189689" author="5cf6c546b87c300f36eb7b9a" created="Tue, 12 Jun 2018 19:26:18 +0000"  >&lt;p&gt;Note that if you explicitly provide &quot;X-Okapi-Tenant: supertenant&quot; these work fine...&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
$ curl http:&lt;span class=&quot;code-comment&quot;&gt;//pvt.lb.fse.folio-eis.us-east-1:9130/_/version -v -H &lt;span class=&quot;code-quote&quot;&gt;&quot;X-Okapi-Tenant: supertenant&quot;&lt;/span&gt;
&lt;/span&gt;*   Trying 10.23.32.69...
* TCP_NODELAY set
* Connected to pvt.lb.fse.folio-eis.us-east-1 (10.23.32.69) port 9130 (#0)
&amp;gt; GET /_/version HTTP/1.1
&amp;gt; Host: pvt.lb.fse.folio-eis.us-east-1:9130
&amp;gt; User-Agent: curl/7.53.1
&amp;gt; Accept: */*
&amp;gt; X-Okapi-Tenant: supertenant
&amp;gt; 
&amp;lt; HTTP/1.1 200 OK
&amp;lt; Date: Tue, 12 Jun 2018 19:25:55 GMT
&amp;lt; Content-Type: text/plain
&amp;lt; Content-Length: 15
&amp;lt; Connection: keep-alive
&amp;lt; Server: nginx/1.10.3
&amp;lt; X-Okapi-Trace: GET mod-authtoken-1.4.1-SNAPSHOT.107 http:&lt;span class=&quot;code-comment&quot;&gt;//pvt.lb.fse.folio-eis.us-east-1:8051/mod-authtoken/_/version : 202 5684us
&lt;/span&gt;&amp;lt; X-Okapi-Trace: GET okapi-2.14.2-SNAPSHOT /_/version : 200 518us
&amp;lt; 
* Connection #0 to host pvt.lb.fse.folio-eis.us-east-1 left intact
2.14.2-SNAPSHOT
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                                                            <comment id="189692" author="5cf6c546b87c300f36eb7b9a" created="Tue, 12 Jun 2018 20:34:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f8314dfbdef80006f6f572d&quot; class=&quot;user-hover&quot; rel=&quot;5f8314dfbdef80006f6f572d&quot; data-account-id=&quot;5f8314dfbdef80006f6f572d&quot; accountid=&quot;5f8314dfbdef80006f6f572d&quot; rel=&quot;noreferrer&quot;&gt;Adam Dickmeiss&lt;/a&gt; FYI:  &lt;a href=&quot;https://github.com/folio-org/stripes-core/pull/322&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://github.com/folio-org/stripes-core/pull/322&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="189695" author="712020:6f67be58-0278-4464-a746-52b240580203" created="Tue, 19 Jun 2018 14:36:28 +0000"  >&lt;p&gt;Closing since this is fixed now.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="64024" name="FOLIO_1059.png" size="86991" author="5cf6c546b87c300f36eb7b9a" created="Tue, 12 Jun 2018 19:20:18 +0000"/>
                            <attachment id="64025" name="screenshot-1.png" size="161692" author="712020:6f67be58-0278-4464-a746-52b240580203" created="Thu, 8 Feb 2018 17:17:04 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzy9zr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 8 Feb 2018 17:31:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>