get-me-a-date icon indicating copy to clipboard operation
get-me-a-date copied to clipboard

errors appear in the log

Open jsw7524 opened this issue 5 years ago • 5 comments

At first, I want to appreciate contributors of this tool, thanks for your hard work.

When I try to use docker image, I find it is no response in http://localhost:5940/. Then, I check the log shown below, there are several errors in the log

https://gist.github.com/jsw7524/2fe1c3e9aeecbb27b6587c64f4ac1359

I think Tinder may change webpage layout, so this tool cannot run properly. if that is true, could you please fix that?

jsw7524 avatar Oct 13 '19 10:10 jsw7524

I'm trying to boot it and having the same issue. It's a bit unclear where exactly it is coming from. The tinder-wrapper uses the Tinder API directly, so it shouldn't be the cause of this.

Gyvastis avatar Mar 07 '20 21:03 Gyvastis

I have found the location of the issue. It's in the facebook token dependency. https://github.com/hfreire/facebook-login-for-robots/blob/master/src/facebook-login-for-robots.js#L85

Gyvastis avatar Mar 07 '20 21:03 Gyvastis

https://github.com/Gyvastis/facebook-login-for-robots/blob/master/src/facebook-login-for-robots.js

Here's a working version. Just need to update the tests and make a PR and we should be good to go if @hfreire is responsive enough to merge and build the changes :)

Gyvastis avatar Mar 08 '20 01:03 Gyvastis

As a workaround for now we can mount the updated file as a volume. wget https://raw.githubusercontent.com/Gyvastis/facebook-login-for-robots/master/src/facebook-login-for-robots.js docker run -p "5940:3000" -e "FACEBOOK_USER_EMAIL=***" -e "FACEBOOK_USER_PASSWORD=***" -e "AWS_REGION=***" -e "AWS_ACCESS_KEY_ID=***" -e "AWS_SECRET_ACCESS_KEY=***" -e "ROLLBAR_API_KEY=***" -v ./facebook-login-for-robots.js:/opt/get-me-a-date/node_modules/facebook-login-for-robots/lib/facebook-login-for-robots.js hfreire/get-me-a-date

Gyvastis avatar Mar 08 '20 10:03 Gyvastis

Apparently there are more issues involved. After fetching userId & accessToken from Facebook it does not update it in the projects' database hence we don't see any details in the front-end (I assume that's what it happends as I can see the /channels endpoint returns invalid data for those values).

Gyvastis avatar Mar 08 '20 12:03 Gyvastis