<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 22:26:03 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>[MODAES-7] Configuration cannot be retrieved due to 502 errors</title>
                <link>https://folio-org.atlassian.net/browse/MODAES-7</link>
                <project id="10252" key="MODAES">ARCHIVED: mod-aes</project>
                    <description>&lt;p&gt;When sending the GET /configurations/entries request, we use CQL in the query parameter. This includes white space around the CQL operators. Assuming nginx is in front of Okapi in the FOLIO deployment, for whatever reason, it will return a 502 (Bad Gateway) for a request that has query parameters with unencoded spaces.&lt;/p&gt;

&lt;p&gt;We should URL encode the &quot;query&quot; string so that nginx will allow this query.&lt;/p&gt;

&lt;p&gt;Example via curl:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;$ curl -X GET   &apos;https://okapi.example.com/configurations/entries?query=(module=AES and configName=routing_rules)&amp;amp;limit=2147483647&apos;  -H &apos;content-type: application/json&apos; -H &apos;x-okapi-tenant: &amp;lt;some-tenant-id&amp;gt;&apos;   -H &apos;x-okapi-token: &amp;lt;some-token&amp;gt;&apos;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;502 Bad Gateway&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;
&amp;lt;body bgcolor=&quot;white&quot;&amp;gt;
&amp;lt;center&amp;gt;&amp;lt;h1&amp;gt;502 Bad Gateway&amp;lt;/h1&amp;gt;&amp;lt;/center&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Same query with spaces encoded to %20:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;$ curl -X GET   &apos;https://okapi.example.com/configurations/entries?query=(module=AES%20and%20configName=routing_rules)&amp;amp;limit=2147483647&apos; -H &apos;content-type: application/json&apos; -H &apos;x-okapi-tenant: &amp;lt;some-tenant-id&amp;gt;&apos;   -H &apos;x-okapi-token: &amp;lt;some-token&amp;gt;
{
  &quot;configs&quot; : [ ],
  &quot;totalRecords&quot; : 0,
  &quot;resultInfo&quot; : {
    &quot;totalRecords&quot; : 0,
    &quot;facets&quot; : [ ],
    &quot;diagnostics&quot; : [ ]
  }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="79062">MODAES-7</key>
            <summary>Configuration cannot be retrieved due to 502 errors</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="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</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="10003">Done</resolution>
                                                        <assignee accountid="70121:e70f578f-dc5a-4a30-8836-fc2418025d21">Matt Reno</assignee>
                                                                <reporter accountid="70121:e70f578f-dc5a-4a30-8836-fc2418025d21">Matt Reno</reporter>
                                    <labels>
                    </labels>
                <created>Wed, 29 Jul 2020 14:59:54 +0000</created>
                <updated>Thu, 30 Jul 2020 21:13:55 +0000</updated>
                            <resolved>Thu, 30 Jul 2020 21:13:55 +0000</resolved>
                                                    <fixVersion>0.0.2</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                        <attachments>
                    </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|i01hor:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </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>