error when connecting to the API
-
i am using this in my code but still get it sometimes
$apiURL="https://wallet.burst-team.us:8128/burst";
-
@falconCoin Try not specifying the port - there is a load balancer that will route the request to a functional wallet.
-
@haitch going without the port gives this errror
nginx/1.4.6 (Ubuntu) " string(169) " 302 Found
-
@haitch now i don't get this error everytime but it is often
-
i have found a odd error in the json as well, i know this is something in the NXT code but check this out
{"errorCode":5,"errorDescription":"Unknown account"}"it should come back
{"errorCode":"5,"errorDescription":"Unknown account"}"
-
hmm looks like i may be wrong on the json and that is how it comes back...
but now i need to figure out what the heck is going on there lol... and get php to work with what it is sending back
EDIT got it just better off using the "errorDescription"
-
@falconCoin the 302 means your connecting over http - it's using the 302 return code to redirect you to https
-
so odd since it is set to go to https...
that 302 came when i left the https intact and only took off the port
-
@falconCoin The 302 is only sent when the request comes in on port 80, but, without the port, an https request on 443 will get a 301 redirecting to an up wallet with the port. So if curl isn't processing the 301/302 returns, you will need to specify a port.
-
are any of the wallet address working so i can connect to the api?
-
bumping
-
@falconCoin How's it looking now ?
-
@haitch i will try again tomorrow thanks
