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

2»

Comments

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet
    edited September 2020

    @valerii.trots okay somehow this problem is back and just pruning everything and setting it back up didnt help this time

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited September 2020

    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?

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    sure one second

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    But the results in Glue and Yves are the same

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    0 products returned each time

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    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.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited September 2020

    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.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Accept-Language is DE. So I would suppose that it returns DE results and for camera request there are no results.

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    Its not that I search for camera and nothing shows up

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    I query for an empty string and nothing shows

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    I can even query for items that are suggested by auto complete and nothing will show up

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    camera was just an example

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    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.

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    Storage says number of entries: 13888

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    And ES? As search results are coming from ES.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    But Redis in our demo instance has 22425 anyway - https://os.de.b2b.demo-spryker.com/storage/maintenance.

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    Es entries 0

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited September 2020

    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.

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    490 event errors

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    same as 6 days ago

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    for de and us both

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    There is a possibility to get 1 message from error queue.

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    yes one second

  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet
    {"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."}
    
  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    same as 6 days ago https://pastebin.com/59Z0LVHk

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited September 2020

    Sorry, I have no more ideas.
    I've just checked latest spryker-shop/b2b-demo-shop with latest spryker/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
    
  • U01AC7NN6MQ
    U01AC7NN6MQ Posts: 58 🧑🏻‍🚀 - Cadet

    Okay and where do I go from here?

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited September 2020

    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 of spryker/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.