Comments (7)
@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.
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.
If I remove trackService
, the server runs without a problem instead of timing out.
from thailand-post.
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.
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.
Thanks I will try asap :)
from thailand-post.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thailand-post.