如下所示,显示 401 ,id 或是 key 不正确。用了-v ,发现命令显示出来的 key 不完整,估计也是因为这导致了失败,该怎么解决呢?
geoipupdate -v geoipupdate 2.5.0 Opened License file /etc/GeoIP.conf AccountID 780086 LicenseKey GpFT5U_bEuKQ Insert edition_id GeoLite2-ASN Insert edition_id GeoLite2-City Insert edition_id GeoLite2-Country Read in license key /etc/GeoIP.conf Number of edition IDs 3 url: https://download.maxmind.com/app/update_getfilename?product_id=GeoLite2-ASN md5hex_digest: 00000000000000000000000000000000 url: https://download.maxmind.com/app/update_getipaddr Client IP address: x.x.x.x md5hex_digest2 (challenge): 0c30665fb4aaa3fdce9946c3ddf67cc4 url: https://download.maxmind.com/app/update_secure?db_md5=00000000000000000000000000000000&challenge_md5=0c30665fb4aaa3fdce9946c3ddf67cc4&user_id=780086&ed ition_id=GeoLite2-ASN Received an unexpected HTTP status code of 401 from https://download.maxmind.com/app/update_secure?db_md5=00000000000000000000000000000000&challenge_md5=0c3 0665fb4aaa3fdce9946c3ddf67cc4&user_id=780086&edition_id=GeoLite2-ASN: Invalid account ID or license key