Made a powershell script (sorry linux users) for easy force updating:
https://gist.github.com/p3lim/3385bc34b82a7f1cd0cc |
Sorry if this is a nub question, but it's requiring me to put my credit card information in to use this app on Heroku. Will I be charged for using this app? Or is it basically just there to stay on file and I shouldn't get charged (using only this app)?
|
Quote:
They charge for something called "dynos", which are basically instances of virtual machines, and you can increase the amount and power for each application you've got. This app is very small, it will never require anything serious, so go with the default choice when creating an app (ONE dyno, 1X power), as seen in this screenshot, and this setup is completely free, no hidden fees or anything: |
Okay thanks!
Edit: Nevermind, I think I derped. |
The wait time is in intervals, you can configure how many times it should check, and how often (with limits of course).
|
I'm having trouble getting it to even check at all. I honestly don't know much about any of this at all, so I wouldn't be surprised if it's a silly mistake.
Here is my log: Code:
-- Edited Anyway, I kind of left it alone for a while so I could make some changes to my addon and then came back to try again when I finished. I've tried resending the webhook several times and it still won't do anything. I see in your log it starts doing it's business but the most it's wanting to do so far is just get the addon list. Here is my addon.js: Code:
[ |
I fixed the old details in the wiki, thanks for letting me know.
Also, you should use a different name for the app on Heroku, as suggested in the wiki. Edit: sorted out in private messages, it was just confusion around outdated documentation on the wiki. |
Quote:
Sometimes I hate myself for being a perfectionist >.> |
Unfortunately, I can't seem to get the script working, it always fails right after WoWI authentication:
Code:
Jun 27 11:06:58 app/web.1: [LOG] Received forced check for "ckaosMilitia" version "6.2v1". |
Seems like an issue with the WoWInterface API, I'll see if I can get dolby to take a look at it.
Try forcing it in a little, see this on how to: https://github.com/p3lim/addon-packa...mment-74553204 |
403 is thrown if the user is not authenticated or the AddOn is disabled/banned. There is a text message that is given with the 403 that will distinguish the two. Looking at the AddOn its not disabled or banned so I'm sure there is an issue with ckaotik's authentication.
|
But then, why did the previous call return "Successfully authenticated with WowInterface."?
The API url works fine when I open it in the browser while logged in, but the script should do the same thing as it stores the cookie? Edit: The 403 error reported something along the lines of "You must be logged in to use this API" |
If the login is successful then to me that says something isn't capturing and storing the cookie OR isn't passing it on to wowi when making api calls?
Are you able to interact with the API via curl? http://www.wowinterface.com/forums/s...ad.php?t=51835 I just tested via curl and haven't had any issues. |
It is storing the cookie correctly, which is purged automatically when the heroku server node goes to sleep.
I'll see if I can add a manual purge function, but for now you can manually set the node to sleep if you want to. Did you try a forced update by the way? |
0.5.0 is out, changes:
|
I'm getting a "Fetching failed with status 128" error when forcing an update on one of my AddOns.
Full log: Code:
Jul 08 08:38:14 choonster-wow-addons heroku/router: at=info method=GET path="/force/CustomTooltips/1.04" host=choonster-wow-addons.herokuapp.com request_id=dad177d4-2d6f-4f4e-a4ab-7305333f23eb fwd="220.239.127.236" dyno=web.1 connect=2ms service=83ms status=304 bytes=131 addons.json: https://gist.github.com/Choonster/2ce79d3eb7adee8bdb2d Do you know what the issue might be? |
I'll take a look at it tomorrow if I get a chance.
|
Quote:
Unfortunately, I'm still running into the same issue even on 0.5.1. Could this be because of my Heroku setup? I'm using the new "Free" dyno on EU servers. Code:
heroku/web.1: Starting process with command `npm start` |
0.5.2 is out, changes:
|
Quote:
|
All times are GMT -6. The time now is 08:45 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI