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

Webhook not triggering #3211

Open
ihaettypo opened this issue Mar 12, 2025 · 3 comments
Open

Webhook not triggering #3211

ihaettypo opened this issue Mar 12, 2025 · 3 comments

Comments

@ihaettypo
Copy link

I have enabled the webhook in the integration setting, with the correct URL set :

Image

Then I tested it by adding more feed, but nothing happened, I'm not receiving any calls on my API service end.

Then I turned on the debug log for miniflux, and didn't see any mention of webhook outgoing calls, let alone an error reported (for the case my API or URL is incorrect). So I think this is more likely a problem on miniflux's side.

Here are the logs:

level=DEBUG msg="Incoming request" client_ip=192.168.100.1 request.method=GET request.uri=/manifest.json request.protocol=HTTP/2.0 request.execution_time=2.058892ms
level=DEBUG msg="User session found" url=/service-worker.ca4073c92e9b2f76e990692155c5b98e72dc3adcade3fc93531d0f72e726bbf7.js user_id=2 user_session_id=3
level=DEBUG msg="Incoming request" client_ip=192.168.100.1 request.method=GET request.uri=/service-worker.ca4073c92e9b2f76e990692155c5b98e72dc3adcade3fc93531d0f72e726bbf7.js request.protocol=HTTP/2.0 request.execution_time=1.494337ms
level=DEBUG msg="User session found" url=/subscribe user_id=2 user_session_id=3
level=DEBUG msg="Making outgoing request" request.method=GET request.url=http://rsshub:1200/latepost/3 request.headers="map[Accept:[application/xml, application/atom+xml, application/rss+xml, application/rdf+xml, application/feed+json, text/html, */*;q=0.9] Accept-Encoding:[br, gzip] Connection:[close] User-Agent:[Mozilla/5.0 (compatible; Miniflux/2.2.6; +https://miniflux.app)]]" request.without_redirects=false request.with_proxy=false request.proxy_url="" request.ignore_tls_errors=false request.disable_http2=false
level=DEBUG msg="User session found" url=/service-worker.ca4073c92e9b2f76e990692155c5b98e72dc3adcade3fc93531d0f72e726bbf7.js user_id=2 user_session_id=3
level=DEBUG msg="Incoming request" client_ip=192.168.100.1 request.method=GET request.uri=/service-worker.ca4073c92e9b2f76e990692155c5b98e72dc3adcade3fc93531d0f72e726bbf7.js request.protocol=HTTP/2.0 request.execution_time=1.877614ms
level=DEBUG msg="Request response" effective_url=http://rsshub:1200/latepost/3 content_length="" content_encoding=gzip content_type="application/xml; charset=utf-8"
level=DEBUG msg="Begin feed creation process from subscription discovery" user_id=2 feed_url=http://rsshub:1200/latepost/3
level=DEBUG msg="Processing entry" user_id=2 entry_url="https://www.latepost.com/news/dj_detail?id=2836" entry_hash=ab644cd6a8f2121794033fa11604b88e1c4611499b8f49b721c7951b5834f1d1 entry_title=极兔中国经调整后盈利;昂跑净利润增长两倍;特斯拉美国重启免息贷款丨百亿美元公司动向 feed_id=0 feed_url=http://rsshub:1200/latepost/3
level=DEBUG msg="Rewrite rules applied" rules="[{name:add_pdf_download_link args:[]}]" entry_url="https://www.latepost.com/news/dj_detail?id=2836"
level=DEBUG msg="Processing entry" user_id=2 entry_url="https://www.latepost.com/news/dj_detail?id=2839" entry_hash=2a66ccce35173b113b4b034975fdc22f92fe01033edc0de7c7c9c4c90e631db0 entry_title="国补拉动京东收入增速重回双位数;霸王茶姬完成赴美上市备案;全球首个AI Agent产品开始内测丨百亿美元公司动向" feed_id=0 feed_url=http://rsshub:1200/latepost/3
level=DEBUG msg="Rewrite rules applied" rules="[{name:add_pdf_download_link args:[]}]" entry_url="https://www.latepost.com/news/dj_detail?id=2839"
level=DEBUG msg="Processing entry" user_id=2 entry_url="https://www.latepost.com/news/dj_detail?id=2842" entry_hash=0cdb96e91f8e558d45b9715e98cd9d882257c93148938516bce39232705dca81 entry_title=特朗普或将延长TikTok出售期限;贝壳将被调入港股通;拉里·佩奇成立人工智能初创公司丨百亿美元公司动向 feed_id=0 feed_url=http://rsshub:1200/latepost/3
level=DEBUG msg="Rewrite rules applied" rules="[{name:add_pdf_download_link args:[]}]" entry_url="https://www.latepost.com/news/dj_detail?id=2842"
level=DEBUG msg="Processing entry" user_id=2 entry_url="https://www.latepost.com/news/dj_detail?id=2848" entry_hash=81f47da7b6f0425b16f212d6fc79e8add4fb369bdb4e4616bbe8b289e877eb19 entry_title=富士康弄了个大模型;零跑提前季度盈利;Cursor母公司寻求百亿美元估值丨百亿美元公司动向 feed_id=0 feed_url=http://rsshub:1200/latepost/3
level=DEBUG msg="Rewrite rules applied" rules="[{name:add_pdf_download_link args:[]}]" entry_url="https://www.latepost.com/news/dj_detail?id=2848"
level=DEBUG msg="Processing entry" user_id=2 entry_url="https://www.latepost.com/news/dj_detail?id=2849" entry_hash=b2e990b669afb541bf042c1eeb69b905f6efc3e56d3f893e1eae3c9253abe6e9 entry_title=乐高收入、利润新高;安克创新要做机器人;Manus要和阿里通义千问合作丨百亿美元公司动向 feed_id=0 feed_url=http://rsshub:1200/latepost/3
level=DEBUG msg="Rewrite rules applied" rules="[{name:add_pdf_download_link args:[]}]" entry_url="https://www.latepost.com/news/dj_detail?id=2849"
level=DEBUG msg="Created feed" user_id=2 feed_id=10 feed_url=http://rsshub:1200/latepost/3
level=DEBUG msg="Begin icon discovery process" website_url="https://www.latepost.com/news/index?proma=3" feed_icon_url=https://www.latepost.com/images/logo_txt_header.png
level=DEBUG msg="Fetching feed icon" website_url="https://www.latepost.com/news/index?proma=3" feed_icon_url=https://www.latepost.com/images/logo_txt_header.png
level=DEBUG msg="Downloading icon" website_url="https://www.latepost.com/news/index?proma=3" icon_url=https://www.latepost.com/images/logo_txt_header.png
level=DEBUG msg="Making outgoing request" request.method=GET request.url=https://www.latepost.com/images/logo_txt_header.png request.headers="map[Accept:[application/xml, application/atom+xml, application/rss+xml, application/rdf+xml, application/feed+json, text/html, */*;q=0.9] Accept-Encoding:[br, gzip] Connection:[close] User-Agent:[Mozilla/5.0 (compatible; Miniflux/2.2.6; +https://miniflux.app)]]" request.without_redirects=false request.with_proxy=false request.proxy_url="" request.ignore_tls_errors=false request.disable_http2=false
level=DEBUG msg="Request response" effective_url=https://www.latepost.com/images/logo_txt_header.png content_length=5131 content_encoding="" content_type=image/png
level=DEBUG msg="Feed icon stored" feed_id=10 website_url="https://www.latepost.com/news/index?proma=3" feed_icon_url=https://www.latepost.com/images/logo_txt_header.png icon_id=4 icon_hash=8bb03bf0187dbe492aaf836a819d177cee1bc63dac043d12c963d0d3971e2db6
level=DEBUG msg="Incoming request" client_ip=192.168.100.1 request.method=POST request.uri=/subscribe request.protocol=HTTP/2.0 request.execution_time=2.869371616s
level=DEBUG msg="User session found" url=/feed/10/entries user_id=2 user_session_id=3
level=DEBUG msg="Incoming request" client_ip=192.168.100.1 request.method=GET request.uri=/feed/10/entries request.protocol=HTTP/2.0 request.execution_time=24.143633ms
level=DEBUG msg="User session found" url=/manifest.json user_id=2 user_session_id=3
level=DEBUG msg="Incoming request" client_ip=192.168.100.1 request.method=GET request.uri=/manifest.json request.protocol=HTTP/2.0 request.execution_time=2.042791ms
level=DEBUG msg="User session found" url=/icon/icon-192.png user_id=2 user_session_id=3

I checked the webhook settings afterwards, it remains checked and url set.

@fguillot
Copy link
Member

Webhook events are sent only for new entries during a feed refresh. The logs you shared seem to be related to the feed creation process, as indicated by this line: msg="Begin feed creation process from subscription discovery".

@ihaettypo
Copy link
Author

Webhook events are sent only for new entries during a feed refresh. The logs you shared seem to be related to the feed creation process, as indicated by this line: msg="Begin feed creation process from subscription discovery".

Shouldn't the creation process considered "new_entries" events too? Since most of the time it will pull new entries upon creation (mine did). Or maybe the question is why that pull-new-entries-upon-creation didn't trigger the event?

@fguillot
Copy link
Member

Shouldn't the creation process considered "new_entries" events too? Since most of the time it will pull new entries upon creation (mine did). Or maybe the question is why that pull-new-entries-upon-creation didn't trigger the event?

Adding this feature should be doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants