What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello everyone, I am currently trying to get products from the Glue API. This is the endpoint I am
Comments
-
@valerii.trots okay somehow this problem is back and just pruning everything and setting it back up didnt help this time
0 -
What I learned from my problem where I had different results in Glue and Yves was that I had default DE locale in Chrome so Glue returned me less results. Could you check headers of the request and response?
0 -
sure one second
0 -
But the results in Glue and Yves are the same
0 -
0 products returned each time
0 -
Are you searching for
camera
being in DE locale? I have same in our public demo instance - https://www.de.b2b.demo-spryker.com/de/search?q=camera.0 -
But now as I changed default locale of the browser from DE to EN, I have some results here - https://glue.de.b2b.demo-spryker.com/catalog-search?q=camera. Same as https://www.de.b2b.demo-spryker.com/en/search?q=camera.
0 -
Accept-Language is DE. So I would suppose that it returns DE results and for
camera
request there are no results.0 -
Its not that I search for camera and nothing shows up
0 -
I query for an empty string and nothing shows
0 -
I can even query for items that are suggested by auto complete and nothing will show up
0 -
camera was just an example
0 -
Then I have no ideas. Please check your Redis and ES have needed info. You can check them from Zed->Maintenance: Elastic Search or Storage.
0 -
Storage says number of entries: 13888
0 -
And ES? As search results are coming from ES.
0 -
But Redis in our demo instance has 22425 anyway - https://os.de.b2b.demo-spryker.com/storage/maintenance.
0 -
Es entries 0
0 -
-
Now you'll need to check why ES is empty. First thing would be to check
queue.spryker.local
if there are some errors or unprocessed events in queues.0 -
490 event errors
0 -
same as 6 days ago
0 -
for de and us both
0 -
There is a possibility to get 1 message from error queue.
0 -
yes one second
0 -
{"listenerClassName":"Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\Event\\Listener\\ProductPageProductAbstractPublishListener","transferClassName":"Generated\\Shared\\Transfer\\EventEntityTransfer","transferData":{"id":1,"event":null,"name":null,"foreign_keys":[],"modified_columns":[],"original_values":[],"additional_values":[]},"eventName":"Product.product_abstract.publish","retry":1,"retryMessage":"Retry on: Failed to handle \u0022Product.product_abstract.publish\u0022 for listener \u0022Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\Event\\Listener\\ProductPageProductAbstractPublishListener\u0022. Exception: \u0022Undefined offset: 1\u0022, \u0022#0 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Business\/Publisher\/ProductAbstractPagePublisher.php(517): Spryker\\Shared\\ErrorHandler\\ErrorHandlerEnvironment-\u003ESpryker\\Shared\\ErrorHandler\\{closure}(8, \u0027Undefined offse...\u0027, \u0027\/data\/vendor\/sp...\u0027, 517, Array)\n#1 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Business\/Publisher\/ProductAbstractPagePublisher.php(153): Spryker\\Zed\\ProductPageSearch\\Business\\Publisher\\ProductAbstractPagePublisher-\u003EhydrateProductAbstractLocalizedEntitiesWithProductCategories(Array, Array)\n#2 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Business\/Publisher\/ProductAbstractPagePublisher.php(89): Spryker\\Zed\\ProductPageSearch\\Business\\Publisher\\ProductAbstractPagePublisher-\u003EpublishEntities(Array, Array, false)\n#3 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Business\/ProductPageSearchFacade.php(38): Spryker\\Zed\\ProductPageSearch\\Business\\Publisher\\ProductAbstractPagePublisher-\u003Epublish(Array)\n#4 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Communication\/Plugin\/Event\/Listener\/AbstractProductPageSearchListener.php(29): Spryker\\Zed\\ProductPageSearch\\Business\\ProductPageSearchFacade-\u003Epublish(Array)\n#5 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Communication\/Plugin\/Event\/Listener\/ProductPageProductAbstractPublishListener.php(36): Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\Event\\Listener\\AbstractProductPageSearchListener-\u003Epublish(Array)\n#6 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Business\/Queue\/Consumer\/EventQueueConsumer.php(153): Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\Event\\Listener\\ProductPageProductAbstractPublishListener-\u003EhandleBulk(Array, \u0027Product.product...\u0027)\n#7 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Business\/Queue\/Consumer\/EventQueueConsumer.php(136): Spryker\\Zed\\Event\\Business\\Queue\\Consumer\\EventQueueConsumer-\u003EhandleBulkItemsIndividually(Array, \u0027Product.product...\u0027, Object(Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\Event\\Listener\\ProductPageProductAbstractPublishListener), \u0027Spryker\\\\Zed\\\\Pro...\u0027)\n#8 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Business\/Queue\/Consumer\/EventQueueConsumer.php(113): Spryker\\Zed\\Event\\Business\\Queue\\Consumer\\EventQueueConsumer-\u003EhandleBulk(Array, \u0027Spryker\\\\Zed\\\\Pro...\u0027)\n#9 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Business\/EventFacade.php(83): Spryker\\Zed\\Event\\Business\\Queue\\Consumer\\EventQueueConsumer-\u003EprocessMessages(Array)\n#10 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Communication\/Plugin\/Queue\/EventQueueMessageProcessorPlugin.php(29): Spryker\\Zed\\Event\\Business\\EventFacade-\u003EprocessEnqueuedMessages(Array)\n#11 \/data\/vendor\/spryker\/queue\/src\/Spryker\/Zed\/Queue\/Business\/Task\/TaskManager.php(60): Spryker\\Zed\\Event\\Communication\\Plugin\\Queue\\EventQueueMessageProcessorPlugin-\u003EprocessMessages(Array)\n#12 \/data\/vendor\/spryker\/queue\/src\/Spryker\/Zed\/Queue\/Business\/QueueFacade.php(35): Spryker\\Zed\\Queue\\Business\\Task\\TaskManager-\u003Erun(\u0027event\u0027, Array)\n#13 \/data\/vendor\/spryker\/queue\/src\/Spryker\/Zed\/Queue\/Communication\/Console\/QueueTaskConsole.php(55): Spryker\\Zed\\Queue\\Business\\QueueFacade-\u003EstartTask(\u0027event\u0027, Array)\n#14 \/data\/vendor\/symfony\/console\/Command\/Command.php(255): Spryker\\Zed\\Queue\\Communication\\Console\\QueueTaskConsole-\u003Eexecute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#15 \/data\/vendor\/symfony\/console\/Application.php(1029): Symfony\\Component\\Console\\Command\\Command-\u003Erun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#16 \/data\/vendor\/symfony\/console\/Application.php(272): Symfony\\Component\\Console\\Application-\u003EdoRunCommand(Object(Spryker\\Zed\\Queue\\Communication\\Console\\QueueTaskConsole), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#17 \/data\/vendor\/spryker\/console\/src\/Spryker\/Zed\/Console\/Communication\/ConsoleBootstrap.php(198): Symfony\\Component\\Console\\Application-\u003EdoRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#18 \/data\/vendor\/symfony\/console\/Application.php(148): Spryker\\Zed\\Console\\Communication\\ConsoleBootstrap-\u003EdoRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#19 \/data\/vendor\/spryker\/console\/bin\/console(21): Symfony\\Component\\Console\\Application-\u003Erun()\n#20 {main}\u0022.","errorMessage":"Failed to handle \u0022Product.product_abstract.publish\u0022 for listener \u0022Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\Event\\Listener\\ProductPageProductAbstractPublishListener\u0022. Exception: \u0022Undefined offset: 1\u0022, \u0022#0 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Business\/Publisher\/ProductAbstractPagePublisher.php(517): Spryker\\Shared\\ErrorHandler\\ErrorHandlerEnvironment-\u003ESpryker\\Shared\\ErrorHandler\\{closure}(8, \u0027Undefined offse...\u0027, \u0027\/data\/vendor\/sp...\u0027, 517, Array)\n#1 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Business\/Publisher\/ProductAbstractPagePublisher.php(153): Spryker\\Zed\\ProductPageSearch\\Business\\Publisher\\ProductAbstractPagePublisher-\u003EhydrateProductAbstractLocalizedEntitiesWithProductCategories(Array, Array)\n#2 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Business\/Publisher\/ProductAbstractPagePublisher.php(89): Spryker\\Zed\\ProductPageSearch\\Business\\Publisher\\ProductAbstractPagePublisher-\u003EpublishEntities(Array, Array, false)\n#3 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Business\/ProductPageSearchFacade.php(38): Spryker\\Zed\\ProductPageSearch\\Business\\Publisher\\ProductAbstractPagePublisher-\u003Epublish(Array)\n#4 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Communication\/Plugin\/Event\/Listener\/AbstractProductPageSearchListener.php(29): Spryker\\Zed\\ProductPageSearch\\Business\\ProductPageSearchFacade-\u003Epublish(Array)\n#5 \/data\/vendor\/spryker\/product-page-search\/src\/Spryker\/Zed\/ProductPageSearch\/Communication\/Plugin\/Event\/Listener\/ProductPageProductAbstractPublishListener.php(36): Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\Event\\Listener\\AbstractProductPageSearchListener-\u003Epublish(Array)\n#6 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Business\/Queue\/Consumer\/EventQueueConsumer.php(153): Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\Event\\Listener\\ProductPageProductAbstractPublishListener-\u003EhandleBulk(Array, \u0027Product.product...\u0027)\n#7 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Business\/Queue\/Consumer\/EventQueueConsumer.php(136): Spryker\\Zed\\Event\\Business\\Queue\\Consumer\\EventQueueConsumer-\u003EhandleBulkItemsIndividually(Array, \u0027Product.product...\u0027, Object(Spryker\\Zed\\ProductPageSearch\\Communication\\Plugin\\Event\\Listener\\ProductPageProductAbstractPublishListener), \u0027Spryker\\\\Zed\\\\Pro...\u0027)\n#8 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Business\/Queue\/Consumer\/EventQueueConsumer.php(113): Spryker\\Zed\\Event\\Business\\Queue\\Consumer\\EventQueueConsumer-\u003EhandleBulk(Array, \u0027Spryker\\\\Zed\\\\Pro...\u0027)\n#9 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Business\/EventFacade.php(83): Spryker\\Zed\\Event\\Business\\Queue\\Consumer\\EventQueueConsumer-\u003EprocessMessages(Array)\n#10 \/data\/vendor\/spryker\/event\/src\/Spryker\/Zed\/Event\/Communication\/Plugin\/Queue\/EventQueueMessageProcessorPlugin.php(29): Spryker\\Zed\\Event\\Business\\EventFacade-\u003EprocessEnqueuedMessages(Array)\n#11 \/data\/vendor\/spryker\/queue\/src\/Spryker\/Zed\/Queue\/Business\/Task\/TaskManager.php(60): Spryker\\Zed\\Event\\Communication\\Plugin\\Queue\\EventQueueMessageProcessorPlugin-\u003EprocessMessages(Array)\n#12 \/data\/vendor\/spryker\/queue\/src\/Spryker\/Zed\/Queue\/Business\/QueueFacade.php(35): Spryker\\Zed\\Queue\\Business\\Task\\TaskManager-\u003Erun(\u0027event\u0027, Array)\n#13 \/data\/vendor\/spryker\/queue\/src\/Spryker\/Zed\/Queue\/Communication\/Console\/QueueTaskConsole.php(55): Spryker\\Zed\\Queue\\Business\\QueueFacade-\u003EstartTask(\u0027event\u0027, Array)\n#14 \/data\/vendor\/symfony\/console\/Command\/Command.php(255): Spryker\\Zed\\Queue\\Communication\\Console\\QueueTaskConsole-\u003Eexecute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#15 \/data\/vendor\/symfony\/console\/Application.php(1029): Symfony\\Component\\Console\\Command\\Command-\u003Erun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#16 \/data\/vendor\/symfony\/console\/Application.php(272): Symfony\\Component\\Console\\Application-\u003EdoRunCommand(Object(Spryker\\Zed\\Queue\\Communication\\Console\\QueueTaskConsole), Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#17 \/data\/vendor\/spryker\/console\/src\/Spryker\/Zed\/Console\/Communication\/ConsoleBootstrap.php(198): Symfony\\Component\\Console\\Application-\u003EdoRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#18 \/data\/vendor\/symfony\/console\/Application.php(148): Spryker\\Zed\\Console\\Communication\\ConsoleBootstrap-\u003EdoRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\n#19 \/data\/vendor\/spryker\/console\/bin\/console(21): Symfony\\Component\\Console\\Application-\u003Erun()\n#20 {main}\u0022."}
0 -
same as 6 days ago https://pastebin.com/59Z0LVHk
0 -
Sorry, I have no more ideas.
I've just checked latestspryker-shop/b2b-demo-shop
with latestspryker/docker-sdk
locally and there are no problems.
I'm running Ubuntu 20.04.valerii@x1c7:~/Spryker/b2b-demoshop$ uname -r 5.4.0-47-generic valerii@x1c7:~/Spryker/b2b-demoshop$ docker -v Docker version 19.03.12, build 48a66213fe
0 -
Okay and where do I go from here?
0 -
I'm not sure if it's really a docker-related problem or not.
But when yes, probably @ULYHPR789 could have any ideas as he is the architect ofspryker/docker-sdk
. But he is on vacation.If you need to work, please try our Vagrant based devvm. It won't be so fast on Linux but at least you'll be able to see if it's docker-related problem or not.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random