Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job.go error: retrying on obj is nil #1663

Open
1 task
reynoldputra opened this issue Mar 14, 2024 · 1 comment
Open
1 task

Job.go error: retrying on obj is nil #1663

reynoldputra opened this issue Mar 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@reynoldputra
Copy link

Language Server Version

0.32.7

Terraform Version

Terraform v1.7.5 on darwin_amd64

Client Version

Neovim v0.9.5

Terraform Configuration

# ===================
# === all modules ===
# ===================

data "terraform_remote_state" "ecr" {
  backend = "local"

  config = {
    path = "./dev/ecr/terraform.tfstate"
  }
}

# all network configuration
module "network" {
  source = "./modules/network"
}

module "policy" {
  source = "./modules/policy"
}

module "ecs" {
  source = "./modules/ecs"

  port                  = 5000
  image_url             = data.terraform_remote_state.ecr.outputs.ecr_modul_repo_url
  aws_role_task_def_arn = module.policy.simple_shop_task_execution_role_arn

  subnets = [
    module.network.private_a_subnet_id,
    module.network.private_b_subnet_id
  ]

  sec_groups = [
    module.network.sg_ingress_api_id,
    module.network.sg_egress_all_id,
  ]

  alb_target_group_arn = module.alb.alb_target_group_arn
}

# TODO : alb for auto scale
# TODO : 503 Service Temporarily Unavailable
module "alb" {
  source = "./modules/alb"

  vpc_id = module.network.vpc_id
  subnets = [
    module.network.public_a_subnet_id,
    module.network.public_b_subnet_id
  ]

  sec_groups = [
    module.network.sg_ingress_http,
    module.network.sg_egress_all_id,
    module.network.sg_ingress_https
  ]

  aws_alb_dependencies = module.network.igw
}

# TODO: setup database

Steps to Reproduce

  1. I just open the main.tf file than fet 100k log error

Expected Behavior

Reduce or solve lsp error on neovim

Actual Behavior

Getting 100k error when opening main.tf file

Sample error :

[ERROR][2024-03-14 12:12:57] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/t-reynold.merdeka/Workspace/Program/homebrew/bin/terraform-ls"	"stderr"	'2024/03/14 12:12:57 opts.go:215: Received request batch of size 1 (qlen=0)\n2024/03/14 12:12:57 opts.go:215: Received request batch of size 1 (qlen=1)\n2024/03/14 12:12:57 opts.go:215: Dequeued request batch of length 1 (qlen=1)\n2024/03/14 12:12:57 opts.go:215: Dequeued request batch of length 1 (qlen=0)\n2024/03/14 12:12:57 rpc_logger.go:32: Incoming notification for "$/cancelRequest": {"id":2}\n'
[ERROR][2024-03-14 12:12:57] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/t-reynold.merdeka/Workspace/Program/homebrew/bin/terraform-ls"	"stderr"	'2024/03/14 12:12:57 opts.go:215: Received response for callback "1"\n2024/03/14 12:12:57 rpc_logger.go:32: Incoming request for "textDocument/semanticTokens/full" (ID 3): {"textDocument":{"uri":"file:\\/\\/\\/Users\\/t-reynold.merdeka\\/Workspace\\/Personal\\/Free\\/ecs-implementation\\/main.tf"}}\n'
[ERROR][2024-03-14 12:12:57] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/t-reynold.merdeka/Workspace/Program/homebrew/bin/terraform-ls"	"stderr"	"2024/03/14 12:12:57 provider_schema.go:306: PSS: getting provider schema (/Users/t-reynold.merdeka/Workspace/Personal/Free/ecs-implementation, registry.terraform.io/-/terraform, )\n2024/03/14 12:12:57 provider_schema.go:306: PSS: getting provider schema (/Users/t-reynold.merdeka/Workspace/Personal/Free/ecs-implementation, terraform.io/builtin/terraform, )\n"
[ERROR][2024-03-14 12:12:57] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/t-reynold.merdeka/Workspace/Program/homebrew/bin/terraform-ls"	"stderr"	"2024/03/14 12:12:57 provider_schema.go:306: PSS: getting provider schema (/Users/t-reynold.merdeka/Workspace/Personal/Free/ecs-implementation, registry.terraform.io/hashicorp/aws, ~> 5.0)\n"
[ERROR][2024-03-14 12:12:57] .../vim/lsp/rpc.lua:734	"rpc"	"/Users/t-reynold.merdeka/Workspace/Program/homebrew/bin/terraform-ls"	"stderr"	'2024/03/14 12:12:57 rpc_logger.go:53: Response to "textDocument/semanticTokens/full" (ID 3): {"data":[4,0,4,7,0,0,5,24,0,1,0,25,5,0,0,1,2,7,5,1,0,10,7,6,0,2,2,6,5,0,1,4,4,4,0,0,7,29,6,0,5,0,6,7,0,0,7,9,0,0,1,2,6,5,1,0,9,19,6,0,3,0,6,7,0,0,7,8,0,0,1,2,6,5,1,0,9,18,6,0,3,0,6,7,0,0,7,5,0,0,1,2,6,5,1,0,9,15,6,0,2,2,4,5,0,0,24,4,3,0,1,2,9,5,0,0,24,4,8,0,0,5,22,8,0,0,23,3,8,0,0,4,7,8,0,0,8,18,8,0,1,2,21,5,0,2,2,7,5,0,5,2,10,5,0,5,2,20,5,0,0,23,6,8,0,0,7,3,8,0,0,4,20,8,0,5,0,6,7,0,0,7,5,0,0,1,2,6,5,1,0,9,15,6,0,2,2,6,5,0,1,2,7,5,0,5,2,10,5,0,6,2,20,5,0]}\n2024/03/14 12:12:57 opts.go:215: Completed 1 requests [11.267625ms elapsed]\n'

Gist

No response

Workarounds

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@reynoldputra reynoldputra added the bug Something isn't working label Mar 14, 2024
@esn89
Copy link

esn89 commented Apr 23, 2024

I see the same as well

dbanck added a commit that referenced this issue May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants