Closed aliciamchen closed 9 months ago
I am getting a very similar error, on version 1.8.5.
{"level":"warn","time":"2023-12-11T10:38:13.9504333Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.052626653Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.153818495Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.255410684Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.356193981Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.456914478Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.557760724Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.696770053Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.797518295Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.898194971Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:14.999075242Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:15.100602096Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:15.201444205Z","message":"changes: conn write timeout"}
{"level":"warn","time":"2023-12-11T10:38:15.30197743Z","message":"changes: conn write timeout"}
POTENTIAL DEADLOCK:
Previous place where the lock was grabbed
goroutine 69259 lock 0xc00012d3c0
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:26 runtime.(*Runtime).SetAttributes ??? <<<<<
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:25 runtime.(*Runtime).SetAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/attribute.resolvers.go:67 graph.(*mutationResolver).SetAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:5567 graph.(*executionContext)._Mutation_setAttributes.func2 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:71 executor.processExtensions.func4 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:109 executor.processExtensions.func8.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/apollotracing/tracer.go:83 apollotracing.Tracer.InterceptField ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:108 executor.processExtensions.func8 ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:5569 graph.(*executionContext)._Mutation_setAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:14603 graph.(*executionContext)._Mutation.func1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:68 executor.processExtensions.func3 ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:14602 graph.(*executionContext)._Mutation ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:1727 graph.(*executableSchema).Exec.func2 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/executor.go:119 executor.(*Executor).DispatchOperation.func1.1.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:65 executor.processExtensions.func2 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:91 executor.processExtensions.func6.1 ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/server/graphql.go:216 server.graphqlHandler.func6 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:159 executor.aroundRespFunc.InterceptResponse ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:90 executor.processExtensions.func6 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:91 executor.processExtensions.func6.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/apollotracing/tracer.go:110 apollotracing.Tracer.InterceptResponse ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:90 executor.processExtensions.func6 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/executor.go:126 executor.(*Executor).DispatchOperation.func1.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/transport/websocket.go:383 transport.(*wsConnection).subscribe.func1 ???
Have been trying to lock it again for more than 30s
goroutine 68996 lock 0xc00012d3c0
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:26 runtime.(*Runtime).SetAttributes ??? <<<<<
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:25 runtime.(*Runtime).SetAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/attribute.resolvers.go:67 graph.(*mutationResolver).SetAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:5567 graph.(*executionContext)._Mutation_setAttributes.func2 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:71 executor.processExtensions.func4 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:109 executor.processExtensions.func8.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/apollotracing/tracer.go:83 apollotracing.Tracer.InterceptField ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:108 executor.processExtensions.func8 ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:5569 graph.(*executionContext)._Mutation_setAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:14603 graph.(*executionContext)._Mutation.func1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:68 executor.processExtensions.func3 ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:14602 graph.(*executionContext)._Mutation ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:1727 graph.(*executableSchema).Exec.func2 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/executor.go:119 executor.(*Executor).DispatchOperation.func1.1.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:65 executor.processExtensions.func2 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:91 executor.processExtensions.func6.1 ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/server/graphql.go:216 server.graphqlHandler.func6 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:159 executor.aroundRespFunc.InterceptResponse ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:90 executor.processExtensions.func6 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:91 executor.processExtensions.func6.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/apollotracing/tracer.go:110 apollotracing.Tracer.InterceptResponse ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:90 executor.processExtensions.func6 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/executor.go:126 executor.(*Executor).DispatchOperation.func1.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/transport/websocket.go:383 transport.(*wsConnection).subscribe.func1 ???
{"level":"warn","time":"2023-12-11T10:38:15.531058742Z","message":"changes: conn write timeout"}
Here is what goroutine 69259 doing now
goroutine 69259 [sync.Mutex.Lock]:
sync.runtime_SemacquireMutex(0x42?, 0xf4?, 0xdeb097?)
/usr/local/go/src/runtime/sema.go:77 +0x26
sync.(*Mutex).lockSlow(0xc000124240)
/usr/local/go/src/sync/mutex.go:171 +0x165
sync.(*Mutex).Lock(...)
/usr/local/go/src/sync/mutex.go:90
github.com/sasha-s/go-deadlock.(*lockOrder).postUnlock(0xc000124240, {0xcfbf00, 0xc000864b94})
/go/pkg/mod/github.com/sasha-s/go-deadlock@v0.3.1/deadlock.go:330 +0x45
github.com/sasha-s/go-deadlock.postUnlock(...)
/go/pkg/mod/github.com/sasha-s/go-deadlock@v0.3.1/deadlock.go:167
github.com/sasha-s/go-deadlock.(*Mutex).Unlock(0xa8996a?)
/go/pkg/mod/github.com/sasha-s/go-deadlock@v0.3.1/deadlock.go:97 +0x56
github.com/empiricaly/tajriba/internal/runtime.(*changesSub).Send(0xc000864b40, {0xc00328e3a0, 0x1, 0x7fcc5f4865b8?})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/change.go:111 +0x5bd
github.com/empiricaly/tajriba/internal/runtime.(*changesSub).publish(0xc000864b40, {0xc0004b1d10?, 0xc00045e300?}, {0xc00261a730, 0x1, 0x1})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/change.go:249 +0x59b
github.com/empiricaly/tajriba/internal/runtime.(*Runtime).pushAttributesForChanges(0xc00012d380, {0xf0f5e8, 0xc0012d46c0}, {0xc00261a720, 0x1, 0x0?})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/change.go:338 +0x452
github.com/empiricaly/tajriba/internal/runtime.(*Runtime).pushAttributes(0xc00012d380?, {0xf0f5e8, 0xc0012d46c0}, {0xc00261a720, 0x1, 0x1})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:309 +0x3b
github.com/empiricaly/tajriba/internal/runtime.(*Runtime).setAttributes(0xc00012d380, {0xf0f5e8, 0xc0012d46c0}, {0xc00261a720?, 0x1, 0x1})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:241 +0x28c
github.com/empiricaly/tajriba/internal/runtime.(*Runtime).SetAttributes(0xc00012d380, {0xf0f5e8, 0xc0012d46c0}, {0xc000a084a8, 0x1, 0x1})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:34 +0x18e
github.com/empiricaly/tajriba/internal/graph.(*mutationResolver).SetAttributes(0xcee820?, {0xf0f5e8, 0xc0012d46c0}, {0xc000a084a8, 0x1, 0x1})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/attribute.resolvers.go:67 +0x89
github.com/empiricaly/tajriba/internal/graph.(*executionContext)._Mutation_setAttributes.func2({0xf0f5e8?, 0xc0012d46c0})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:5568 +0xcc
github.com/99designs/gqlgen/graphql/executor.processExtensions.func4({0xf0f5e8?, 0xc0012d46c0?}, 0x4ce737?)
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:72 +0x26
github.com/99designs/gqlgen/graphql/executor.processExtensions.func8.1({0xf0f5e8?, 0xc0012d46c0?})
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:110 +0x2b
github.com/99designs/gqlgen/graphql/handler/apollotracing.Tracer.InterceptField({}, {0xf0f5e8, 0xc0012d46c0}, 0xc000e96108)
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/apollotracing/tracer.go:84 +0x112
github.com/99designs/gqlgen/graphql/executor.processExtensions.func8({0xf0f5e8, 0xc0012d46c0}, 0xc0012d0520)
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:109 +0xb0
github.com/empiricaly/tajriba/internal/graph.(*executionContext)._Mutation_setAttributes(0xc0012d0460, {0xf0f5e8, 0xc0012d4510}, {0xc0012c0fc0, {0xc0033d79d0, 0x1, 0x1}, 0x0})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:5566 +0x232
github.com/empiricaly/tajriba/internal/graph.(*executionContext)._Mutation.func1({0xf0f5e8?, 0xc0012d4510?})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:14604 +0x47
github.com/99designs/gqlgen/graphql/executor.processExtensions.func3({0xf0f5e8?, 0xc0012d4510?}, 0xca9be0?)
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:69 +0x26
github.com/empiricaly/tajriba/internal/graph.(*executionContext)._Mutation(0xc0012d0460, {0xf0f5e8, 0xc0012d4450}, {0xc0033d7370, 0x1, 0x1})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:14603 +0xee4
github.com/empiricaly/tajriba/internal/graph.(*executableSchema).Exec.func2({0xf0f5e8?, 0xc0012d43f0?})
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:1726 +0x93
github.com/99designs/gqlgen/graphql/executor.(*Executor).DispatchOperation.func1.1.1({0xf0f5e8, 0xc0012d43f0})
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/executor.go:119 +0x2b
github.com/99designs/gqlgen/graphql/executor.processExtensions.func2({0xf0f5e8?, 0xc0012d43f0?}, 0x4ce737?)
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:66 +0x26
github.com/99designs/gqlgen/graphql/executor.processExtensions.func6.1({0xf0f5e8?, 0xc0012d43f0?})
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:92 +0x2b
github.com/empiricaly/tajriba/internal/server.graphqlHandler.func6({0xf0f5e8, 0xc0012d43f0}, 0xc000e960c0)
/go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/server/graphql.go:217 +0x99
github.com/99designs/gqlgen/graphql/executor.aroundRespFunc.InterceptResponse(0xddaa7f?, {0xf0f5e8?, 0xc0012d43f0?}, 0x80?)
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:160 +0x2f
github.com/99designs/gqlgen/graphql/executor.processExtensions.func6({0xf0f5e8, 0xc0012d43f0}, 0xc0033d79c0)
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:91 +0xb0
github.com/99designs/gqlgen/graphql/executor.processExtensions.func6.1({0xf0f5e8?, 0xc0012d43f0?})
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:92 +0x2b
github.com/99designs/gqlgen/graphql/handler/apollotracing.Tracer.InterceptResponse({}, {0xf0f5e8, 0xc0012d43f0}, 0xc000e960a8)
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/apollotracing/tracer.go:111 +0x245
github.com/99designs/gqlgen/graphql/executor.processExtensions.func6({0xf0f5e8, 0xc0012d43f0}, 0xc0033d79c0)
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:91 +0xb0
github.com/99designs/gqlgen/graphql/executor.(*Executor).DispatchOperation.func1.1({0xf0f5e8, 0xc0012d4330})
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/executor.go:118 +0x113
github.com/99designs/gqlgen/graphql/handler/transport.(*wsConnection).subscribe.func1()
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/transport/websocket.go:383 +0x1c3
created by github.com/99designs/gqlgen/graphql/handler/transport.(*wsConnection).subscribe
/go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/transport/websocket.go:356 +0x55f
Other goroutines holding locks:
goroutine 69259 lock 0xc000864b94
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/change.go:65 runtime.(*changesSub).Send ??? <<<<<
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/change.go:64 runtime.(*changesSub).Send ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/change.go:250 runtime.(*changesSub).publish ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/change.go:337 runtime.(*Runtime).pushAttributesForChanges ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:308 runtime.(*Runtime).pushAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:240 runtime.(*Runtime).setAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/runtime/attribute.go:33 runtime.(*Runtime).SetAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/attribute.resolvers.go:67 graph.(*mutationResolver).SetAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:5567 graph.(*executionContext)._Mutation_setAttributes.func2 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:71 executor.processExtensions.func4 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:109 executor.processExtensions.func8.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/apollotracing/tracer.go:83 apollotracing.Tracer.InterceptField ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:108 executor.processExtensions.func8 ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:5569 graph.(*executionContext)._Mutation_setAttributes ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:14603 graph.(*executionContext)._Mutation.func1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:68 executor.processExtensions.func3 ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:14602 graph.(*executionContext)._Mutation ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/graph/generated.go:1727 graph.(*executableSchema).Exec.func2 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/executor.go:119 executor.(*Executor).DispatchOperation.func1.1.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:65 executor.processExtensions.func2 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:91 executor.processExtensions.func6.1 ???
go/pkg/mod/github.com/empiricaly/tajriba@v1.4.0/internal/server/graphql.go:216 server.graphqlHandler.func6 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:159 executor.aroundRespFunc.InterceptResponse ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:90 executor.processExtensions.func6 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:91 executor.processExtensions.func6.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/apollotracing/tracer.go:110 apollotracing.Tracer.InterceptResponse ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/extensions.go:90 executor.processExtensions.func6 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/executor/executor.go:126 executor.(*Executor).DispatchOperation.func1.1 ???
go/pkg/mod/github.com/99designs/gqlgen@v0.17.36/graphql/handler/transport/websocket.go:383 transport.(*wsConnection).subscribe.func1 ???
Error: Unhandled error. (connect ECONNREFUSED 127.0.0.1:3000)
at Oa.ht.emit (/tmp/3ff8438d80aefde2/node_modules/@empirica/tajriba/src/events.js:156:9)
at error (/tmp/3ff8438d80aefde2/node_modules/@empirica/tajriba/src/tajriba.ts:323:16)
at Object.emit (/tmp/3ff8438d80aefde2/node_modules/graphql-ws/lib/client.mjs:104:21)
at Pe.X.onerror (/tmp/3ff8438d80aefde2/node_modules/graphql-ws/lib/client.mjs:162:47)
at Yh (/tmp/3ff8438d80aefde2/node_modules/ws/lib/event-target.js:290:14)
at Pe.n (/tmp/3ff8438d80aefde2/node_modules/ws/lib/event-target.js:230:9)
at Pe.emit (node:events:513:28)
at Qh (/tmp/3ff8438d80aefde2/node_modules/ws/lib/websocket.js:1016:13)
at ClientRequest.<anonymous> (/tmp/3ff8438d80aefde2/node_modules/ws/lib/websocket.js:864:5)
at ClientRequest.emit (node:events:513:28) {
context: Yu {
[Symbol(kTarget)]: Pe {
_events: [Object: null prototype] {
error: [Function: n] {
[Symbol(kIsForOnEventAttribute)]: true,
[Symbol(kListener)]: [Function (anonymous)]
},
close: [Function: n] {
[Symbol(kIsForOnEventAttribute)]: true,
[Symbol(kListener)]: [Function (anonymous)]
},
open: [Function: n] {
[Symbol(kIsForOnEventAttribute)]: true,
[Symbol(kListener)]: [AsyncFunction (anonymous)]
},
message: [Function: n] {
[Symbol(kIsForOnEventAttribute)]: true,
[Symbol(kListener)]: [Function (anonymous)]
}
},
_eventsCount: 4,
_maxListeners: undefined,
_binaryType: 'nodebuffer',
_closeCode: 1006,
_closeFrameReceived: false,
_closeFrameSent: false,
_closeMessage: Buffer(0) [Uint8Array] [],
_closeTimer: null,
_extensions: {},
_paused: false,
_protocol: '',
_readyState: 2,
_receiver: null,
_sender: null,
_socket: null,
_bufferedAmount: 0,
_isServer: false,
_redirects: 0,
_url: 'ws://localhost:3000/query',
_req: null,
[Symbol(kCapture)]: false
},
[Symbol(kType)]: 'error',
[Symbol(kError)]: Error: connect ECONNREFUSED 127.0.0.1:3000
at __node_internal_captureLargerStackTrace (node:internal/errors:477:5)
at __node_internal_exceptionWithHostPort (node:internal/errors:655:12)
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000
},
[Symbol(kMessage)]: 'connect ECONNREFUSED 127.0.0.1:3000'
}
}
npm notice
npm notice New major version of npm available! 8.15.0 -> 10.2.5
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.5>
npm notice Run `npm install -g npm@10.2.5` to update!
npm notice
{"level":"fatal","error":"npm run --silent serve -- --token iWHGzvMWkhogPCHP --url http://localhost:3000/query --sessionTokenPath /.empirica/local/callBackSessionToken: exit status 1","time":"2023-12-11T10:38:19.221962031Z","message":"empirica: failed to start"}
This should be fixed.
Is there an existing issue for this?
What happened?
I upgraded to
1.8.10
, and although I haven't been getting thefailed load: [GraphQL] transition step: invalid state
error anymore, my experiment did crash in the middle and gave me aPOTENTIAL DEADLOCK
error that I haven't seen before.Steps To Reproduce
No response
Empirica Version
What OS are you seeing the problem on?
macOS
What browser are you seeing the problem on?
Does not apply
Relevant log output
Anything else?
No response
Code of Conduct