`rss.xml` Error 1101

trying to access: https://baae285e.test-ef9.pages.dev/rss.xml But get strange issue, can someone help?
{
"outcome": "exception",
"scriptName": "pages-worker--1063707-production",
"exceptions": [
{
"name": "Error",
"message": "internal error",
"timestamp": 1688404914662
}
],
"logs": [],
"eventTimestamp": 1688404914662,
"event": {
"request": {
"url": "https://baae285e.test-ef9.pages.dev/rss.xml",
"method": "GET",
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-encoding": "gzip",
"accept-language": "en-US,en;q=0.9,de;q=0.8",
"cache-control": "max-age=0",
"cf-connecting-ip": "31.17.112.38",
"cf-ipcountry": "DE",
"cf-ray": "7e10cebc98ffcad1",
"cf-visitor": "{\"scheme\":\"https\"}",
"connection": "Keep-Alive",
"dnt": "1",
"host": "baae285e.test-ef9.pages.dev",
"priority": "u=0, i",
"sec-ch-ua": "\"Not.A/Brand\";v=\"8\", \"Chromium\";v=\"114\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"macOS\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "none",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
"x-forwarded-proto": "https",
"x-real-ip": "31.17.112.38"
},
},
"response": {
"status": 500
}
},
"id": 2
}
{
"outcome": "exception",
"scriptName": "pages-worker--1063707-production",
"exceptions": [
{
"name": "Error",
"message": "internal error",
"timestamp": 1688404914662
}
],
"logs": [],
"eventTimestamp": 1688404914662,
"event": {
"request": {
"url": "https://baae285e.test-ef9.pages.dev/rss.xml",
"method": "GET",
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-encoding": "gzip",
"accept-language": "en-US,en;q=0.9,de;q=0.8",
"cache-control": "max-age=0",
"cf-connecting-ip": "31.17.112.38",
"cf-ipcountry": "DE",
"cf-ray": "7e10cebc98ffcad1",
"cf-visitor": "{\"scheme\":\"https\"}",
"connection": "Keep-Alive",
"dnt": "1",
"host": "baae285e.test-ef9.pages.dev",
"priority": "u=0, i",
"sec-ch-ua": "\"Not.A/Brand\";v=\"8\", \"Chromium\";v=\"114\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"macOS\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "none",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36",
"x-forwarded-proto": "https",
"x-real-ip": "31.17.112.38"
},
},
"response": {
"status": 500
}
},
"id": 2
}
4 Replies
Walshy
Walshy2y ago
what does your Function do? what's the code? Have you tried to debug?
alex (he/him)
alex (he/him)OP2y ago
Yes have tried to debug. But it's kinda hard if I can't see the internal error.
alex (he/him)
alex (he/him)OP2y ago
so basicly it is just running react dom to return rss in xml format. using https://docs.astro.build/en/guides/rss/
Astro Documentation
Add an RSS feed
Add an RSS feed to your Astro site to let users subscribe to your content.
alex (he/him)
alex (he/him)OP2y ago
it also works in using advanced mode with _worker, but does not work with the functions mode found the issue.. apparently it was calling next(request) instead of env.ASSETS.fetch(request). Not sure why so.
Want results from more Discord servers?
Add your server