GithubHelp home page GithubHelp logo

Comments (6)

edsu avatar edsu commented on July 4, 2024

I'm confused. The app that you brought up on our call yesterday with docnow-ansible worked fine. I was able to log in and add a location to monitor at least.

from docnow.

kayiwa avatar kayiwa commented on July 4, 2024

We got to the "splash page" that allows you to enter Twitter API/KEY yesterday. So in that regard yes it worked. I'd never gone beyond this page in my tests before (sorry) and all attempts since have given me this error and I haven't the slightest clue where to start looking

from docnow.

kayiwa avatar kayiwa commented on July 4, 2024

I don't know if this is useful.

WARNING in ./src/client/components/AddPlace.js
app_1    |
app_1    | /code/src/client/components/AddPlace.js
app_1    |   30:7  warning  Unexpected alert  no-alert
app_1    |
app_1    | ✖ 1 problem (0 errors, 1 warning)
app_1    |
app_1    |  @ ./src/client/components/Trends.js 21:16-37
app_1    |  @ ./src/client/containers/TrendsPage.js
app_1    |  @ ./src/client/containers/App.js
app_1    |  @ ./src/client/index.js
app_1    |  @ multi ./index webpack-hot-middleware/client
app_1    | Child html-webpack-plugin for "index.html":
app_1    |          Asset    Size  Chunks  Chunk Names
app_1    |     index.html  567 kB       0
app_1    |     chunk    {0} index.html 541 kB [entry] [rendered]
app_1    |         [0] ./~/lodash/lodash.js 540 kB {0} [built]
app_1    |         [1] ./~/html-webpack-plugin/lib/loader.js!./src/client/index.html 529 bytes {0} [built]
app_1    |         [2] (webpack)/buildin/global.js 509 bytes {0} [built]
app_1    |         [3] (webpack)/buildin/module.js 517 bytes {0} [built]
app_1    | webpack: Compiled with warnings.
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:12:45 +0000] "GET / HTTP/1.1" 200 216 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:12:45 +0000] "GET /bundle.js HTTP/1.1" 200 3165002 "http://54.164.20.153:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:12:50 +0000] "GET /api/v1/user HTTP/1.1" 401 27 "http://54.164.20.153:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:12:50 +0000] "GET /api/v1/world HTTP/1.1" 200 2 "http://54.164.20.153:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:12:50 +0000] "GET /api/v1/settings HTTP/1.1" 200 2 "http://54.164.20.153:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:12:50 +0000] "GET /api/v1/setup HTTP/1.1" 200 5 "http://54.164.20.153:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | node_redis: Deprecated: The HGETALL command contains a "null" argument.
app_1    | This is converted to a "null" string now and will return an error from v.3.0 on.
app_1    | Please handle this in your code to make sure everything works as you intended it to.
app_1    | (node:55) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'id' of null
app_1    | (node:55) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:12:50 +0000] "GET /favicon.ico HTTP/1.1" 200 - "http://54.164.20.153:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:12:50 +0000] "GET /api/v1/settings HTTP/1.1" 304 - "http://54.164.20.153:3000/settings/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:12:50 +0000] "GET /favicon.ico HTTP/1.1" 200 - "http://54.164.20.153:3000/settings/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | info: importing trends
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:13:39 +0000] "PUT /api/v1/settings HTTP/1.1" 200 20 "http://54.164.20.153:3000/settings/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:13:39 +0000] "GET /auth/twitter/ HTTP/1.1" 500 1094 "http://54.164.20.153:3000/settings/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | Error: Desktop applications only support the oauth_callback value 'oob'
app_1    |     at Strategy.parseErrorResponse (/code/node_modules/passport-twitter/lib/strategy.js:206:12)
app_1    |     at Strategy.OAuthStrategy._createOAuthError (/code/node_modules/passport-oauth1/lib/strategy.js:393:16)
app_1    |     at /code/node_modules/passport-oauth1/lib/strategy.js:244:41
app_1    |     at /code/node_modules/oauth/lib/oauth.js:543:17
app_1    |     at passBackControl (/code/node_modules/oauth/lib/oauth.js:397:13)
app_1    |     at IncomingMessage.<anonymous> (/code/node_modules/oauth/lib/oauth.js:409:9)
app_1    |     at emitNone (events.js:110:20)
app_1    |     at IncomingMessage.emit (events.js:207:7)
app_1    |     at endReadableNT (_stream_readable.js:1045:12)
app_1    |     at _combinedTickCallback (internal/process/next_tick.js:138:11)
app_1    |     at process._tickCallback (internal/process/next_tick.js:180:9)
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:13:39 +0000] "GET /__webpack_hmr HTTP/1.1" 200 - "http://54.164.20.153:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:13:39 +0000] "GET /api/v1/trends HTTP/1.1" - - "http://54.164.20.153:3000/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"
app_1    | ::ffff:128.112.65.39 - - [08/Aug/2017:15:13:39 +0000] "GET /favicon.ico HTTP/1.1" 200 - "http://54.164.20.153:3000/auth/twitter/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36"

from docnow.

edsu avatar edsu commented on July 4, 2024

It looks like it's the result of Callback URL not being defined for the app over at https://apps.twitter.com. Ideally docnow would tell the user to go put a URL in there rather than throwing this obscure error.

from docnow.

alexandradm avatar alexandradm commented on July 4, 2024

this URL works for local env: http://localhost:3000/auth/twitter/callback

from docnow.

edsu avatar edsu commented on July 4, 2024

The app now warns about this issue and incorrect keys. 4 years late is better than never?

from docnow.

Related Issues (20)

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.