Got error: Unknown internal error occurred.

I added SSR adapter to Astro project, but it seems to have a problem with something, but the error doesn't say much. Log attached
5 Replies
Erisa
Erisa6mo ago
is that the full log? I dont see the internal error
brownfox.dev
brownfox.devOP6mo ago
I think so. Latest deployment that failed is this 676201c3-9dbf-454f-855b-3b03c89b6ca4
12:12:29.074 ✨ Compiled Worker successfully
12:12:29.929 Found _routes.json in output directory. Uploading.
12:12:29.943 Validating asset output directory
12:12:32.113 Deploying your site to Cloudflare's global network...
12:12:36.270 Uploading... (2/1477)
12:12:38.507 Uploading... (494/1477)
12:12:38.624 Uploading... (986/1477)
12:12:43.245 Uploading... (1477/1477)
12:12:43.245 ✨ Success! Uploaded 1475 files (2 already uploaded) (7.62 sec)
12:12:43.245
12:12:43.956 ✨ Upload complete!
12:12:45.669 Uploading to dependency cache
12:12:45.676 Skipping build output cache as it's not supported for your project
12:12:46.990 Success: Dependencies uploaded to build cache.
12:12:49.176 Success: Assets published!
12:12:50.270 Error: Failed to publish your Function. Got error: Unknown internal error occurred.
12:12:50.270 Note: Not all logs could be displayed, click "Download log" to view more
12:12:29.074 ✨ Compiled Worker successfully
12:12:29.929 Found _routes.json in output directory. Uploading.
12:12:29.943 Validating asset output directory
12:12:32.113 Deploying your site to Cloudflare's global network...
12:12:36.270 Uploading... (2/1477)
12:12:38.507 Uploading... (494/1477)
12:12:38.624 Uploading... (986/1477)
12:12:43.245 Uploading... (1477/1477)
12:12:43.245 ✨ Success! Uploaded 1475 files (2 already uploaded) (7.62 sec)
12:12:43.245
12:12:43.956 ✨ Upload complete!
12:12:45.669 Uploading to dependency cache
12:12:45.676 Skipping build output cache as it's not supported for your project
12:12:46.990 Success: Dependencies uploaded to build cache.
12:12:49.176 Success: Assets published!
12:12:50.270 Error: Failed to publish your Function. Got error: Unknown internal error occurred.
12:12:50.270 Note: Not all logs could be displayed, click "Download log" to view more
Erisa
Erisa6mo ago
Thanks, let me escalate that then Escalated, someone from the Support team will check when they are available
brownfox.dev
brownfox.devOP6mo ago
Thanks Found the culprit. Astro rendered navigator on server which worked somehow on localhost, but not on cloudflare. Removed the navigator and switched back to client:load on react component, but it doesn't work. Tracked down the problem, it's dynamic lucid icons.
ゲン
ゲン6mo ago
Hi, probably I'm facing the same issue. Could you tell me the icon package which you use? I'm using astro-icon, @iconify-json/mdi and react-icons.
Want results from more Discord servers?
Add your server