Semaphore - could not parse json payload returned by upstream

Hi I’m trying to setup Semaphore.
Events seem to be arriving fine when the relay.mode: managed

2019-10-15T19:27:38Z [semaphore_server::actors::project] DEBUG: project 153 initialized without state
2019-10-15T19:27:38Z [semaphore_server::actors::events] TRACE: queued event 9945b9ae8ed3405282381eaac515b045
2019-10-15T19:27:38Z [semaphore_server::actors::project] DEBUG: project 153 state requested
2019-10-15T19:27:38Z [semaphore_server::actors::project] DEBUG: project 153 state updated
2019-10-15T19:27:38Z [semaphore_server::actors::project] DEBUG: project 153 state requested
2019-10-15T19:27:38Z [semaphore_server::actors::project] DEBUG: project 153 state updated
2019-10-15T19:27:38Z [semaphore_server::actors::events] TRACE: processing event 9945b9ae8ed3405282381eaac515b045
2019-10-15T19:27:38Z [semaphore_server::actors::events] TRACE: sending event to sentry endpoint 9945b9ae8ed3405282381eaac515b045

I started however with the relay.mode: proxy and I’m getting this errors (level is TRACE)

...
2019-10-15T19:22:23Z [semaphore_server::actors::upstream] DEBUG: sending register challenge response
2019-10-15T19:22:24Z [semaphore_server::actors::upstream] DEBUG: relay successfully registered with upstream
2019-10-15T19:22:40Z [semaphore_server::actors::project] DEBUG: project 153 initialized without state
2019-10-15T19:22:40Z [semaphore_server::actors::events] TRACE: queued event d27dd02bf6d64877b7eb9fdb421f5ddf
2019-10-15T19:22:40Z [semaphore_server::actors::project] DEBUG: project 153 state requested
2019-10-15T19:22:40Z [semaphore_server::actors::project] DEBUG: updating project states for 1 projects (attempt 1)
2019-10-15T19:22:41Z [semaphore_server::actors::project] ERROR: error fetching project states: could not parse json payload returned by upstream
  caused by: Json deserialize error: invalid type: map, expected a sequence at line 1 column 35
  caused by: invalid type: map, expected a sequence at line 1 column 35
2019-10-15T19:22:42Z [semaphore_server::actors::project] DEBUG: updating project states for 1 projects (attempt 2)
2019-10-15T19:22:42Z [semaphore_server::actors::project] ERROR: error fetching project states: could not parse json payload returned by upstream
  caused by: Json deserialize error: invalid type: map, expected a sequence at line 1 column 35
...

is this an incompatibility version.
Is the api/0/relays/ API documented anywhere?

upstream Sentry version 9.1.2
dockerized Semaphore version: 0.4.48

Hi, after https://github.com/getsentry/semaphore/commit/c8ce5f379c1788df424ba129f5fb97d84aae640b we no longer support Sentry 9. Consequently please use 0.4.44 as it’s the last version to support Sentry 9.

Please note that Semaphore is still undergoing larger changes. We currently don’t give guarantees on version compatibility.

Hi, after feat: Add schema for quota config (#235) · getsentry/relay@c8ce5f3 · GitHub we no longer support Sentry 9. Consequently please use 0.4.44 as it’s the last version to support Sentry 9.

alright thanks!

Please note that Semaphore is still undergoing larger changes. We currently don’t give guarantees on version compatibility.

Can we expect any kind of compatibility matrix? Or this shouldn’t be really used yet?
Fits perfectly for my use-case to be honest:)

@jglapa We expect to have a compatibility matrix once relay is super-stable, but that’s still a long way. In the meantime proxy and static modes are not reliant on the Sentry version at all.

1 Like