Connection error
-
When I try to do the configuration of Facebook plugin, it goes to all the steps successfully but finally lands in this page with an error message.
https://connect.woocommerce.com/auth/facebook/?code=xxx
“Something went wrong when connecting to Facebook!
Please try again.”Why is it being redirected to connect.woocommerce.com?
The page I need help with: [log in to see the link]
-
Have the Same problem. They shouldn’t issue an untested 2.0.1 version
Hi @khuss and @hiuwailin2!
Some of our users are occasionally running into this error. We have a code snippet that may help. Could I ask you both to try adding the following snippet to your site?
add_filter( 'wc_facebook_connection_proxy_url', function() { return '<a href="https://wc-connect-test.skyverge.com/auth/facebook/">https://wc-connect-test.skyverge.com/auth/facebook/</a>';} );
You can do this with the free Code Snippets plugin, if you’re not sure how to add a code snippet.
Would you both please try that out and let me know if that works at all?
Thank you so much,
Julie ??
SkyVergeI don’t understand why the connection is proxied through your server. It makes me wonder if sensitive information related to my Facebook account and page is stored in your server. Could you explain why you are proxying the connection? If you are indeed storing sensitive information, that should be explained in your documentation.
Hi @khuss,
I spoke with a colleague of mine about why the connection attempts (by default) to go through WooCommerce (or, using the snippet, through our server).
Facebook requires us to connect via OAuth to be able to leverage the features in version 2.0, as those features are only available to specific partners, such as WooCommerce.
The plugin, however, is open source. As such, we need to separate the OAuth credentials (client key and secret key) from the app for security reasons, or else anyone could grab those credentials and spoof WooCommerce as the provider/partner, gaining access to those features.
As such, we need to essentially “relay” the connection securely, whereupon we add the OAuth credentials into the request before asking Facebook for permission to connect.
Having said that, I can absolutely assure you we’re not storing any information whatsoever and that your information remains secure due to the fact that both the servers in question are using SSL certificates (https as the protocol).
I hope that helps to clarify things here, @khuss! Is there anything else I can help out with here? Please don’t hesitate to let me know.
Thank you!
Julie ??
SkyVergeWhen I try the code snippet, I get the following error:
No redirect URI in the params: No redirect present in URI
Hey @khuss,
That’s odd. Would you please be able to share a screenshot with me?
Additionally, would you please be able to paste your system status so I can get a better idea of what might be going on? You can grab it by going to:
WooCommerce > Status?and clicking on?Get system report.
Thank you so much!
Julie ??
SkyVerge### WordPress Environment ### WC Version: 4.4.1 REST API Version: ? 1.0.15 WC Blocks Version: ? 3.1.0 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.4.0 Log Directory Writable: ? WP Version: ? 5.4.2 - There is a newer version of WordPress available (5.5) WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – ### Server Environment ### Server Info: nginx/1.17.10 PHP Version: 7.4.6 PHP Post Max Size: 100 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.7.30 Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected. DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.4.1 WC Database Prefix: wp_ Total Database Size: 257.42MB Database Data Size: 185.63MB Database Index Size: 71.79MB wp_woocommerce_sessions: Data: 0.17MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_order_items: Data: 0.09MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 21.52MB + Index: 0.70MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB lumise_bugs: Data: 0.02MB + Index: 0.06MB + Engine InnoDB lumise_categories: Data: 0.05MB + Index: 0.06MB + Engine InnoDB lumise_categories_reference: Data: 0.33MB + Index: 0.44MB + Engine InnoDB lumise_cliparts: Data: 1.52MB + Index: 0.45MB + Engine InnoDB lumise_designs: Data: 0.02MB + Index: 0.09MB + Engine InnoDB lumise_fonts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB lumise_guests: Data: 0.02MB + Index: 0.06MB + Engine InnoDB lumise_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB lumise_languages: Data: 0.09MB + Index: 0.00MB + Engine InnoDB lumise_orders: Data: 0.02MB + Index: 0.06MB + Engine InnoDB lumise_order_products: Data: 0.02MB + Index: 0.08MB + Engine InnoDB lumise_printings: Data: 0.02MB + Index: 0.06MB + Engine InnoDB lumise_products: Data: 0.23MB + Index: 0.11MB + Engine InnoDB lumise_sessions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB lumise_settings: Data: 0.02MB + Index: 0.02MB + Engine InnoDB lumise_shapes: Data: 0.22MB + Index: 0.03MB + Engine InnoDB lumise_shares: Data: 0.02MB + Index: 0.08MB + Engine InnoDB lumise_tags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB lumise_tags_reference: Data: 0.02MB + Index: 0.02MB + Engine InnoDB lumise_templates: Data: 0.09MB + Index: 0.06MB + Engine InnoDB wp_actionscheduler_actions: Data: 0.22MB + Index: 0.19MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 0.17MB + Index: 0.14MB + Engine InnoDB wp_as3cf_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_cart_notices: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 1.03MB + Index: 0.06MB + Engine InnoDB wp_comments: Data: 1.41MB + Index: 0.50MB + Engine InnoDB wp_ezd_user_products: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ezd_views: Data: 0.09MB + Index: 0.00MB + Engine InnoDB wp_followup_coupons: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_coupon_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_customers: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_followup_customer_carts: Data: 19.20MB + Index: 0.42MB + Engine InnoDB wp_followup_customer_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_customer_orders: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_followup_email_coupons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_followup_email_excludes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_followup_email_logs: Data: 0.11MB + Index: 0.08MB + Engine InnoDB wp_followup_email_orders: Data: 3.52MB + Index: 0.64MB + Engine InnoDB wp_followup_email_order_coupons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_followup_email_tracking: Data: 0.09MB + Index: 0.08MB + Engine InnoDB wp_followup_followup_history: Data: 0.05MB + Index: 0.05MB + Engine InnoDB wp_followup_order_categories: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_followup_order_items: Data: 0.06MB + Index: 0.05MB + Engine InnoDB wp_followup_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_subscribers_to_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_followup_subscriber_lists: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_itsec_distributed_storage: Data: 6.02MB + Index: 0.02MB + Engine InnoDB wp_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB wp_itsec_logs: Data: 4.02MB + Index: 0.38MB + Engine InnoDB wp_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_nf_objectmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nf_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ninja_forms_fav_fields: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_ninja_forms_fields: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 15.09MB + Index: 4.44MB + Engine InnoDB wp_postmeta: Data: 56.56MB + Index: 19.95MB + Engine InnoDB wp_posts: Data: 13.52MB + Index: 5.86MB + Engine InnoDB wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_social_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_taxonomymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.17MB + Index: 0.17MB + Engine InnoDB wp_terms: Data: 0.19MB + Index: 0.23MB + Engine InnoDB wp_term_relationships: Data: 2.52MB + Index: 1.45MB + Engine InnoDB wp_term_taxonomy: Data: 0.23MB + Index: 0.30MB + Engine InnoDB wp_usermeta: Data: 28.13MB + Index: 10.94MB + Engine InnoDB wp_users: Data: 1.50MB + Index: 1.08MB + Engine InnoDB wp_w3tc_cdn_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcpv_commissions: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_wcpv_per_product_shipping_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 1.52MB + Index: 0.69MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp_wc_order_stats: Data: 0.09MB + Index: 0.05MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_points_rewards_user_points: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_points_rewards_user_points_log: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.48MB + Index: 0.77MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yith_wcwl_lists: Data: 1.27MB + Index: 19.11MB + Engine InnoDB wp_yoast_seo_links: Data: 0.42MB + Index: 0.17MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.41MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### amn_mi-lite: 3 attachment: 7934 blocks: 12 carts: 2838 customize_changeset: 4 follow_up_email: 6 job_listing: 3 nav_menu_item: 37 nf_sub: 1680 oembed_cache: 1 page: 80 post: 7 product: 1112 product_variation: 4455 revision: 1543 shop_coupon: 75 shop_order: 578 sidebar: 1 tablepress_table: 2 testimonial: 3 tm_global_cp: 3 wpcf7_contact_form: 4 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (38) ### AfterShip - WooCommerce Tracking: by AfterShip – 1.9.26 – Installed version not tested with active version of WooCommerce 4.4.1 Akismet Anti-Spam: by Automattic – 4.1.6 Better Search Replace: by Delicious Brains – 1.3.3 PublishPress Capabilities: by PublishPress – 1.9.12 CCAvenue Payment Gateway for WooCommerce: by Nilesh Chourasia – 2.6 – Installed version not tested with active version of WooCommerce 4.4.1 Contact Form 7: by Takayuki Miyoshi – 5.2.1 Easy WP SMTP: by wpecommerce alexanderfoxc – 1.4.1 Enhanced Media Library: by wpUXsolutions – 2.7.2 EZDesigner: by kamalhussain – 0.1 Facebook for WooCommerce: by Facebook – 2.0.1 – Installed version not tested with active version of WooCommerce 4.4.1 Features: by WooThemes – 1.5.0 WooCommerce - Gift Cards: by WP Ronin – 2.6.5 – Installed version not tested with active version of WooCommerce 4.4.1 Improved Product Options for WooCommerce: by XforWooCommerce – 5.0.1 – Installed version not tested with active version of WooCommerce 4.4.1 Lumise - Product Designer Tool: by King-Theme – 1.9.5 Nextend Social Login: by Nextendweb – 3.0.24 Ninja Forms: by Saturday Drive – 3.4.25 S3 Uploads: by Human Made Limited – 2.2.2 Taxonomy Metadata: by mitcho (Michael Yoshitaka Erlewine) sirzooro – 0.5 Testimonials: by WooThemes – 1.5.4 User Role Editor: by Vladimir Garagulya – 4.56 WooCommerce Custom Background: by SolverCircle – 1.2 – Installed version not tested with active version of WooCommerce 4.4.1 WooCommerce Admin Custom Order Fields: by SkyVerge – 1.13.4 – Installed version not tested with active version of WooCommerce 4.4.1 WooCommerce Bulk Discount: by Rene Puchinger – 2.4.5 – Installed version not tested with active version of WooCommerce 4.4.1 WooCommerce Bulk Variations: by Lucas Stark – 1.6.6 – Installed version not tested with active version of WooCommerce 4.4.1 WooCommerce Cart Notices: by SkyVerge – 1.11.4 – Installed version not tested with active version of WooCommerce 4.4.1 Cart Reports for WooCommerce: by WooCommerce – 1.2.9 – Installed version not tested with active version of WooCommerce 4.4.1 WooCommerce Custom Product Data Fields: by Kharis Sulistiyono – 1.2.4 – Installed version not tested with active version of WooCommerce 4.4.1 WooCommerce Google Analytics Pro: by SkyVerge – 1.8.14 – Installed version not tested with active version of WooCommerce 4.4.1 WooCommerce Product Vendors: by WooCommerce – 2.1.41 – Installed version not tested with active version of WooCommerce 4.4.1 WooCommerce TM Extra Product Options: by themeComplete – 5.0.12.3 WooCommerce: by Automattic – 4.4.1 Yoast SEO Premium: by Team Yoast – 5.7.1 WP htaccess Control: by António Andrade – 3.5.1 Smush: by WPMU DEV – 3.6.3 WP Super Cache: by Automattic – 1.7.1 Yoast SEO: WooCommerce: by Team Yoast – 5.7 – Installed version not tested with active version of WooCommerce 4.4.1 YITH WooCommerce Ajax Search: by YITH – 1.8.0 YITH WooCommerce Wishlist: by YITH – 3.0.13 ### Inactive Plugins (0) ### ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (3) ### Bedrock Autoloader: by Roots – 1.0.1 Disallow Indexing: by Roots – 1.0.0 Register Theme Directory: by Roots – 1.0.0 ### Settings ### API Enabled: ? Force SSL: – Currency: INR (?) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #4 - /shop/ Cart: #5 - /cart/ Checkout: #6 - /checkout/ My account: #7 - /my-account/ Terms and conditions: #171 - /pages/terms-conditions/ ### Theme ### Name: Flatsome Child Theme Version: 3.0 Author URL: http:%20//www.uxthemes.com/ Child Theme: ? Parent Theme Name: Flatsome Parent Theme Version: 3.12.2 Parent Theme Author URL: https://www.uxthemes.com/ WooCommerce Support: ? ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php /var/www/web/app/plugins/woocommerce-tm-extra-product-options/templates/cart/cart-item-data.php flatsome/woocommerce/cart/cart-shipping.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/terms.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-product_cat.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome-child/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php ### Action Scheduler ### Canceled: 12 Oldest: 2020-07-26 12:49:36 +0000 Newest: 2020-08-15 09:59:10 +0000 Complete: 624 Oldest: 2020-07-26 05:39:45 +0000 Newest: 2020-08-26 00:25:33 +0000 Failed: 15 Oldest: 2016-07-08 19:46:31 +0000 Newest: 2018-12-19 12:35:09 +0000 Pending: 2 Oldest: 2020-08-26 05:57:28 +0000 Newest: 2020-08-26 05:57:28 +0000
Hi @khuss!
Thanks so much for the system status, I appreciate it!
Could you please also include a screenshot of the error you’re getting?
Thank you!
Julie ??
SkyVergeFirst I got this message:
https://pasteboard.co/JoR6KIs.png
Then I got the following error:
https://pasteboard.co/JoR7oVn.pngHi @khuss,
Thanks so much.
Would you please reach out to our support team through our site sharing the email address you use for your Facebook account so the Facebook team can take a look at the logs and determine why your attempts to connect are failing?
Thank you!
Julie ??
SkyVergeHey @khuss,
It has been a long time since we heard from you, so I’m going to mark this topic as resolved.
If you’re still experiencing issues please take a look at our documentation for more information and create a new thread if you have further questions.
Thanks,
Tamara ??
- The topic ‘Connection error’ is closed to new replies.