Title: Active Directory to WordPress Sync Timeout
Last modified: October 31, 2019

---

# Active Directory to WordPress Sync Timeout

 *  Resolved [pterpumpkin](https://wordpress.org/support/users/pterpumpkin/)
 * (@pterpumpkin)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/active-directory-to-wordpress-sync-timeout/)
 * Hi all!
 * We are syncing ~30 groups (about 1500 users) from AD to WordPress.
 * If i try to run the sync through the plugin, i get the below after a few minutes:
   “
   500 – The request timed out. The web server failed to respond within the specified
   time.”
 * If i run the sync through powershell, i get the below after a few minutes:
    “
   Invoke-WebRequest : The operation has timed out”
 * Has anyone else run into this issue? Can i increase the timeout value somehow?
 * Thanks!
    Pter

Viewing 1 replies (of 1 total)

 *  Plugin Author [schakko](https://wordpress.org/support/users/schakko/)
 * (@schakko)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/active-directory-to-wordpress-sync-timeout/#post-12094002)
 * There are two ways:
 * 1. Change the Timeout/fastcgi_read_timeout/proxy_read_timeout setting of your
   Apache webserver. This will affect all connections of your webserver and may 
   be not what you want.
    2. You can buy a support license and use the wp-cli Premium
   Extension ([https://active-directory-wp.com/premium-extension/](https://active-directory-wp.com/premium-extension/)
   and [https://active-directory-wp.com/docs/Premium_extensions/WP-CLI.html](https://active-directory-wp.com/docs/Premium_extensions/WP-CLI.html))
   to start the synchronization directly on the server. This will prevent you from
   receiving an HTTP 500 error.

Viewing 1 replies (of 1 total)

The topic ‘Active Directory to WordPress Sync Timeout’ is closed to new replies.

 * ![](https://ps.w.org/next-active-directory-integration/assets/icon-256x256.png?
   rev=2517660)
 * [Next Active Directory Integration](https://wordpress.org/plugins/next-active-directory-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/next-active-directory-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/next-active-directory-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/next-active-directory-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/next-active-directory-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/next-active-directory-integration/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [schakko](https://wordpress.org/support/users/schakko/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/active-directory-to-wordpress-sync-timeout/#post-12094002)
 * Status: resolved