Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with https? #15

Open
mjmasn opened this issue Oct 26, 2015 · 4 comments
Open

Not working with https? #15

mjmasn opened this issue Oct 26, 2015 · 4 comments

Comments

@mjmasn
Copy link

mjmasn commented Oct 26, 2015

I can't seem to get this to work over a https connection... any thoughts?

The error I get is:

undefined:1
<html><body><h1>503 Service Unavailable</h1>
^
SyntaxError: Unexpected token <
  at Object.parse (native)
  at Request._callback (/Users/mike/.nvm/versions/node/v0.12.0/lib/node_modules/meteor-down/node_modules/ddp/lib/ddp-client.js:336:23)
  at Request.self.callback (/Users/mike/.nvm/versions/node/v0.12.0/lib/node_modules/meteor-down/node_modules/ddp/node_modules/request/request.js:344:22)
  at Request.emit (events.js:110:17)
  at Request.<anonymous> (/Users/mike/.nvm/versions/node/v0.12.0/lib/node_modules/meteor-down/node_modules/ddp/node_modules/request/request.js:1239:14)
  at Request.emit (events.js:129:20)
  at IncomingMessage.<anonymous> (/Users/mike/.nvm/versions/node/v0.12.0/lib/node_modules/meteor-down/node_modules/ddp/node_modules/request/request.js:1187:12)
  at IncomingMessage.emit (events.js:129:20)
  at _stream_readable.js:908:16
  at process._tickCallback (node.js:355:11)

@mjmasn
Copy link
Author

mjmasn commented Oct 29, 2015

@arunoda any ideas?

@francojfernandez
Copy link

+1

@louis49
Copy link

louis49 commented Sep 2, 2016

Try this PR : #20
Working for me.

@tzapu
Copy link

tzapu commented Mar 22, 2017

hi,

i was able to test over https with this bit

meteorDown.init(function (Meteor) {
  Meteor.call('addClient', { id: 'newClient', apiKey: '7schWTAcWZQ5NkHt' }, function (error, result) {
    Meteor.kill();
  });
});
meteorDown.run({
  concurrency: 600,
  url: 'https://domain.com',
  ssl: true,
});


hope it helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants