Open BackedUpBooty opened 3 months ago
Facing similar problem, no solution found yet.
I think this has to do with the Twitter API changing, but the Ruby gems that interact with it not being updated. Some of the changes have to do with API use pricing changing (there's very little you can do from the free tier, as of 2023), some of it is how unstable the API service as a whole has been for a while, some of it is that you have to look at the raw error messages now to see what's going wrong.
Running Huginn in docker, I've seen some similar issues from years ago but I couldn't find a resolution on them.
I followed the setup instructions for adding the env variables for Twitter/X oauth (HUGINN_TWITTER_OAUTH_KEY/SECRET). My huginn domain is accessible remotely with no restrictions on Cloudlfare's side or my side. When attempting to connect the service through Huginn by clicking the 'Authenticate with Twitter' button I get a
Not found. Authentication passthru
error at the URL which ishttps://huginn.mydomain.com/auth/twitter
. I have a local DNS redirect for my domain, it happens both inside and outside my LAN. I saw that someone mentioned it could be browser-related. I've tried with opera, firefox and chrome and got the same response.Steps I've taken:
https://huginn.mydomain.com/auth/twitter/callback
to the redirect on XLogs: Relevant logs for inside the LAN:
and outside the LAN
which would explain the 'Not found' error in the browser, but I can't figure out why. I couldn't find any other helpful logs when bashing into the container, though I may have just not found the right path (I found supervisord.log but it wasn't any help). Am I missing something in the container setup?
Environment in the compose is as follows (passed from a .env, though I've also tried the keys as explicit in the compose with the same outcome):
I also wiped the database and started with a new one with the Twitter OAUTH included from the beginning, just in case.
Thanks for any assistance and apologies if I've missed something super obvious.