#WTF https://github.com/electh/nextflux/commit/1367f45330981c01578b309ab9521d2ba66ae395
🚨 Help Needed: #CORS and #Cloudflare Access Issues with #Nextflux + #MiniFlux Setup 🚨
Hi everyone! I’m struggling with a #SelfHosted setup and could really use some advice from the self-hosting community. Lol I've been trying to figure this out for hours with no luck. Here’s my situation:
Setup
What’s Working
The Problem
Nextflux cannot connect to MiniFlux due to persistent CORS errors and authentication issues with Cloudflare Access. Here are the errors I’m seeing in the browser console:
Access to fetch at 'https://rss.laniecarmelo.tech/v1/me' from origin 'https://nextflux.laniecarmelo.tech' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.Cloudflare Access Redirection:
Request redirected to 'https://lifeofararebird.cloudflareaccess.com/cdn-cgi/access/login/rss.laniecarmelo.tech'.
Failed to Fetch:
Failed to fetch: TypeError: Failed to fetch.
What I’ve Tried
Service Token Authentication:
CF-Access-Client-Id and CF-Access-Client-Secret headers in Caddy for rss.laniecarmelo.tech.CORS Configuration:
Access-Control-Allow-Origin: *) in both Caddy and MiniFlux.Policy Adjustments:
Debugging Logs:
AccessJWTValidator errors).Current State
Despite these efforts:
Goals
My Environment
CLOUDFLARE_SERVICE_AUTH_ENABLED=trueCLOUDFLARE_CLIENT_ID=<client-id>CLOUDFLARE_CLIENT_SECRET=<client-secret>Relevant Logs
From cloudflared:
ERR error="request filtered by middleware handler (AccessJWTValidator) due to: no access token in request"
From the browser console:
Access to fetch at 'https://rss.laniecarmelo.tech/v1/me' has been blocked by CORS policy.
Questions
Any help or advice would be greatly appreciated! 🙏
#SelfHosting #Cloudflare #CaddyServer #Docker #RSS #CORS #Linux #ArchLinuxARM #CloudflarePages #tech #technology
#開源分享 📰Nextflux 使用 React + Vite 構建的 Miniflux 現代 RSS 閱讀器用戶端
github.com/electh/nextflux
💬FlowDown 一款用於使用 AI/LLM 的快速流暢的用戶端應用程式
github.com/Lakr233/FlowDown-Beta
🔎QwenLM OCR 對 QwenLM 的 OCR 功能進行逆向工程,提取文字內容,支持CF Workers部署
github.com/Cunninger/ocr-based-qwen