deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

unable to connect to isolate, terminated

Open Smilex11 opened this issue 2 years ago • 9 comments

unable to connect to isolate, terminated code: DEPLOYMENT_FAILED

Smilex11 avatar Aug 28 '22 08:08 Smilex11

Hi, @Smilex11. Can you provide details about your project?

This is an issue we are seeing recently. The error message is cryptic and we will improve it.

satyarohith avatar Aug 28 '22 09:08 satyarohith

This is the project address https://github.com/Smilex11/NetEaseCloudMusicLyric, This project references cryptojs from npm, I think the main error comes from deno importing cryptojs

Smilex11 avatar Aug 28 '22 12:08 Smilex11

I have the exact same issue ,

I use an npm package using require ( probably using the same package )

doronaviguy avatar Aug 29 '22 11:08 doronaviguy

@satyarohith

Clownsw avatar Aug 29 '22 11:08 Clownsw

I update my code, use unstable import npm package, But it still doesn't work @satyarohith

Smilex11 avatar Aug 30 '22 02:08 Smilex11

Having the same issue. No access to meaningful error log. Only showing

unable to connect to isolate, terminated
2022-09-05 08:34:50

And by the way, the Log UI generally only shows a truncated tail of the logs, often missing the part of the error with the useful info.

cleverplatypus avatar Sep 05 '22 23:09 cleverplatypus

Gaaak! Found the culprit, unless it's a red herring.

There was a comma at the end of a deconstructed object in an import

Changed

import {
  AppConfigSchema,
  SponsorshipTypeSchema,
  AuthoredFragmentSchema,
  StallApplicationSchema,
  SponsorshipInfoRequestSchema,
  UserSchema, // <-------
} from '../schema.ts';

to

import {
  AppConfigSchema,
  SponsorshipTypeSchema,
  AuthoredFragmentSchema,
  StallApplicationSchema,
  SponsorshipInfoRequestSchema,
  UserSchema
} from '../schema.ts';

and the issue went away.

There must be a better way to spot these issues without resorting to lucky guesses and fumbling and sifting through commits.

I love Deno and Deno Deploy but this is one of the hurdles that can seriously affect early adoption.

Peace

cleverplatypus avatar Sep 05 '22 23:09 cleverplatypus

I'm seeing this after deploying the Fresh bootstrap project, no changes. I did setup a custom domain. Is it possible this gateway error occurs until DNS propagation?

Update: My problem was that I took a guess thinking I needed to link index.tsx. I see now main.ts has a star by it which should have been indication enough to select it!

gvbl avatar Sep 09 '22 00:09 gvbl

I'm also getting this issue. I deployed a Fresh app and it worked but as I made changes and deployed more complicated code then basic examples the deployment stopped working and I got this error message.

Would just printing out the error that happened expose too much information?

Industrial avatar Sep 15 '22 10:09 Industrial

I fixed my bug with this: https://github.com/denoland/fresh/issues/774#issuecomment-1249933168

Industrial avatar Sep 16 '22 23:09 Industrial