Git Product home page Git Product logo

Comments (7)

itsKaynine avatar itsKaynine commented on August 27, 2024

@siamkreative Hi, sorry for the slow response. This might caused from the outdated soap package. I'll get back to you when I have a chance to try it out on latest version of Node. For now you can try updating the soap package.

from thailand-post.

siamkreative avatar siamkreative commented on August 27, 2024

No worries, take your time. I actually think that the issue comes from my setup... Locally, my small app runs fine with Node.js 7.0.0 and npm 3.10.8 but it leads to a 503 on my DigitalOcean droplet.

Because I have limited DevOps experience, I have been trying to figure this out for a week...

from thailand-post.

siamkreative avatar siamkreative commented on August 27, 2024

If I remove trackService, the server runs without a problem instead of timing out.

from thailand-post.

itsKaynine avatar itsKaynine commented on August 27, 2024

Hi, I just tested locally and everything seems to work fine. My bet is that they (thailandpost server) have blacklisted all connections from VPS providers like DigitalOcean, which makes the client unable to reach through SOAP. Again that is just a guess, I will investigate further and try it with VPN or something. Sorry for the late reply.

from thailand-post.

itsKaynine avatar itsKaynine commented on August 27, 2024

UPDATE

@siamkreative The problem seems to be related to the machine's timezone which caused the keygen to generate the wrong PublicXmlKey. I released version 2.1.0 to fix this bug.

Now I've successfully run demo.js in DigitalOcean SGP1 on Node v7.4.0.

from thailand-post.

siamkreative avatar siamkreative commented on August 27, 2024

Thanks I will try asap :)

from thailand-post.

siamkreative avatar siamkreative commented on August 27, 2024

How can I contact you? I am unable still unable to run my app on DigitalOcean (using the default node.js image). Maybe there is some firewall issues that I am not aware of?

from thailand-post.

Related Issues (3)

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.