The Energy Detective Forums

General Category => Developer Support => Topic started by: Peter on July 27, 2011, 11:18:58 PM

Title: Debugging
Post by: Peter on July 27, 2011, 11:18:58 PM
I have successfully activated the Energy Posting feature, but the gateway is not posting data.  The Result code on the stats page indicates a redirect problem, which does not occur when using a browser.  Is there an error log or debug switch available?  Also, why does the Server on the stats page show a hex number instead of the url that was supplied in the activation xml?  Thanks.

(http://img36.imageshack.us/img36/6168/3rdpartypost.png)
Title: Re: Debugging
Post by: TedDev on July 28, 2011, 04:32:32 AM
Redirects are not supported by the TED 3rd party posting. Please use a direct link if possible.
Title: Re: Debugging
Post by: Peter on July 28, 2011, 06:19:10 AM
I'm not using redirects, but ted thinks that I am. 

What about error logs, debug modes and the question about the hex number?

Thanks.
Title: Re: Debugging
Post by: TedDev on July 28, 2011, 07:17:04 AM
Not sure about the hex code. All that field does is echo the server name sent back by the XML activation so you may want to make sure that is parsing correctly. If you want to PM the your activation URL I'd be happy to look at the XML that is returned by it to see if I see anything that could be causing the error.  If its trying to access the server via the hex code below, that could be causing the 302 error (who knows what site its resolving to).

Title: Re: Debugging
Post by: Peter on July 28, 2011, 10:56:17 PM
 I figured out the problem.  It seems that the <AuthToken> cannot be a GUID.  I'm not sure what the character limit on AuthToken is, but it's less than 32.
Title: Re: Debugging
Post by: TedDev on July 29, 2011, 08:45:39 PM
Max length on the security code is 20 characters. I've updated the docs to note that.