• Get the following error:
    [WebException: <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
    <html><head>
    <title>504 Gateway Timeout</title>
    </head><body>
    <h1>Gateway Timeout</h1>
    <p>The gateway did not receive a timely response
    from the upstream server or application.</p>
    </body></html>
    ]
    WooCommerceNET.<SendHttpClientRequest>d__20`1.MoveNext() +3061
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
    WooCommerceNET.WooCommerce.v1.<PostProduct>d__38.MoveNext() +419
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
    Streetshirts_Connect.ext.woo.<btnAddProduct_Click>d__10.MoveNext() +5217
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
    System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action) +106
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
    System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +32
    System.Web.UI.<ProcessRequestMainAsync>d__523.MoveNext() +9083

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author stevewinn

    (@stevewinn)

    Hi,

    Looks like our server isn’t receiving a response from yours.

    Have you got any security plugins that might be blockiing access to the wordpress api?

    Steve

    Thread Starter corne123

    (@corne123)

    Steve thanks for your answer, i have found the problem.

    I have disabled one by one all the plugins and found the one which was blocking him. But I need that plugin. Now is the question do i only get the fault with getting products in or do i get it also when I want to send the orders automatically to you?

    Thread Starter corne123

    (@corne123)

    Is there a way to test it?

    Thread Starter corne123

    (@corne123)

    When i want to add more than 1 color, i get this error and in the products we only have 1 color and 2 sizes:

    [WebException: <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”>
    <html><head>
    <title>504 Gateway Timeout</title>
    </head><body>
    <h1>Gateway Timeout</h1>
    <p>The gateway did not receive a timely response
    from the upstream server or application.</p>
    </body></html>
    ]
    WooCommerceNET.<SendHttpClientRequest>d__20`1.MoveNext() +3061
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
    WooCommerceNET.WooCommerce.v1.<PostProduct>d__38.MoveNext() +419
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
    Streetshirts_Connect.ext.woo.<btnAddProduct_Click>d__10.MoveNext() +5217
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
    System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action) +106
    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
    System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +32
    System.Web.UI.<ProcessRequestMainAsync>d__523.MoveNext() +9083

    Plugin Author stevewinn

    (@stevewinn)

    Hi,

    No, the problem should only be when adding products, as this is the only time your server will need to accept an incoming connection. All the rest of the calls are outbound. You can always test with your first order.

    When adding more than one colour a lot of images are generated on the fly and your server needs to process a large amount of data and images. If this takes more than 230 seconds then the request will time out. You have two options:-

    • Upgrade your server
    • Add only one colour per product
    Plugin Author stevewinn

    (@stevewinn)

    Also, for future readers, please let us know what plugin you needed to disable to get product adding to work please.

    @stevewinn.
    I’m getting the same error. If I create the colours and variations manually, will the order process still work?

    Plugin Author stevewinn

    (@stevewinn)

    Yes, so long as the PFC[] code is there and the sku matches a valid sku.

    Try adding a product with just one colour variation. If this works then it’s your server capacity to process large requests and respond in time that is the problem.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cannot send designs from streetshirt to woocommerce’ is closed to new replies.