• With version 3.0.x I’ve been unable to import (currently on 3.0.5). After setting the headers, I try to import and it gets stuck on “Starting”.

    After a couple minutes I get an error popup which says: “Something went wrong. We could not make a connection with the server. Check your permissions and rights the do ajax requests”.

    I’ve seen one or two other posts with similar issues but I am 99% sure my web server has no problem running ajax requests. I’ve got many other wordpress sites on same server without issue and reproduced the issue on another web server as well.

    With debug mode on I get this in the console as well as a 504 gateway timeout response object.

    POST http://liberal.pmlo.org/wp/wp-admin/admin-ajax.php 504 (Gateway Time-out)m.ajaxTransport.send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.2.2:4m.extend.ajax @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.2.2:4doAjaxImport @ woocsv-import-admin.js?ver=4.2.2:3(anonymous function) @ woocsv-import-admin.js?ver=4.2.2:61m.event.dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.2.2:3m.event.add.r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils&ver=4.2.2:3

    WooCommerce v2.3.13
    WooCSV attributes, custom fields, and premium plugins installed
    All other plugins disabled

    Any advice on how to get it working?

    https://wordpress.org/plugins/woocommerce-csvimport/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author allaerd

    (@allaerd)

    set the number of rows to process to 1 and try again

    Thread Starter bostondv

    (@bostondv)

    “Number of products to process simultaneously” option was already set to 1.

    Even importing a CSV with only a single row it still fails.

    Thread Starter bostondv

    (@bostondv)

    The preview before running import also displays the mappings just fine, so I assume there’s no problem with the CSV itself.

    Thread Starter bostondv

    (@bostondv)

    I’ve disabled all plugins except woocommerce and csv import and reverted to default theme and problem still also exists.

    Watching the network log in chrome is interesting, the admin-ajax.php request runs continually and racks up a huge amount of data transfer.

    Screenshot (importing a single row csv): https://www.dropbox.com/s/e9jdkv5v1nciv7u/Screen%20Shot%202015-08-04%20at%2012.52.07%20PM.png?dl=0

    This is marked as resolved but I dont see any new info or resolution notes?????

    Any resolution to this issue, I am experiencing the same exact thing.

    Please advise asap

    Thread Starter bostondv

    (@bostondv)

    it’s not resolved for me, even after trying everything mentioned in earlier comments.

    Thread Starter bostondv

    (@bostondv)

    Finally found the issue! A sub category slug was incorrect and did not match up with the categories we had created. Once fixed the import no longer hung and imported correctly.

    My value for category was “children->earrings” and needed to change it to “children->earrings-children” to match the sub category slug that existed.

    @allaerd could this error be handled better? If a category doesn’t exist, I guess the plugin is unable to create it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Gateway timeout when importing’ is closed to new replies.