Giter Club home page Giter Club logo

url-tracker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

url-tracker's Issues

MongoError: failed to connect to server

i have issue with url tracker
i'm install mongo and browse 27017 say me
It looks like you are trying to access MongoDB over HTTP on the native driver port.
then i'm run url-tracker with docker-compose up
MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFUSED 127.0.0.1:27017]

please help

Feature Request: Add option to import a list of Urls

Hey

Great tool. I like the idea and started using it today.

It will be great if you add an option to add a list of urls for monitoring.

I did this through api and DOS my own server accidently. It will be good if a user can add 10k urls at once.

Regards,

Docker Can't connect to Mongodb

Hi there,

Tried running the docker container, but it couldn't connect to the mongod instance.

Modified config/datastores.js line to read

url: 'mongodb://mongodb/urlTracker'

and it worked a treat

not able to install npm in url tracker

root@kool:~/url-tracker# npm install
npm ERR! Linux 4.15.0-112-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror http://github.com/npm/npm/issues
npm ERR! Linux 4.15.0-112-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror http://github.com/npm/npm/issues

npm ERR! Please include the following file with any support request:
npm ERR! /root/url-tracker/npm-debug.log

please help me out wanna try your tool looks great to me

Sails Lift not working

Hello @ahussam
Thanks for the awesome tool. I am having issue after running Sails lift. Here is the error I get below in my terminal.

info: Starting app...

(node:25492) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
 info: Initializing project hook... (`api/hooks/custom/`)
 info: Initializing `apianalytics` hook...  (requests to monitored routes will be logged!)
 info: ·• Auto-migrating...  (alter)
 info:    Hold tight, this could take a moment.
error: A hook (`orm`) failed to load!
error: Could not tear down the ORM hook.  Error details: Error: Consistency violation: Attempting to tear down a datastore (`default`) which is not currently registered with this adapter.  This is usually due to a race condition in userland code (e.g. attempting to tear down the same ORM instance more than once), or it could be due to a bug in this adapter.  (If you get stumped, reach out at http://sailsjs.com/support.)
    at Object.teardown (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-mongo/lib/index.js:390:19)
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/lib/waterline.js:758:27
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/node_modules/async/dist/async.js:3047:20
    at eachOfArrayLike (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/node_modules/async/dist/async.js:1002:13)
    at eachOf (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/node_modules/async/dist/async.js:1052:9)
    at Object.eachLimit (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/node_modules/async/dist/async.js:3111:7)
    at Object.teardown (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/waterline/lib/waterline.js:742:11)
    at Hook.teardown (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-hook-orm/index.js:246:30)
    at Sails.wrapper (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/@sailshq/lodash/lib/index.js:3282:19)
    at Object.onceWrapper (events.js:421:28)
    at Sails.emit (events.js:315:20)
    at Sails.EventEmitter.emit (domain.js:485:12)
    at Sails.emitter.emit (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/private/after.js:56:26)
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/lower.js:67:11
    at beforeShutdown (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/lower.js:45:12)
    at Sails.lower (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/lower.js:49:3)
    at Sails.wrapper [as lower] (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/@sailshq/lodash/lib/index.js:3282:19)
    at whenSailsIsReady (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails/lib/app/lift.js:68:13)
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/async/dist/async.js:3861:9
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/async/dist/async.js:421:16
    at iterateeCallback (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/async/dist/async.js:924:17)
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/async/dist/async.js:906:16
error:
error: Error: Consistency violation: Unexpected error creating db connection manager:

MongoError: failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
name: 'MongoError'
}]
at flaverr (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/flaverr/index.js:94:15)
at Function.module.exports.parseError (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/flaverr/index.js:371:12)
at Function.handlerCbs.error (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/machine/lib/private/help-build-machine.js:665:56)
at connectCb (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-mongo/lib/private/machines/create-manager.js:130:22)
at connectCallback (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/mongodb/lib/mongo_client.js:428:5)
at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/mongodb/lib/mongo_client.js:335:11
at processTicksAndRejections (internal/process/task_queues.js:79:11)

    at Object.error (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-mongo/lib/index.js:268:21)
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/machine/lib/private/help-build-machine.js:1514:39
    at proceedToFinalAfterExecLC (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/parley/lib/private/Deferred.js:1153:14)
    at proceedToInterceptsAndChecks (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/parley/lib/private/Deferred.js:913:12)
    at proceedToAfterExecSpinlocks (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/parley/lib/private/Deferred.js:845:10)
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/parley/lib/private/Deferred.js:303:7
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/machine/lib/private/help-build-machine.js:952:35
    at Function.handlerCbs.error (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/machine/lib/private/help-build-machine.js:742:26)
    at connectCb (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/sails-mongo/lib/private/machines/create-manager.js:130:22)
    at connectCallback (/Users/hacklad/Bugbountyserver/url-tracker/node_modules/mongodb/lib/mongo_client.js:428:5)
    at /Users/hacklad/Bugbountyserver/url-tracker/node_modules/mongodb/lib/mongo_client.js:335:11
    at processTicksAndRejections (internal/process/task_queues.js:79:11)

error: Could not load Sails app.

Error in install internal/modules/cjs/loader.js:638

internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module '//url-tracker/node_modules/sails-hook-grunt/node_modules/core-js/scripts/postinstall'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm ERR! Maximum call stack size exceeded

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-08-26T02_57_41_299Z-debug.log

npm version 6.14.6
os : x86_64 GNU/Linux

check function email

hello
How to check work the function of sending a notification to an email
As I am not receiving any email updates

Failed to lift app: Error: Automigrations failed

urltracker | error: Failed to lift app: Error: Automigrations failed. (See logs above for help, and a summary of what went wrong.)
urltracker | at Timeout._onTimeout (/usr/src/app/node_modules/waterline-utils/lib/auto-migrations/private/run-alter-strategy/private/inform-re-failed-alter-stratagem.js:213:55)
urltracker | at ontimeout (timers.js:436:11)
urltracker | at tryOnTimeout (timers.js:300:5)
urltracker | at listOnTimeout (timers.js:263:5)
urltracker | at Timer.processTimers (timers.js:223:10)

Please Update the README File

Can you please update the readme file, you have mentioned in the config folder /config/env/production.js mysql but you are inserting admin user creds in the mongo db server,

Please update the installation part in readme File.

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.