denoland / denoland/deploy_feedback

[Bug]: deno deploy classic stuck on Fetching project '<xxx>' information...

Open
#938 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Problem description

deployctl deploy is stuck:
```
deployctl deploy --project= --prod src/server.ts
⠼ Fetching project information...
```
It stays like this until it times out

```
error: Uncaught (in promise) Error: Expected JSON, got '

502 Server Error

Error: Server Error


The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.


'
throw new Error(`Expected JSON, got '${text}'`);
^
at API.#requestJson (https://jsr.io/@deno/deployctl/1.13.1/src/utils/api.ts:178:13)
at async API.listDeployments (https://jsr.io/@deno/deployctl/1.13.1/src/utils/api.ts:320:53)
at async deploy (https://jsr.io/@deno/deployctl/1.13.1/src/subcommands/deploy.ts:228:24)
at async default (https://jsr.io/@deno/deployctl/1.13.1/src/subcommands/deploy.ts:166:3)
at async https://jsr.io/@deno/deployctl/1.13.1/deployctl.ts:107:5
error: Recipe `deploy` failed on line 42 with exit code 1

```

The api token was just generated, so it's fresh. It was for deno deploy classic.

I see this on all my deno classic apps now, I cannot deploy any of them, no configuration has changed.

### Steps to reproduce

1. deployctl deploy --project= --prod src/server.ts
2. Doesn't work

### Expected behavior

`deployctl deploy --project= --prod src/server.ts` should work

### Environment

```sh
deployctl --version
deployctl 1.13.1

deno --version
deno 2.7.13 (stable, release, aarch64-apple-darwin)
v8 14.7.173.20-rusty
typescript 5.9.2

```

### Possible solution

_No response_

### Additional context

This is currently all my deploy classic apps. I don't want to migrate to the new deno deploy because it constantly gets 502 errors.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.