[ECOMMERCE-484] Investigate-Throwing the SocketException when calling the rest endpoint of ProductByCategoryId Created: 19/Oct/21  Updated: 16/Nov/21  Resolved: 08/Nov/21

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

Type: Improvement Priority: Neutral
Reporter: Thuy To Assignee: Thuy To
Resolution: Won't Fix Votes: 0
Labels: VN-Maintenance
Remaining Estimate: Not Specified
Time Spent: 7.75d
Original Estimate: Not Specified

Attachments: PNG File image-2021-10-19-13-36-12-120.png    
Issue Links:
relation
is related to ECOMMERCE-464 Investigate - Salesforce seems to los... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Sprint: Content Mngmt 15, Content Mngmnt 16 / Maintenace
Story Points: 5

 Description   

Reproduce:

+ Execute the rest endpoint by postman:

http://localhost:8080/magnolia_addon_webapp_war_exploded/.rest/ecommerce/v1/products/category/apparel-m-catalog~mens-accessories-gloves?definitionName=salesforce-commerce&connectionName=connection

 + The exception occurs only time to time at line 182

Current solution: Retry execute request again since sometimes SocketException occurs.

Expectation: Should find the root cause to fix this problem.

 

 



 Comments   
Comment by Thuy To [ 08/Nov/21 ]

After researched and investigated, I've not found any configuration regarding to fixing this issue in the salesforce sandbox yet. So temporarily still applying the retry one time when throwing SocketException.

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