Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spam send with w-vision data-definition plugin #46

Open
The-Creeps opened this issue Apr 27, 2020 · 2 comments · Fixed by #57
Open

Spam send with w-vision data-definition plugin #46

The-Creeps opened this issue Apr 27, 2020 · 2 comments · Fixed by #57

Comments

@The-Creeps
Copy link

I try with you (after contacting the author of the plugin 'data-definition' of w-vision) if you can give me a tips to solve my problem.

When I import with the w-vision plugin, my import slows down or freezes completely. This is due to a spam loop and in my magento journal I see that ...

[2020-04-24 14:20:08] StreamLogger.INFO: Pimcore data received:  {"product_id":69892,"store_view_id":0,"action":"insert/update"} []
> [2020-04-24 14:20:08] StreamLogger.INFO: 200 ["Product 69892 has been added to queue"] []
> [2020-04-24 14:20:08] StreamLogger.INFO: Pimcore data received:  {"product_id":69892,"store_view_id":0,"action":"insert/update"} []
> [2020-04-24 14:20:08] StreamLogger.INFO: 200 ["Product 69892 has been added to queue"] []
> [2020-04-24 14:20:08] StreamLogger.INFO: Pimcore data received:  {"product_id":69892,"store_view_id":0,"action":"insert/update"} []
> [2020-04-24 14:20:08] StreamLogger.INFO: 200 ["Product 69892 has been added to queue"] []
> [2020-04-24 14:20:09] StreamLogger.INFO: Pimcore data received:  {"product_id":69892,"store_view_id":0,"action":"insert/update"} []
> [2020-04-24 14:20:09] StreamLogger.INFO: 200 ["Product 69892 has been added to queue"] []
> [2020-04-24 14:20:09] StreamLogger.INFO: Pimcore data received:  {"product_id":69892,"store_view_id":0,"action":"insert/update"} []
> [2020-04-24 14:20:09] StreamLogger.INFO: 200 ["Product 69892 has been added to queue"] []

When i try to apply in mass publishing from pimcore directly all are ok and i can push more 3000 products easily without spam.

here my magento log with import without data-definition :

QUERY: instanceUrl=http://dev.magento.com&apikey=eb9402b0f11f67e4ce791405c32d0e186e9a33f193acbdd8c2d97fa18ea5024b&storeViewId=0
POST: message=product with ID 81860 successfully added to queue&status=SUCCESS&id=81860 [] []
[2020-04-27 10:29:14] StreamLogger.INFO: {"success":true,"msg":null} [] []
[2020-04-27 10:29:14] StreamLogger.INFO: 200 ["Product 81860 has been added to queue"] []
[2020-04-27 10:29:15] StreamLogger.INFO: Pimcore data received:  {"product_id":81861,"store_view_id":0,"action":"delete"} []
[2020-04-27 10:29:15] StreamLogger.INFO:
====REQUEST====
POST http://dev.pimcore.com/webservice/rest/product/update-status HTTP/1.1
Authorization: Bearer eb9402b0f11f67e4ce791405c32d0e186e9a33f193acbdd8c2d97fa18ea5024b
Content-Type: application/x-www-form-urlencoded
Accept: application/x-www-form-urlencoded

QUERY: instanceUrl=http://dev.magento.com&apikey=eb9402b0f11f67e4ce791405c32d0e186e9a33f193acbdd8c2d97fa18ea5024b&storeViewId=0
POST: message=product with ID 81861 successfully added to queue&status=SUCCESS&id=81861 [] []
[2020-04-27 10:29:15] StreamLogger.INFO: {"success":true,"msg":null} [] []
[2020-04-27 10:29:15] StreamLogger.INFO: 200 ["Product 81861 has been added to queue"] []
[2020-04-27 10:29:16] StreamLogger.INFO: Pimcore data received:  {"product_id":81862,"store_view_id":0,"action":"delete"} []
[2020-04-27 10:29:16] StreamLogger.INFO:
====REQUEST====
POST http://dev.pimcore.com/webservice/rest/product/update-status HTTP/1.1
Authorization: Bearer eb9402b0f11f67e4ce791405c32d0e186e9a33f193acbdd8c2d97fa18ea5024b
Content-Type: application/x-www-form-urlencoded
Accept: application/x-www-form-urlencoded

QUERY: instanceUrl=http://dev.magento.com&apikey=eb9402b0f11f67e4ce791405c32d0e186e9a33f193acbdd8c2d97fa18ea5024b&storeViewId=0
POST: message=product with ID 81862 successfully added to queue&status=SUCCESS&id=81862 [] []
[2020-04-27 10:29:16] StreamLogger.INFO: {"success":true,"msg":null} [] []
[2020-04-27 10:29:16] StreamLogger.INFO: 200 ["Product 81862 has been added to queue"] []
[2020-04-27 10:29:17] StreamLogger.INFO: Pimcore data received:  {"product_id":81863,"store_view_id":0,"action":"delete"} []
[2020-04-27 10:29:17] StreamLogger.INFO:
====REQUEST====
POST http://dev.pimcore.com/webservice/rest/product/update-status HTTP/1.1
Authorization: Bearer eb9402b0f11f67e4ce791405c32d0e186e9a33f193acbdd8c2d97fa18ea5024b
Content-Type: application/x-www-form-urlencoded
Accept: application/x-www-form-urlencoded

QUERY: instanceUrl=http://dev.magento.com&apikey=eb9402b0f11f67e4ce791405c32d0e186e9a33f193acbdd8c2d97fa18ea5024b&storeViewId=0
POST: message=product with ID 81863 successfully added to queue&status=SUCCESS&id=81863 [] []
[2020-04-27 10:29:17] StreamLogger.INFO: {"success":true,"msg":null} [] []
[2020-04-27 10:29:17] StreamLogger.INFO: 200 ["Product 81863 has been added to queue"] []

If you can help me to fix my problem i will be very happy .... thx for your answer

@The-Creeps The-Creeps changed the title Spam send with w-vision Spam send with w-vision data-definition plugin Apr 27, 2020
@mbolka
Copy link
Contributor

mbolka commented May 13, 2020

Hi @The-Creeps
Thank you for your info. For now, I can suggest you to unpublished IntegrationConfiguration objects before you import data with ImportDefinition, or import products to the different catalog than the one you are using for synchronization with Magento.
We are currently working on a much better optimized version of the connector and it will be published very soon. You can see it on branch develop-v2. It will be compatible with the previous version of the connector.
I hope that this quick solution will help you and we will try to resolve it in the newer version of the connector.

@The-Creeps
Copy link
Author

Thank you for this response ;) disable IntegrationConfiguration fix my problem but it's not a solution for me at this point. I follow the develop-v2 branch now. Thank you very much for this work ;)

@mbolka mbolka linked a pull request Jun 9, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants