Connection issue

#1 - Sept. 16, 2013, 10:16 a.m.
Blizzard Post

Hi,
I have a random error while trying to connect to https://api.guildwars2.com/v1/ from my vps

An example with a simple wget :

wget https://api.guildwars2.com/v1/wvw/matches.json —no-check-certificate
—2013-09-16 16:36:50-- https://api.guildwars2.com/v1/wvw/matches.json
Resolving api.guildwars2.com… 64.25.40.13
Connecting to api.guildwars2.com|64.25.40.13|:443… failed: Cannot assign requested address.
Retrying.

—2013-09-16 16:36:51— (try: 2) https://api.guildwars2.com/v1/wvw/matches.json
Connecting to api.guildwars2.com|64.25.40.13|:443… failed: Cannot assign requested address.
Retrying.

—2013-09-16 16:36:53— (try: 3) https://api.guildwars2.com/v1/wvw/matches.json
Connecting to api.guildwars2.com|64.25.40.13|:443… connected.
WARNING: cannot verify api.guildwars2.com’s certificate, issued by `/C=US/O=GeoTrust, Inc./CN=GeoTrust SSL CA’:
Unable to locally verify the issuer’s authority.
HTTP request sent, awaiting response… 200 OK
Length: 2685 (2.6K) [application/json]
Saving to: `matches.json.1’

100%============================>] 2,685 —.-K/s in 0s

I don’t have this error with another url (tried with several urls)…
I need to retry again and again until the error disappears. Has anyone solved this issue ?

#2 - Sept. 16, 2013, 11:38 a.m.
Blizzard Post

Is this a regression you are seeing or a new machine you are querying from? I assume the latter. Perhaps the machine you are querying from doesn’t have some standard root certificates installed. Ensure the GeoTrust Global CA cert in installed on your machine.

#5 - Sept. 20, 2013, 7:42 p.m.
Blizzard Post

Hi everyone,

Please note that from now on, we’re suggesting that you report all errors and bugs related to the API in this stickied thread:
https://forum-en.guildwars2.com/forum/community/api/API-errors-bugs/

Thank you.