stormpath / express-stormpath-sample-project

A sample Express-Stormpath project that showcases how to store profile data in customData.
10 stars 8 forks source link

Getting Error: Unable to execute http request #16

Closed sankhakarfa closed 7 years ago

sankhakarfa commented 7 years ago

Getting Error When running server.js

Server listening on http://localhost:3000

Error: Unable to execute httprequest GET https://api.stormpath.com/v1/applications/<someid>/accountStoreMappings
Request.onRequestResult [as _callback] (D:\testapp\sample\node_modules\express-stormpath\node_modules\stormpath\lib\ds\RequestExecutor.js:89:21)
 at self.callback (D:\testapp\sample\node_modules\express-stormpath\node_modules\stormpath\node_modules\request\request.js:187:22)
    at emitOne (events.js:77:13)
    at Request.emit (events.js:169:7)
    at Request.onRequestError (D:\testapp\sample\node_modules\express-stormpath\node_modules\stormpath\node_modules\request\request.js:813:8)
    at emitOne (events.js:77:13)
    at ClientRequest.emit (events.js:169:7)
    at TLSSocket.socketErrorListener (_http_client.js:258:9)
    at emitOne (events.js:77:13)
    at TLSSocket.emit (events.js:169:7)`
rdegges commented 7 years ago

This works for me locally when I test it on OSX and Linux.

The error your getting makes it look as if your HTTPS request is failing, possibly due to your ISP trying to man in the middle your connection?

What ISP do you have? Do you have any corporate proxies or firewalls?

sankhakarfa commented 7 years ago

I am using windows 10. In browser I am able to open it. I will check if it is blocked.

On Wed 21 Dec, 2016, 11:49 PM Randall Degges, notifications@github.com wrote:

This works for me locally when I test it on OSX and Linux.

The error your getting makes it look as if your HTTPS request is failing, possibly due to your ISP trying to man in the middle your connection?

What ISP do you have? Do you have any corporate proxies or firewalls?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stormpath/express-stormpath-sample-project/issues/16#issuecomment-268599716, or mute the thread https://github.com/notifications/unsubscribe-auth/AFwxNfz3cpLNAXVvVFZJ-eHo470itpNSks5rKW22gaJpZM4LTD24 .