<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:24:01 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-2891] AWS load balancer timeout issue on Rancher</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2891</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Spitfire team faced the issue when one request is processing more than 1 min and end-user receives 504 Gateway Time-out response.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;&lt;em&gt;Detailed information:&lt;/em&gt;&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;team - Spitfire&lt;/li&gt;
	&lt;li&gt;module - mod-kb-ebsco-java&lt;/li&gt;
	&lt;li&gt;application name on Rancher - mod-kb-ebsco-java-poc&lt;/li&gt;
	&lt;li&gt;tenant - exportpoc&lt;/li&gt;
	&lt;li&gt;request - ... /eholdings/packages/&amp;lt;package_id&amp;gt;/resources/costperuse/export?platform=&amp;lt;platform_type&amp;gt;&amp;amp;fiscalYear=&amp;lt;year&amp;gt;&lt;br/&gt;
example
&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;
/eholdings/packages/36-7191/resources/costperuse/export?platform=all&amp;amp;fiscalYear=2019
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;&lt;em&gt;Actual result:&lt;/em&gt;&lt;/b&gt;&lt;br/&gt;
According to the logs, request processing time is ~ 3 min&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;
25 Nov 2020 09:50:46:723 INFO  ExportServiceImpl [] PACKAGE - 36-7191
...
25 Nov 2020 09:53:05:045 INFO  LogUtil [reqId=009076/eholdings] 192.168.179.174:33908 GET /eholdings/packages/36-7191/resources/costperuse/export platform=all&amp;amp;fiscalYear=2019 HTTP_1_1 200 4000110 80946 tid=exportpoc OK 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Postman response:&lt;br/&gt;
 &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;64332_thumb&quot; href=&quot;/rest/api/3/attachment/content/64332&quot; title=&quot;Screenshot 2020-11-25 at 12.02.35.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;64332&quot; file-preview-title=&quot;Screenshot 2020-11-25 at 12.02.35.png&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/64332?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/64332&quot; filename=&quot;Screenshot 2020-11-25 at 12.02.35.png&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/64332&quot; data-attachment-name=&quot;Screenshot 2020-11-25 at 12.02.35.png&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;5dfd27f9-17e9-4b20-a0af-ac1daa277694&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;

&lt;p&gt;the response header contains &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; Server: awselb/2.0 &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt; which reffers to default timeout value for Folio&lt;/p&gt;</description>
                <environment></environment>
        <key id="81851">FOLIO-2891</key>
            <summary>AWS load balancer timeout issue on Rancher</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="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</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="5f2840580d8b1a001bd02aae">Stanislav Miroshnichenko</assignee>
                                                                <reporter accountid="70121:26da6b78-0d8a-4d47-b80e-9541f5e4cea5">Natalia Zaitseva</reporter>
                                    <labels>
                            <label>KT-ID</label>
                    </labels>
                <created>Wed, 25 Nov 2020 10:25:57 +0000</created>
                <updated>Mon, 4 Jan 2021 08:16:27 +0000</updated>
                            <resolved>Mon, 4 Jan 2021 08:16:27 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="197760" author="5f9abc1eb45b2e007453f423" created="Tue, 15 Dec 2020 22:39:19 +0000"  >&lt;p&gt;Hi Stanislav - There are two ingress endpoints that should have idle timeout increased.  This is the flow:   AWS ALB Ingress-&amp;gt;Nginx Ingress-&amp;gt;Okapi&lt;/p&gt;

&lt;p&gt;The settings should be made in the alb ingress manifest and the nginx/okapi ingress manifest.   In both cases you need to add an annotation.   On the folio-eks-us-west-2 cluster:&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;$ kubectl -n kube-system get ingress     
NAME                                HOSTS               ADDRESS                                                                  PORTS   AGE
alb-ingress-folio-eks-2-us-west-2   *                   f2b6996c-kubesystem-albing-accc-1096161577.us-west-2.elb.amazonaws.com   80      181d
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I&apos;ve added the necessary annotation, &apos;alb.ingress.kubernetes.io/load-balancer-attributes: idle_timeout.timeout_seconds=300&apos;  to the alb ingress on folio-eks-us-west-2 already .   This makes the idle timeout 5 minutes. &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;$ kubectl -n kube-system get ingress alb-ingress-folio-eks-2-us-west-2 -o yaml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  annotations:
    alb.ingress.kubernetes.io/actions.ssl-redirect: &apos;{&quot;Type&quot;: &quot;redirect&quot;, &quot;RedirectConfig&quot;:
      { &quot;Protocol&quot;: &quot;HTTPS&quot;, &quot;Port&quot;: &quot;443&quot;, &quot;StatusCode&quot;: &quot;HTTP_301&quot;}}&apos;
    alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-west-2:732722833398:certificate/b1e1ca4b-0f0a-41c8-baaa-8b64a1cd4e0a
    alb.ingress.kubernetes.io/healthcheck-path: /healthz
    alb.ingress.kubernetes.io/listen-ports: &apos;[{&quot;HTTP&quot;:80,&quot;HTTPS&quot;: 443}]&apos;
    alb.ingress.kubernetes.io/load-balancer-attributes: idle_timeout.timeout_seconds=300
    alb.ingress.kubernetes.io/scheme: internet-facing
    alb.ingress.kubernetes.io/security-groups: sg-003280ea7c76f431f
    alb.ingress.kubernetes.io/success-codes: 200-399
    alb.ingress.kubernetes.io/target-type: instance
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;For each of the okapi ingress manifests,  add the following annotation: &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;nginx.ingress.kubernetes.io/proxy-read-timeout: &quot;300&quot;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;



</comment>
                                                            <comment id="197763" author="5f2840580d8b1a001bd02aae" created="Wed, 16 Dec 2020 12:21:43 +0000"  >&lt;p&gt;Thank you &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5f9abc1eb45b2e007453f423&quot; class=&quot;user-hover&quot; rel=&quot;5f9abc1eb45b2e007453f423&quot; data-account-id=&quot;5f9abc1eb45b2e007453f423&quot; accountid=&quot;5f9abc1eb45b2e007453f423&quot; rel=&quot;noreferrer&quot;&gt;John Malconian&lt;/a&gt;&lt;/p&gt;</comment>
                                                            <comment id="197766" author="5f2840580d8b1a001bd02aae" created="Fri, 18 Dec 2020 11:02:56 +0000"  >&lt;p&gt;Added 900 sec. time out for:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;okapi helm chart version &amp;gt;= 0.3.25&lt;/li&gt;
	&lt;li&gt;edge-oai-pmh helm chart version &amp;gt;= 0.1.27&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Ingress &apos;alb-ingress-folio-eks-2-us-west-2&apos; idle_timeout increased to 900 sec.&lt;/p&gt;

&lt;p&gt;Annotations:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;nginx.ingress.kubernetes.io/proxy-connect-timeout: &quot;900&quot;&lt;/li&gt;
	&lt;li&gt;nginx.ingress.kubernetes.io/proxy-read-timeout: &quot;900&quot;&lt;/li&gt;
	&lt;li&gt;nginx.ingress.kubernetes.io/proxy-send-timeout: &quot;900&quot;&lt;/li&gt;
&lt;/ul&gt;

</comment>
                    </comments>
                    <attachments>
                            <attachment id="64332" name="Screenshot 2020-11-25 at 12.02.35.png" size="322139" author="70121:26da6b78-0d8a-4d47-b80e-9541f5e4cea5" created="Wed, 25 Nov 2020 10:03:11 +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_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10155"><![CDATA[FOLIO DevOps]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01jgo:ti</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="1884">DevOps: Sprint 104</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 15 Dec 2020 22:39:19 +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>