Reply
Regular Contributor
Posts: 50
Registered: ‎05-31-2016

Sandbox: Error getting valid response from api

Yesterday we started getting this error on out development server, "Uncaught Exception: Error getting valid response from api.".

Our production checkout is working fine, but when trying to create a new profile using a test CC#, it fails.

 

Has something checnged on apitest.authorize.net?

 

Thanks,

Don

Highlighted
Regular Contributor
Posts: 50
Registered: ‎05-31-2016

Re: Sandbox: Error getting valid response from api

[ Edited ]

What's strange is the sandbox works from our staging server. But the code is the same.

I'm now catching the exception and the error is the same. When I look at the Authorizenet.log file the transaction stops at the response.

 

authorizenet/authorizenet/lib/net/authorize/util/HttpClient.php : 96) - Response from AnetApi:

It just ends there.

 

Any help appreciated. 

BTW, using the PHP SDK v1.9.9 and I have the latest cert.pem

Regular Contributor
Posts: 50
Registered: ‎05-31-2016

Re: Sandbox: Error getting valid response from api

Upgraded to 2.0.0 with no change

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

Re: Sandbox: Error getting valid response from api

Hello @fifty-git 

 

Have you tried using Wireshark or similar tools to isolate where communication breaks down?

 

Richard

Regular Contributor
Posts: 50
Registered: ‎05-31-2016

Re: Sandbox: Error getting valid response from api

[ Edited ]

I hadn't before your reply. I've installed wireshark locally and now I'm reading network traffic over ssh using tcpdump. But I really don't know what I'm looking for.

 

When I try to do a checkout on our dev, I saw this go by. with in black and red...

434747	515.610095	172.31.1.115	172.31.3.33	TCP	66	[TCP Previous segment not captured] 64742 → 22 [ACK] Seq=146989 Ack=441873649 Win=8619 Len=0 TSval=435510312 TSecr=1127518184

434748	515.610115	172.31.3.33	172.31.1.115	SSH	1314	Server: [TCP ACKed unseen segment] [TCP Previous segment not captured] , Encrypted packet (len=1248)

I'll have to figure out what this means

 

- Don

Regular Contributor
Posts: 50
Registered: ‎05-31-2016

Re: Sandbox: Error getting valid response from api

well, I did a reboot on our aws instance and that fixed it.

 

Sorry for the messed up post.

 

- D