Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Message: Unable to contact Authentication Server

 
Post new topic   Reply to topic    Infralution Support Forum Index -> IPN.NET Support
View previous topic :: View next topic  
Author Message
hi_jack



Joined: 10 Mar 2016
Posts: 19

PostPosted: Fri Sep 08, 2017 11:38 am    Post subject: Message: Unable to contact Authentication Server Reply with quote

Hello,

I have made some changes and I can not get IPN to work anymore with the test tool.

I get error message :

<PurchaseItem>
<Name>MyProduct</Name>
<Quantity>1</Quantity>
<TotalPrice>55</TotalPrice>
<Upgrade>False</Upgrade>
<Error>Unhandled Exception: WebException

Message: Unable to contact Authentication Server

Stack Trace:

at IpnServer._Default.ProcessPurchaseItem(Product product, Int32 quantity, Int32 cartItem)
at IpnServer._Default.ProcessSinglePurchaseItem()
at IpnServer._Default.ProcessPayment()
at IpnServer._Default.Page_Load(Object sender, EventArgs e)</Error>
</PurchaseItem>
</Payment>


Any help welcome

Thank you,
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Sep 13, 2017 10:49 pm    Post subject: Reply with quote

What changes did you make exactly?

Are you trying it with a new Product definition? Have you changed the Authentication Server URL? The error is indicating that the specified Authentication Server is not reachable.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
hi_jack



Joined: 10 Mar 2016
Posts: 19

PostPosted: Tue Sep 19, 2017 10:04 am    Post subject: Reply with quote

Hello,


I did play with the product definition but put it back to original.

The authentication sever seems OK and authentication is working as I can access the URL.

The URL is set in the product definition and in the code as per documentation.
Any other settings I should check?


I may have changed the settings on max Authentications or max Deauthentications could that cause a problem?


Also I used subdomains to host the IPN and Authentication sever but it worked OK so far.

Thank you,
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Sep 19, 2017 10:49 pm    Post subject: Reply with quote

Can you issue licenses with License Tracker and authenticate them OK?

What version of IPN.NET are you using?

After changing the settings did you update both the IPN server and the Authentication Server using the respective Configure Server menus in License Tracker? The current version of License Tracker will give you a warning if you forget to do this - but earlier versions didn't.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
hi_jack



Joined: 10 Mar 2016
Posts: 19

PostPosted: Thu Sep 21, 2017 1:50 pm    Post subject: Reply with quote

Hello,

I can issue licences and authenticate them OK.

I am using IPN Version 4.0.4

I did update the severs as well but bug is still there.

Any suggestions ?

Thank you
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Sep 21, 2017 10:22 pm    Post subject: Reply with quote

If the Authentication Server URL is correct (you are able to configure it from License Tracker) and you have configured the IPN.NET Server with these settings then the other most likely explanation is that your webserver host is preventing the IPN.NET server from reaching the Authentication Server URL for some reason.

IPN.NET and License Tracker only need to contact the Authentication Server when generating keys if you set the options in the Key Generation tab under the "Set Individual License Key Limits" box (ie Expiry Date, Max Authentications, Deauthentications etc). If you have overridden some of these options then IPN.NET may now be trying to contact the Authentication Server where previously it did not need to. This could potentially be showing up an issue with your host not allowing allowing access to the URL where it was not evident previously.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
hi_jack



Joined: 10 Mar 2016
Posts: 19

PostPosted: Fri Sep 22, 2017 10:01 am    Post subject: Reply with quote

Hello,

Thank you for the answer.

Is there a way to then avoid it to contact the authenticate server and go back to previous behavior.

I tried changing those settings but I still get same error.

Thank you
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Sat Sep 23, 2017 12:07 am    Post subject: Reply with quote

To avoid the need for IPN.NET to contact the Authentication Server you must have the following settings in the Key Generation tab:

  • Expiry Date = None
  • Max Authenticatations - override default unchecked
  • Max Deauthenticatations - override default unchecked
  • Floating Licenses = 0
  • Detect Cloned Computers set to inherit (solid black)
  • Block Terminal Services set to inherit (solid black)


If you have these settings then when you generate a license from inside License Tracker the key generation should be instant and you should not see a progress box saying "Setting Authentication Limits for ..."

If the above is true but you are still seeing the same error from IPN.NET about contacting the Authentication Server then it means one of two things:

1. You have not configured the IPN.NET Server using the IPN.NET > Configure Server menu (so it is using the old settings); or
2. You could be running two instances of the IPN.NET Server on two different URLs - you are configuring one, but using the other.

If neither of the above is true I would suggest reconfiguring your IPN.NET Server from scratch. Upload a new empty IPN.NET database to your server run the Install.aspx web script and then configure it from License Tracker.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
hi_jack



Joined: 10 Mar 2016
Posts: 19

PostPosted: Tue Oct 03, 2017 5:21 pm    Post subject: Reply with quote

Hello,

It did work indeed.

For further users it took me a while as I did not realize that as you mentioned :

Detect Cloned Computers set to inherit (solid black)
Block Terminal Services set to inherit (solid black)

I had let then just checked but it is a tri-state button and just checked is not solid black!

Anyway thank you for your assistance and great product.
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Tue Oct 03, 2017 10:41 pm    Post subject: Reply with quote

Yes those tristate checkboxes are a little tricky if you haven't seen them before.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> IPN.NET Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group