$0
$0
CDCloudflare Developers
Created by $0 on 10/19/2024 in #pages-help
[ERROR] A request to the Cloudflare API failed.
No description
7 replies
CDCloudflare Developers
Created by $0 on 8/2/2024 in #pages-help
Unexpected end of JSON ( How to use Durable Objects with next-on-pages? )
I am trying to use Durable Objects with next-on-pages. From my understanding, Durable Objects cannot be used directly with next-on-pages, they must be created in a separate worker and bound to that worker. I created a separate worker from the page and it now works on its own. However, when I call it with the page, I get an error.
[wrangler:err] SyntaxError: Unexpected end of JSON input
[wrangler:err] TypeError: Web Socket request did not return status 101 Switching Protocols response with Web Socket
[wrangler:inf] GET /api/users/profiles/websocket 500 Internal Server Error (123ms)
[wrangler:err] SyntaxError: Unexpected end of JSON input
[wrangler:err] TypeError: Web Socket request did not return status 101 Switching Protocols response with Web Socket
[wrangler:inf] GET /api/users/profiles/websocket 500 Internal Server Error (123ms)
5 replies
CDCloudflare Developers
Created by $0 on 7/28/2024 in #pages-help
the script will never generate a response.
I'm using next.js to serve images on my Cloudflare pages, but sometimes an error occurs with the img tag and the image doesn't display. Server side: the script will never generate a response. Client side: Error 1101 You've requested a page on a website (mysite.com) that is on the Cloudflare network. An unknown error occurred while rendering the page. Is there a solution?
13 replies