any help ? Still stuck with sync
Hi @ewatts we appreciate your patience. To assist in resolving the issue, could you please provide us with some details and review the following suggestions?
- What are the versions of PHP and the plugin? Are they up to date?
- Are there a large number of plugins being used? If so, it may be necessary to increase the memory limit on the hosting server (1GB for example) to accommodate the initial sync.
- You may need to activate
WP CRON
or consider using the CLI option.
- The server is using a cache such as Redis, Memcached, etc. You may need to exclude a route path for the plugin.
- If you are using a shared hosting environment, consider switching over to a server stack with a dedicated IP address.
- Your server may be getting blocked by Akamai, Mailchimp’s API service.
We look forward to hearing back from you.
HI @khungate ,
thank you for your reply.
I run PHP 8.2 and mailchimp 2.8.2
I use 45 plugins but i tried with 1GB and don’t change anything.
I use my own hosting and not a shared one.
I have tried to uninstall, check if i have mailchimp-woocommerce-store_id
on options.php, try to resynch with hidden button but nothing work i still have this error :
2023-04-04T00:00:50+00:00 ERROR order_submit.error :: updateStoreOrder :: #59669 :: Error Code 404 :: Resource Not FoundThe requested resource could not be found. on 2401 in /home/clients/ef5da4cefac43a722c3c86bef464e197/mydomain/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php
What can i do now ?
Thank you
Hi @ewatts, thanks for the reply and appreciate your patience. Were you able to run through the troubleshooting for the possible Akamai block? https://github.com/mailchimp/mc-woocommerce/wiki/Troubleshooting-CURL-Errors
Hi @khungate ,
i run the command, here is the result:
uid159828@od-c676fe:~$ curl -v -X GET https://{US21}.api.mailchimp.com/3.0/ecommerce/stores?apikey={xxxx}
Note: Unnecessary use of -X or –request, GET is already inferred.
- Trying xxxx
- Connected to US21.api.mailchimp.com (xxxx) port 443 (#0)
- ALPN, offering h2
- ALPN, offering http/1.1
- successfully set certificate verify locations:
- CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: /etc/ssl/certs
- TLSv1.3 (OUT), TLS handshake, Client hello (1):
- TLSv1.3 (IN), TLS handshake, Server hello (2):
- TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
- TLSv1.3 (IN), TLS handshake, Certificate (11):
- TLSv1.3 (IN), TLS handshake, CERT verify (15):
- TLSv1.3 (IN), TLS handshake, Finished (20):
- TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
- TLSv1.3 (OUT), TLS handshake, Finished (20):
- SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
- ALPN, server accepted to use h2
- Server certificate:
- subject: C=US; ST=Georgia; L=Atlanta; O=The Rocket Science Group, LLC; CN=wildcardsan2.mailchimp.com
- start date: Aug 15 00:00:00 2022 GMT
- expire date: Aug 16 23:59:59 2023 GMT
- subjectAltName: host “US21.api.mailchimp.com” matched cert’s “*.api.mailchimp.com”
- issuer: C=US; O=DigiCert Inc; CN=DigiCert TLS RSA SHA256 2020 CA1
- SSL certificate verify ok.
- Using HTTP2, server supports multi-use
- Connection state changed (HTTP/2 confirmed)
- Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
- Using Stream ID: 1 (easy handle 0x56110b20a270)
GET /3.0/ecommerce/stores?apikey=xxxx HTTP/2
Host: US21.api.mailchimp.com
user-agent: curl/7.74.0
accept: /
- TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
- TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
- old SSL session ID is stale, removing
- Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 200
< server: openresty
< content-type: application/json; charset=utf-8
< content-length: 3821
< vary: Accept-Encoding
< x-request-id: xxxx
< link: https://us21.api.mailchimp.com/schema/3.0/Ecommerce/Stores/Collection.json; rel=”describedBy”
< date: Fri, 14 Apr 2023 15:11:51 GMT
Hi @ewatts, would you mind posting your store URL? It seems like something is going on under the hood with your store’s connection and we’d like to take a closer look.
Hi @ewatts, thanks for your patience. We noticed several duplicate installs on our end that may be the reason why you had issues getting the plugin to work. We’ve since cleared those out. If you have a minute, please try a fresh install of the plugin and see if things are able to connect? If you continue to have problems, we’ll be happy to research further.
Thanks!
Hi @khungate ,
Unfortunatly after sync always same issue:
Coupons14
Products520
Orders0
That’s very strange @ewatts, do you have the ability to enable Remote Diagnostics on the plugin’s settings page? Also, have you tried to see if there are any theme or plugin conflicts? Let’s try the following:
- Verify the latest plugin version is being used (v2.8.3 at the time of this post).
- Switch themes to the default WooCommerce one, deactivate all plugins except WooCommerce and Mailchimp for WooCommerce, and test the scenario again – ideally in a staging environment.
- Test for conflicts by following this guide, WooCommerce: Fixing Theme and Plugin Conflicts: https://docs.woocommerce.com/document/how-to-test-for-conflicts/
- Review any log errors in the plugin’s logs. You will want to flip on “Debug” to give you the most information. Settings -> Logs -> Debug
Thanks again for your patience, due to the nature of WordPress sometimes troubleshooting things of this nature can be a bit difficult.
Hi @ewatts, we’re going to close out this ticket for now since it’s been a few weeks since we’ve been in touch.
Please let us know if you still need any help and we’ll be glad to reopen and troubleshoot further. Please note, that the best way to reach us is over at the GitHub plugin page: https://github.com/mailchimp/mc-woocommerce/. From there, you can receive direct responses from the development team, log new issues, download the latest version, and track existing support tickets.