CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • error 504 gateway timeout on contacts import
Pages: [1]

Author Topic: error 504 gateway timeout on contacts import  (Read 4108 times)

woodybrando

  • I’m new here
  • *
  • Posts: 27
  • Karma: 1
error 504 gateway timeout on contacts import
August 12, 2010, 01:29:09 pm
Hi All,
I'm trying to import a list of contacts into civicrm. And I get this error:

HTTP ERROR: 504
Gateway Timeout

i have about 1500 contacts. But i've even cut the list down to 50 just to try and get some in and i get 33% import then the same gateway timeout?

i'm running a fresh install of drupal 6.19 and civicrm 3.2.1 on godaddy shared hosting

any ideas what might be causing the error? I'm thinking maybe it's a php setting so i followed another forums tip to add a php5.ini file to my html directory. and copy and pasted this info into it:

register_globals = off
allow_url_fopen = off

expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

post_max_size = 32M
file_uploads = On
max_execution_time = 100
memory_limit = 64M
file_uploads = On
upload_max_filesize = 24M

http://forum.civicrm.org/index.php?action=printpage;topic=4433.0

I'm still getting the 504 gateway error. Any suggestions much appreciated, been wrestling with this all night and morning.

update:
I had some reducing the contact list to emails only, and input 40 at a time. now i'm going to try 100 @ a time and I'll let you know how it goes.

update2: nope no luck on the 100 contacts at a time, back 2 40.

update3: i was wondering could i import civicrm contacts through phpmyadmin?

update4: now even 40 @ a time times out. ugg. i looked online and looks like the gateway timeout is when my server is waiting for another server. Here I'm guessing it's my website server waiting for my civicrm server since shared godaddy puts them on separate servers.

I think it's time to move to linode vps


thx, Jayson
« Last Edit: August 12, 2010, 07:42:58 pm by woodybrando »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: error 504 gateway timeout on contacts import
August 13, 2010, 05:15:33 am
> update3: i was wondering could i import civicrm contacts through phpmyadmin?

Not recommended. At all. :)

> update4: now even 40 @ a time times out. ugg. i looked online and looks like the gateway timeout is when my server is waiting for another server. Here I'm guessing it's my website server waiting for my civicrm server since shared godaddy puts them on separate servers.

That would be my guess also. GoDaddy is not known for good service.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

jimmyjam

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 4
Re: error 504 gateway timeout on contacts import
September 08, 2010, 10:46:53 pm
I'm having the same problem with a GoDaddy Virtual Dedicated Server. The server has 1GB RAM and is generally fast, but all my Civi imports time out, even if they are small. The strange thing is that the data actually gets imported. The UI stays stuck at "Importing Records 0%" for a long time, then goes to an error page.

Anyone have any ideas on how to fix this?

Thanks,
James 

jimmyjam

  • I post occasionally
  • **
  • Posts: 87
  • Karma: 4
Re: error 504 gateway timeout on contacts import
September 08, 2010, 10:49:30 pm
I'm actually getting "500 Internal Server Error". See attached for a screenshot.

Thanks,
James

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • error 504 gateway timeout on contacts import

This forum was archived on 2017-11-26.