Notifications switch off

  • akacfa_test

    22 berichten

    België

    Dear Thomas,

    As I wrote in my previous post some of our notifications continually got switch off.
    The interesting thing is that we receive succesfully the notifications.
    Our web server logs HTTP 200 codes and suddenly we receive the "...URL has been deactivated" email message.
    I do not see any errors in our server. nor in the programs nor in the webserver logs.

    Can you help us the check your side what responses do you get that lead to the deactivation of the notifications?
    Our last deactivation email message contains the following data:
    <?xml version="1.0" encoding="UTF-8"?>
    <Delcampe_Notification>
    <Notification_Token>XXXXXXXX</Notification_Token>
    <Notification_Datetime>2019-04-10T17:47:59+00:00</Notification_Datetime>
    <Notification_Type>Seller_Item_Add</Notification_Type>
    <Notification_Data>
    <id_item>748224299</id_item>
    <personal_reference></personal_reference>
    <id_parent></id_parent>
    </Notification_Data>
    </Delcampe_Notification>

    The email arrived at 14-04-2019 20:50 CEST

    Thank you in advance,
    Gergely
  • akacfa_test

    22 berichten

    België

    Dear Delcampe!

    What are the precise technical criterions of a Notification deactivation?
    What do count 5 times?

    Best regards,
    Gergely
  • akacfa_test

    22 berichten

    België

    Dear Delcampe!

    What are the precise technical criterions of a Notification deactivation?
    What do count 5 times?

    Best regards,
    Gergely
    • Aangemaakt 11 apr 2019 op 14:41
    • #987389
    There is any time window for the failed notifications counter?
    For example 5 is counted in past 24 hours window?

    Best regards,
    Gergely
  • @thomas
    Beheerder

    348 berichten

    België

    Dear Gergely,

    Disabling notifications will be done after 5 attempts in 1 hour. If this limit seems too low, we can consider increasing it.
    The attempt is considered unsuccessful when our system receives an error code from your http response.

    Best regards,
    Thomas
  • akacfa_test

    22 berichten

    België

    Dear Thomas,

    Thank you your explanation! Can you include this in the documentation?
    But, it did not solve our problem. :(
    Today we have got an other "Curl_Seller_Item_Close_Sold" deactivation without any trace in our system.
    So I have decided to log every incoming and outgoing bits on our web server.

    Best regards,
    Gergely
  • @thomas
    Beheerder

    348 berichten

    België

    Dear Gergely,

    Unfortunately, the error responses are not currently logged by our system. I will add some to provide more information in the future.
    Thank you for your feedback,

    Regards,
    Thomas
  • akacfa_test

    22 berichten

    België

    Dear Thomas,

    After a little inspection I have found thet we receive all the notifications sent to us.
    The problematic notifications that are included in the Emails are all received not only once but 5 times!
    Your system send us the problematic notification 5 times we receive it 5 times and the notification got whitced off.
    What have happened in that special cases?
    Can you check it and help us?
    For example:

    1, Seller_Item_Close_Sold id_item: 749112086
    Received:
    2019-04-13 05:03:04 CEST
    2019-04-13 05:10:07 CEST
    2019-04-13 05:20:03 CEST
    2019-04-13 05:30:04 CEST
    2019-04-13 05:45:03 CEST

    2, Seller_Item_Add id_item:751103480
    Received:
    2019-04-16 08:56:37 CEST
    2019-04-16 09:00:36 CEST
    2019-04-16 09:15:07 CEST
    2019-04-16 09:25:04 CEST
    2019-04-16 09:40:03 CEST

    3, Seller_Item_Close_Manually id_item:
    Received:
    2019-04-16 10:25:07 CEST
    2019-04-16 10:30:04 CEST
    2019-04-16 10:40:03 CEST
    2019-04-16 10:50:04 CEST
    2019-04-16 11:05:04 CEST

    4, Seller_Item_Update id_item: 473623240
    Received:
    2019-04-16 10:53:31 CEST
    2019-04-16 11:00:37 CEST
    2019-04-16 11:10:55 CEST
    2019-04-16 11:20:45 CEST
    2019-04-16 11:35:04 CEST

    Thank you,
    Gergely
  • @thomas
    Beheerder

    348 berichten

    België

    Dear Gergely,

    Do you know what http code your server returns when you receive notifications ?
    Make sure you send us a 200 http code so that we know that everything went well.

    Regards,
    Thomas
  • akacfa_test

    22 berichten

    België

    Dear Thomas,

    With the latest Curl_Seller_Item_Close_Sold disable event we have got the item 751489823 at the following times and HTTP codes:
    ~17/Apr/2019:08:25:33 - 200
    ~17/Apr/2019:08:30:01 - 200
    ~17/Apr/2019:08:40:02 - 200
    ~17/Apr/2019:08:50:02 - 200
    ~17/Apr/2019:09:05:02 - 200

    Do you need any data in the HTTP body or a response with status 200 is enough (Content-Length: 0)?
    Is there any time limit for the responses?

    Best regards,
    Gergely
  • @thomas
    Beheerder

    348 berichten

    België

    Dear Gergely,

    A response with status 200 should be enough and there is a time limit of 3 seconds. The logs will be deployed during the day. I'll keep you informed.

    Thank you for your understanding,
    Regards,
    Thomas
  • @thomas
    Beheerder

    348 berichten

    België

    Dear Gergely,

    I can see in our logs that your server returns code 0. It can happen when actually a timeout occurs.
    I will increase the timeout to 30 seconds to allow your server to respond.

    I'll come back to you when it's done.

    Regards,
    Thomas
  • akacfa_test

    22 berichten

    België

    Dear Thomas,

    Thank you!
    Yes the 3 seconds is very short. We do additional item API queries after receiving some notifications and SQL queries / updates in our database.
    I hope that 30 seconds are enough.

    Best regards,
    Gergely
  • ak-lexikon

    42 berichten

    Duitsland

    Hello, i have the same problem. even every day i have to switch the notifications on because the are stopped.

    i see that you send the notifications 2 times or more on same moment. so when my scipt is fill in the database it will give an error because at the same time the same datas was send to me.

    2019-04-20 15:33:01 Error 82.146.118.178 StatusCode 500
    2019-04-20 15:33:01 Access 82.146.118.178 StatusCode 200
  • @thomas
    Beheerder

    348 berichten

    België

    Dear ak-lexikon,

    Thanks for your feedback, the change will be effective during the day.

    Do not hesitate to come back to us if you still encounter the problem tomorrow.

    Best regards,
    Thomas
  • @thomas
    Beheerder

    348 berichten

    België

    Dear all,

    The change is now effective. Keep me informed if this does not solve the problem.

    Thank you,
    Thomas
  • akacfa_test

    22 berichten

    België

    Dear Thomas,

    Thank you!
    I will notify you If the problem still persist.

    Best Regards,
    Gergely
  • akacfa_test

    22 berichten

    België

    Dear Thomas,

    After some days it seems that works.
    We haven't got any disabled notification message and we receive the notificatons only once.

    Thank you!
    Gergely
  • @thomas
    Beheerder

    348 berichten

    België

    Dear akacfa,

    Thanks for your feedback. Glad to read that everything is working properly.
    I close the topic, if you have any other problem or question do not hesitate to open a new one.

    Best Regards,
    Thomas

Word lid van de verzamelaars-community!

Registreren Aanmelden