Integration and Testing

Authorize.Net API questions and help with your payment integration.

Reply
Member
Posts: 5
Registered: ‎07-23-2015

<urlopen error [Errno -2] Name or service not known>

I am trying to hit sandbox API using urllib using below API in python:

 

TEST_URL = 'https://test.authorize.net/gateway/transact.dll'

It worked yesterday, but today I am getting following error, please let me know if there is any issue from your side, or is there any issue from my side like proxy settings etc.

 

<urlopen error [Errno -2] Name or service not known>

 

Thanks in Advance.

Sreekanth 

Posts: 2,765
Topics: 57
Kudos: 270
Blog Posts: 67
Registered: ‎12-05-2011

Re: <urlopen error [Errno -2] Name or service not known>

Hello @sreekanthreddyi

 

Are you still experiencing this problem?

 

Richard

Member
Posts: 5
Registered: ‎07-23-2015

Re: <urlopen error [Errno -2] Name or service not known>

Yes Rechard, it is happening only with sandbox in dev environment, not in Production.

 

Also I have not changed any code in my dev environment.

 

I am using authorizesause third party for django, and there are no changes in the library too.

 

Please help me.

 

Thanks in advance.

 

Sreekanth Reddy Ila

 

 

Member
Posts: 1
Registered: ‎03-22-2016

Re: <urlopen error [Errno -2] Name or service not known>

[ Edited ]

Are there any updates on this? I am experiencing the same issue. We are also using Django and authorizesauce. The error is only encountered in development; production is unaffected.

 

That said, I cannot confidently update our production environment when development is still unstable.

Posts: 2,765
Topics: 57
Kudos: 270
Blog Posts: 67
Registered: ‎12-05-2011

Re: <urlopen error [Errno -2] Name or service not known>

Hello @That1Guy

 

We're aware of this issue in our sandbox.  You can learn more about this and a potential work-around here: https://community.developer.authorize.net/t5/Integration-and-Testing/sandbox-wsdl-oce-ex-cert-api-nx...