question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Running pizzapi inside my node app gives me a timeout

See original GitHub issue

My code at the moment is basically this

var pizzapi = require('pizzapi');

var app = express();

pizzapi.Util.findNearbyStores(
    '90210',
    'Delivery',
    function(storeData){
        console.log('data: ', storeData);
    }
);

However in the command line I get the following error…

data:  { success: false,
  message:
   { [Error: connect ETIMEDOUT 205.218.22.12:443]
     code: 'ETIMEDOUT',
     errno: 'ETIMEDOUT',
     syscall: 'connect',
     address: '205.218.22.12',
     port: 443 } }

Do you know why this would happen?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
RIAEvangelistcommented, Feb 24, 2016

@4m4rOk _yes_ they do have very aggressive anti DOS in place. They will block you for about 15 min.

It’s kind of like this :

blocked

0reactions
johnhforrestcommented, Jul 8, 2016

@RIAEvangelist Do you have any details on the limits of the API? Is there a key system in place with Dominos to prevent hitting the limit? Would love to hear more about this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

connection timed out error in running the app in node.js
The timed out error happens both in production and development. But when I set production , it is not changing the mode as...
Read more >
RIAEvangelist/node-dominos-pizza-api - Gitter
Example Dominos Pizza Delivery in the Philippines. ... Cause: java.lang. ... are unreachable for me (connection timeout), resulting in the whole app not ......
Read more >
Node .js is running but socket.io connection timeout after few ...
For 10-15 minutes everything is okay; node running (no error, no log ...) good but socket.io cant connect. (ERR_TIMEOUT) when i close node...
Read more >
Node.js app stops after a while: does the Pi go to sleep?
Hi, I have OSMC running on an RPi 3, and a Node.js app that periodically sends commands to Kodi's JSON-RPC API to play...
Read more >
Untitled
Scan2go opening theme song, The reading room salmon run mall, ... Gut aussehende, Time in time out magazine, Bridge over the troubled water...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found