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

Lookup and upload issue #11

Open
Murtuza321 opened this issue Jan 15, 2020 · 7 comments
Open

Lookup and upload issue #11

Murtuza321 opened this issue Jan 15, 2020 · 7 comments

Comments

@Murtuza321
Copy link

Unable to lookup or upload contact gating this error

We're sorry, but something went wrong.

If you are the application owner check the logs for more information.

@Murtuza321
Copy link
Author

2020-01-15T14:08:35.589739+00:00 heroku[router]: at=info method=GET path="/lookup" host=murtazaapp.herokuapp.com request_id=f56f58e3-86b3-4256-bce1-96eccf982a3e fwd="198.98.54.241" dyno=web.1 connect=1ms service=25ms status=500 bytes=1827 protocol=https

2020-01-15T14:08:35.570789+00:00 app[web.1]: I, [2020-01-15T14:08:35.570639 #4] INFO -- : [f56f58e3-86b3-4256-bce1-96eccf982a3e] Started GET "/lookup" for 198.98.54.241 at 2020-01-15 14:08:35 +0000

2020-01-15T14:08:35.572047+00:00 app[web.1]: I, [2020-01-15T14:08:35.571924 #4] INFO -- : [f56f58e3-86b3-4256-bce1-96eccf982a3e] Processing by LookupController#run as HTML

2020-01-15T14:08:35.579842+00:00 app[web.1]: D, [2020-01-15T14:08:35.579685 #4] DEBUG -- : [f56f58e3-86b3-4256-bce1-96eccf982a3e] �[1m�[36mContact Load (4.0ms)�[0m �[1m�[34mSELECT "contacts".* FROM "contacts" ORDER BY "contacts"."id" ASC LIMIT $1�[0m [["LIMIT", 1000]]

2020-01-15T14:08:35.583175+00:00 app[web.1]: I, [2020-01-15T14:08:35.583039 #4] INFO -- : [f56f58e3-86b3-4256-bce1-96eccf982a3e] Completed 500 Internal Server Error in 11ms (ActiveRecord: 4.0ms)

2020-01-15T14:08:35.589538+00:00 app[web.1]: F, [2020-01-15T14:08:35.589173 #4] FATAL -- : [f56f58e3-86b3-4256-bce1-96eccf982a3e]

2020-01-15T14:08:35.591881+00:00 app[web.1]: F, [2020-01-15T14:08:35.591737 #4] FATAL -- : [f56f58e3-86b3-4256-bce1-96eccf982a3e] Redis::CannotConnectError (Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)):

2020-01-15T14:08:35.592000+00:00 app[web.1]: F, [2020-01-15T14:08:35.591918 #4] FATAL -- : [f56f58e3-86b3-4256-bce1-96eccf982a3e]

2020-01-15T14:08:35.592133+00:00 app[web.1]: F, [2020-01-15T14:08:35.592049 #4] FATAL -- : [f56f58e3-86b3-4256-bce1-96eccf982a3e] app/controllers/lookup_controller.rb:6:in `block in run'

2020-01-15T14:08:35.592136+00:00 app[web.1]: [f56f58e3-86b3-4256-bce1-96eccf982a3e] app/controllers/lookup_controller.rb:5:in `run'

@bitlayergit
Copy link

I had this error, was able to fix it by putting the rails API

@bitlayergit
Copy link

but still cant lookup anything, I upload the csv file and get no results; probably something between twilio and the tool, trying to contact the developer in linkedin to work together in the fix

@mleefiend
Copy link

Any update on this @bitlayergit ? Were you able to get ahold of @cweems ?

What should the format of the CSV file look like?

@cweems
Copy link
Owner

cweems commented May 14, 2020

I believe this error means that you aren't able to connect to Redis. Redis setup was missing from the README so I've added those steps now: https://github.com/cweems/twilio-bulk-lookup/blob/master/README.md

@mleefiend
Copy link

Thanks @cweems that worked! What should the format of the CSV file be? I've created a test csv file with two numbers separated by comma but the system is now giving an error of:

Error: can't write unknown attribute _formatted_phone_number

@jason200434
Copy link

I believe this error means that you aren't able to connect to Redis. Redis setup was missing from the README so I've added those steps now: https://github.com/cweems/twilio-bulk-lookup/blob/master/README.md

Can you please upgrade the version of ruby???

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

5 participants