monkev_see_monkev_do
CDCloudflare Developers
•Created by monkev_see_monkev_do on 12/8/2023 in #workers-help
Cloudflare Worker Preview not working in the UI
Ok, after having my initial Workers Code back in the code editor and deployed, I can see that there are successful requests: https://jmp.sh/8k8SYfkh
But when going to a URL that matches the route, I'm unable to make further successful requests show up in the logs. I'm unsure where these 2 success requests came from. I'm now logging Real-time Logs, but it's hard to reproduce the successful requests.
I've been working with CF workers for a few months now, and unless I'm doing something wrong, this feels like a bug
5 replies
CDCloudflare Developers
•Created by monkev_see_monkev_do on 12/8/2023 in #workers-help
Cloudflare Worker Preview not working in the UI
5 replies
CDCloudflare Developers
•Created by monkev_see_monkev_do on 12/8/2023 in #workers-help
Cloudflare Worker Preview not working in the UI
If I change the code on the left-side to be a basic example, it still does not work. The Route is connected too.
Is there another debugging step I would take? Seems like the Script code does not execute
5 replies
CDCloudflare Developers
•Created by monkev_see_monkev_do on 11/20/2023 in #workers-help
Return original webpage response without using fetch()?
Ah ok, thanks! Makes sense
7 replies
CDCloudflare Developers
•Created by monkev_see_monkev_do on 11/20/2023 in #workers-help
Return original webpage response without using fetch()?
Thanks! I was able to find the issue. I was calling this
getOriginalPage()
function:
I believe I added this in awhile ago to battle 1120 error issues I experienced before. Now I'm just calling return fetch(request)
anytime I need the original response.
you'd see the subrequest as a separate log in Live Logs for exampleI was only able to only to see the origin requests -- https://jmp.sh/qoO5frXv -- in my code I am fetching some data on an external domain and was expecting to see those subrequests in the Live Logs. Perhaps these are not supposed to show?
7 replies