Coder Social home page Coder Social logo

When i try create Parthner Application Xeroizer and Oauth generate Errno::ECONNRESET Exception: Connection reset by peer about xeroizer HOT 11 CLOSED

waynerobinson avatar waynerobinson commented on July 18, 2024
When i try create Parthner Application Xeroizer and Oauth generate Errno::ECONNRESET Exception: Connection reset by peer

from xeroizer.

Comments (11)

waynerobinson avatar waynerobinson commented on July 18, 2024

This error is usually caused due to a network error somewhere up the pipe to Xero.

Could you please confirm this is only happening on partner applications? If so, you might want to verify that your local, partner SSL certificate provided by Xero is installed and working correctly.

from xeroizer.

kaktusyaka avatar kaktusyaka commented on July 18, 2024

When I try create public or private application all working perfect. So this exception only for parthner application.

from xeroizer.

waynerobinson avatar waynerobinson commented on July 18, 2024

I'm sorry, there is a lot that could be going wrong when you are using a partner application.

Have you submitted a request to Xero's API team to get a client-side partner certificate and then followed the steps to not only download it correctly from their SSL provider, but also the steps in the README for Xeroizer on how to extract and use that client-side SSL certificate in addition to your private key?

If you're still having trouble, I believe Xero's own API team may be of assistance. You can contact them at [email protected].

If you get to an answer, please note it on this thread for others who may come across the same problems.

from xeroizer.

kaktusyaka avatar kaktusyaka commented on July 18, 2024

yes, we've spoken directly with the Xero API team (the partner team specifically) and they have not been able to provide any further information. We've also seen a few other people come across this same issue with no apparent fix. We have checked and double checked our Partner credentials (and entrust certs) and this issue still exists.

from xeroizer.

waynerobinson avatar waynerobinson commented on July 18, 2024

Unfortunately, I don't have a current partner certificate to do any testing with.

The only last thing I can suggest is to make sure your version of libssl is 0.9.8 (and not anything more recent). There have been some known issues with using later versions of libssl with a lot of different libraries.

from xeroizer.

kaktusyaka avatar kaktusyaka commented on July 18, 2024

would you be available to consult directly with us to find a resolution (paid)?

from xeroizer.

waynerobinson avatar waynerobinson commented on July 18, 2024

Unfortunately I'm not available for the next few weeks. If you're still having problems after then, please contact me directly and I will see if I can help out.

Other potential things you may want to try include:

  • Ensuring your demo account in Xero is no more than 30 days old, if it is, you need to recreate it
  • Ensure you use the Entrust key with its password removed
  • libssl should be 0.9.8
  • Attempt to run the same code on a Linux box (I've encountered weird libssl versioning errors that are Mac-specific)

from xeroizer.

waynerobinson avatar waynerobinson commented on July 18, 2024

Is this issue still occurring? Is anyone else having this issue?

from xeroizer.

kaktusyaka avatar kaktusyaka commented on July 18, 2024

oooo. sorry. It was a problem with rvm and ssl. When I reinstall rvm all working fine! So issue is solved.

from xeroizer.

kaktusyaka avatar kaktusyaka commented on July 18, 2024

I think we can close issue.

from xeroizer.

waynerobinson avatar waynerobinson commented on July 18, 2024

Great to hear.

from xeroizer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.