Comments (6)
Hi @vipera7.
I am also running on docker with the latest version and don't have any issues. Do you use a very low SLEEP_TIME
?
Sometimes it helps to deactivate the scanner for some hours or reset your internet connection and get a new IP from you ISP.
Let me hear if the problem persists.
from tgtg.
I'm running the container on a VPS.
Here is my docker-compose.yml
version: "3.3"
services:
app:
image: derhenning/tgtg:latest ## pre build image from docker hub
#image: tgtg-scanner:latest ## locally build image
environment:
- TZ=Europe/Paris ## Set timezone for pickupdate, otherwise will be utc
- DEBUG=false ## true for debug log messages
- [email protected] ## TGTG Username / Login EMail
- SLEEP_TIME=60 ## Time to wait till next scan in seconds - default 60 seconds
- ITEM_IDS=1,2,3,4 ## (optional) Comma seperated list of Item Ids to scan
- METRICS=false ## Enable to export metrics for Prometheus
- METRICS_PORT=8000 ## Port for metrics http server
- DISABLE_TESTS=false ## true to disable test notifications on startup
- SMTP=false ## true = enable mail notifications via smtp
- SMTP_HOST=smtp.gmail.com ## smtp Server - smtp.gmail.com for google
- SMTP_PORT=465 ## smtp Server Port - 465 for google
- [email protected] ## smtp Login - your EMail for google
- SMTP_PASSWORD= ## smtp Login Password - your Login PW for google
- SMTP_TLS=true ## enable TLS - true for google and most smtp servers
- [email protected] ## sender adress - same as Login for google and most smtp servers
- [email protected] ## recipient for notifications - can be the same as sender
- PUSH_SAFER=false ## true = enable notifications via pushsafer.com
- PUSH_SAFER_KEY=
- PUSH_SAFER_DEVICE_ID=
- TELEGRAM=true ## true = enable notifications via Telegram
- TELEGRAM_TOKEN=SECRET ## Telegram Bot token - see @botfather
- TELEGRAM_CHAT_IDS=-SECRET ## Telegram Chat id, multiple ids separated by comma
#- TELEGRAM_BODY= ## Optional message body as markdown, variables as described below
## Example:
## 'TELEGRAM_BODY={{`*$${{display_name}}*\n*Available*: $${{items_available}}\n*Rating*: $${{rating}}\n*Price*: $${{price}} $${{currency}}\n*Pickup*: $${{pickupdate}}`}}'
- IFTTT=false ## true = enable notifications via IFTTT Webhooks
- IFTTT_EVENT=tgtg_notification ## IFTTT Webhooks Event
- IFTTT_KEY= ## IFTTT Webhooks Key
## Possible $${{variable}} variables: item_id, items_available, display_name, price, currency, pickupdate
## Example:
## - 'WEBHOOK_BODY={"message": "$${{display_name}} - New Amount: $${{items_available}}", "priority": 2, "title": "New TGTG Items"}'
## Notice that you have to enclose the variable with ''
- WEBHOOK=false ## true = enable notifications via costum WebHook
- WEBHOOK_URL= ## URL of your WebHook, can contain $${{variable}}
- WEBHOOK_METHOD=POST ## Request Method
- WEBHOOK_BODY= ## Data to send, can contain $${{variable}}
- WEBHOOK_TYPE= ## Content-Type for header, default: text/plain
- WEBHOOK_TIMEOUT=60 ## Request Timeout
volumes:
- /home/tgnotifier/tokens:/tokens ## volume to save TGTG credentials to reuse on next start up and avoid login mail
volumes:
tokens:
Do I have to increase the SLEEP_TIME
? I don't think it will resolve because the container is running like 4-5 seconds before exiting Exited (1)
. Do I need to reboot the VPS ?
Thanks
from tgtg.
A SLEEP_TIME
of 60 should be fine and normally doesn't trigger the "too many requests temporary ban" of the TGTG API.
Rebooting is always a good and cheap way to magically solve any problems :) So it is worth a try.
Usually the 403 is only a temporary ban that is resolved after some hours.
But you can try using a new IP if it is possible for your VPS.
from tgtg.
Thanks, I rebooted but I'm facing the same issue. I'll give a try tomorrow
from tgtg.
Thanks, I rebooted but I'm facing the same issue. I'll give a try tomorrow
from tgtg.
It's working now. Thanks for the help !
from tgtg.
Related Issues (20)
- When TELEGRAM_DISABLE_COMMANDS is enabled Telegram notifier shouldn't register commands HOT 3
- Telegram chat id is missing HOT 2
- Warnings about telegram, although telegram is not enabled HOT 4
- Config not being parsed correctly from docker-compose file HOT 2
- Unable to include the TELEGRAM_BODY to receive direct link HOT 16
- FR: Expose reservations via API HOT 1
- adding and removing items from favorites does not work anymore HOT 1
- Beginner question HOT 1
- Canβt get pickup date in Locale French HOT 3
- Configuration Error: Syntactically invalid HELO argument(s) HOT 3
- Scanner ignoring ItemIDs config setting HOT 3
- Error "'NoneType' object has no attribute 'chat'" when attempting to reserve bag through telegram bot HOT 3
- [Feature-Request] Telegram: Only receive notifications for reservations HOT 1
- Failed to resolve 'api.github.com' HOT 1
- "WARNING No notifiers configured!" even though Apprise is enabled HOT 4
- 1.20.3 Windows executable trips multiple AV warnings HOT 2
- Total new to Coding HOT 1
- [Feature?] Adding SMS support
- configuration issues with SMTP (possibly idiot mistake) HOT 2
- Google Maps Geocoding API is overused? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tgtg.