[ECOMMERCE-587] The timeouts values for e-commerce connectors are too high Created: 04/Aug/23  Updated: 13/Oct/23  Resolved: 02/Oct/23

Status: Closed
Project: E-commerce
Component/s: None
Affects Version/s: 1.3.4
Fix Version/s: 1.3.5

Type: Bug Priority: Blocker
Reporter: Tobias Kerschbaum Assignee: Miguel Martinez
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: 1h
Time Spent: 2d 4.5h
Original Estimate: Not Specified
Environment:

Magnolia version tested:

  • 6.2.33
  • 6.2.36

Attachments: Text File CommercetoolsError.log     PNG File image-2023-08-04-13-01-06-149.png    
Issue Links:
Problem/Incident
is caused by ECOMMERCE-565 Cannot select the product on SAP conn... Closed
causality
dependency
is depended upon by ECOMMERCE-572 Release ECOMMERCE 1.3.5 Closed
documentation
to be documented by ECOMMERCE-596 DOC: Connection timeout section Closed
relation
is related to ECOMMERCE-581 Magnolia freezes the UI for 5 minute... Open
is related to ECOMMERCE-589 External eCommerce search suppliers s... Open
is related to ECOMMERCE-590 Improve pagination on the commercetoo... Open
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Documentation update required:
Yes
Date of First Response:
Epic Link: AuthorX Maintenance
Story Points: 8
Team: AuthorX
Work Started:
Approved:
Yes

 Description   

Steps to reproduce

  1. Try to open up the dialog of a 'ecommerceProductLinkField'
  2. Select the commercetools connection

Expected results

See all the categories/products to choose from

Connection timeouts are configurable

Default values should be lowered to 10s for connection timeout and 30 seconds for read timeout.

Actual results

Session gets killed and deadlook happens. See stacktrace.

Workaround

Development notes

It is really strange because after we restart the server the connection is working again. After some time the problem reappears.



 Comments   
Comment by Raymond Tran [ 04/Aug/23 ]

Hi Ecommerce team,
This is a huge blocker for Services as our ecommerce demo depends on CT as the primary catalog data provider. I am presenting a demo to a prospect next week and will not be able to show the latest version of the demo.
Noticed this began happening after 6.2.37 upgrade. After rolling back to 6.2.33 the issue no longer occurs.

Comment by Alberto Soto [ 04/Aug/23 ]

Discovery notes:

The current commerce data generates a json malformed exception that was solved with https://jira.magnolia-cms.com/browse/ECOMMERCE-565 

After installing v1.3.5-snapshot on a demo instance, we were able to choose data properly as shown in the image bellow.

We will deliver https://jira.magnolia-cms.com/browse/ECOMMERCE-572 ASAP so users can avoid the same issue.

Generated at Mon Feb 12 01:45:30 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.