Chris Lovie-Tyler
Forum Replies Created
-
That’s weird. I wonder why they would blacklist me!
Which specific DB do I download? Geolite2 Country?
Although this is probably not something you can resolve, @coolman, I thought I’d post Ivan’s detailed reply below so you can see the process he went through.
Again, @ivanatanasov, thanks so much for going to such great lengths to troubleshoot a problem that wasn’t caused by Siteground. You guys rock!
—
Now for the GeoIP DB installation, through SlimStats. I carefully reviewed each and every step from the installation by stracing the process. This is what made an impression:
I created a partial-strace.txt file and included the GeoIP DB installation steps there. It actually shows a possible problem as well.
A connection attempt is made:
Code:
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 8 connect(8, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("104.16.38.47")}, 16) = 0 getsockname(8, {sa_family=AF_INET, sin_port=htons(54124), sin_addr=inet_addr("119.81.84.136")}, [16]) = 0 close(8) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 8 connect(8, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("104.16.37.47")}, 16) = 0 getsockname(8, {sa_family=AF_INET, sin_port=htons(54923), sin_addr=inet_addr("119.81.84.136")}, [16]) = 0 close(8) = 0 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 8 connect(8, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "2400:cb00:2048:1::6810:252f", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 getsockname(8, {sa_family=AF_INET6, sin6_port=htons(55231), inet_pton(AF_INET6, "2a04:f280:100:5f:216:3eff:fe32:3805", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 close(8) = 0 socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 8 connect(8, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "2400:cb00:2048:1::6810:262f", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = 0 getsockname(8, {sa_family=AF_INET6, sin6_port=htons(40595), inet_pton(AF_INET6, "2a04:f280:100:5f:216:3eff:fe32:3805", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 close(8) = 0
A connection is established:
Code:
connect(8, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("104.16.38.47")}, 16) = -1 EINPROGRESS (Operation now in progress)
A download attempt is made:
Code:
sendto(8, "GET /download/geoip/database/GeoLiteCountry/GeoIP.dat.gz HTTP/1.1\r\nHost: geolite.maxmind.com\r\nUser-Agent: WordPress/4.7.3; https://chrislovietyler.nz\r\nAccept: */*\r\nAccept-Encoding: deflate, gzip\r\nReferer: https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz\r\nConnection: close\r\n\r\n", 306, MSG_NOSIGNAL, NULL, 0) = 306
It fails:
Code:
recvfrom(8, "HTTP/1.1 503 Service Temporarily Unavailable\r\nDate: Fri, 10 Mar 2017 07:25:54 GMT\r\nContent-Type: text/html; charset=UTF-8\r\nTransfer-Encoding: chunked\r\nConnection: close\r\nSet-Cookie: __cfduid=d16563b9e384b7e59f79f39b6e813a9781489130754; expires=Sat, 10-Mar-18 07:25:54 GMT; path=/; domain=.maxmind.com; HttpOnly\r\nX-Frame-Options: SAMEORIGIN\r\nRefresh: 8;URL=/cdn-cgi/l/chk_jschl?pass=1489130758.635-/LnDWEH2QC\r\nCache-Control: no-cache\r\nServer: cloudflare-nginx\r\nCF-RAY: 33d48af076c63180-SIN\r\n\r\n114e\r\n<!DOCTYPE HTML>\n<html lang=\"en-US\">\n<head>\n <meta charset=\"UTF-8\" />\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=Edge,chrome=1\" />\n <meta name=\"robots\" content=\"noindex, nofollow\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\" />\n <title>Just a moment...</title>\n <style type=\"text/css\">\n html, body {width: 100%; height: 100%; margin: 0; padding: 0;}\n body {background-color: #ffffff; font-family: Helvetica, Arial, sans-serif; font-size: 100%;}\n h1 {font-size: 1.5em; color: #404040; text-align: center;}\n p {font-size: 1em;", 1160, 0, NULL, NULL) = 1160
Even running a curl request to https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz (which works perfectly when I access it from my laptop) it is failing with the same message:
Code:
chrislo0@sgp20 [~/public_html]# curl -I https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz HTTP/1.1 503 Service Temporarily Unavailable Date: Fri, 10 Mar 2017 08:00:43 GMT Content-Type: text/html; charset=UTF-8 Connection: close Set-Cookie: __cfduid=d00cc2fcd95641f0097c18892db612c771489132843; expires=Sat, 10-Mar-18 08:00:43 GMT; path=/; domain=.maxmind.com; HttpOnly X-Frame-Options: SAMEORIGIN Refresh: 8;URL=/cdn-cgi/l/chk_jschl?pass=1489132847.505-+xpsceoVyv Cache-Control: no-cache Server: cloudflare-nginx CF-RAY: 33d4bdefe7f931c2-SIN
I tried this many times, however, each time the result was the same.
It means that the geolite.maxmind.com is using a CDN service, CloudFlare from the looks of it. The server which the plugin is accessing is most likely experiencing high load and it is why the connection is not possible.
It is why the download of the GeoIP.dat.gz file is failing.
If you choose, please share this information with the plugin developers, however, please don’t expect them to resolve the problem. I expect the current problem to be related to the CDN service for geolite.maxmind.com.
What can be done in for now is to install the GeoLight DB manually. Otherwise, the load on the remote server will normalize, and then the database should be installed through the Dashboard of your app without issues.
Thanks, Jason. We’ll wait and see what Ivan comes back with (he’s doing some testing on my site).
Hi, Ivan.
I believe Plamena from Siteground has contacted you with my ticket details.
For the benefit of the Slim Stat creators, this is what one of the Siteground support staff have already said:
“According to the application’s plugin the IP address of the remote server has been blocked from our end. I have checked the firewall of the server and confirmed that the IP address is not blocked, but the request that should install the extension is generating an internal loop that is blocked by the server.
In that case I would recommend you to contact the support team of the plugin, because it is a paid solution and they should provide a technical support for the products and to request the extension to be manually installed to your application. Also, you could try to deactivate all plugins except the Slim Stat one and to test if the installation could be completed. That way you could ensure that the plugin is not conflicting with the theme or another plugin, because in the server’s logs there is no such information that could help us to determine the exact reason for the issue.”
To be clear, I’m using the free version at the moment. I’ve also tried disabling all of my other plugins and it didn’t fix the issue.
Perfect. That’s how I hoped it would work. Thanks!
Yes, that’s a good point. I’ve decided to just send email from my own website to begin with (I got a 10/10 score on your mail tester tool). But once I get up to say 100 subscribers, I’ll consider paying for the Sending Service. I like what you guys are doing and I do want to support you. I’ll leave a review too.
Not quite. I’d be tagging *all* posts as weekly, because I only ever want them to go out weekly.
So, if I publish 5 posts between Monday and Saturday, I want those 5 posts go out in the email on Sunday. And if I publish 7 posts between Monday and Saturday, I want those 7 posts go out on Sunday.
Wouldn’t the set-up I suggested above (weekly frequency, ALC set to 7 posts) work for that?
I guess my question is: What would happen if I set ALC to 7 posts and only published 5 during the week? Would Mailpoet only send out 5 posts (because it knows those are new posts), or would it send out 7 (including 2 from the previous week) because that’s what I’ve specified in ALC?
I hope that makes sense!
Thanks for that! I see Mailgun, SendInBlue and a few others have free plans too. I’ll do a bit more research.