Mailchimp API 403 Forbidden Error

我有很多个网站都在访问Mailchimp API以将地址订阅到Mailchimp列表中,并从中获取条目。

几天前,在访问资源时出现了403 Forbidden(通用错误),API调用被取消。

错误消息:

数组
    (
[headers] => 数组
    (
        [url] => https://us8.api.mailchimp.com/3.0/lists/XXXXXXX/members?
        [content_type] => text/html
        [http_code] => 403
        [header_size] => 170
        [request_size] => 312
        [filetime] => -1
        [ssl_verify_result] => 0
        [redirect_count] => 0
        [total_time] => 0,292724
        [namelookup_time] => 0,004255
        [connect_time] => 0,018535
        [pretransfer_time] => 0,161542
        [size_upload] => 0
        [size_download] => 162
        [speed_download] => 553
        [speed_upload] => 0
        [download_content_length] => 162
        [upload_content_length] => 0
        [starttransfer_time] => 0,292685
        [redirect_time] => 0
        [redirect_url] =>
        [primary_ip] => 104.83.97.93
        [certinfo] => 数组
            (
            )

        [primary_port] => 443
        [local_ip] => 80.74.145.2
        [local_port] => 36488
        [request_header] => GET /3.0/lists/XXXXXXX/members? HTTP/1.0
User-Agent: DrewM/MailChimp-API/3.0 (github.com/drewm/mailchimp-api)
Host: us8.api.mailchimp.com
Accept-Encoding: deflate, gzip
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: apikey XXXXXXXXXXXXXXXXXXXXXXXXXXX-us8

    )

[httpHeaders] => 数组
    (
        [Server] => openresty
        [Content-Type] => text/html
        [Content-Length] => 162
        [Vary] => Accept-Encoding
        [Date] => Tue, 05 Jun 2018 13:58:16 GMT
        [Connection] => close
    )

[body] => <html>
<head><title>403 Forbidden</title></head>
<body bgcolor="white">
<center><h1>403 Forbidden</h1></center>
<hr><center>nginx</center>
</body>
</html>

)

Mailchimp 是否在将 IP 地址列入黑名单?因为,当将网站克隆到另一个IP主机上时,认证可以正常工作。

如果是,是否可能解决黑名单问题,或者至少监视该问题?

点赞