Oops, something went wrong
Opened this issue · 0 comments
yswtrue commented
Some time will get this error
agent_1 | 2021-10-31 10:12:03,219 INFO spawned: 'agent' with pid 11
agent_1 | 2021-10-31 10:12:03,219 INFO success: agent entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
agent_1 | agent: started
agent_1 | 2021-10-31 10:12:03,261 INFO exited: bootstrap (exit status 0; expected)
agent_1 | INFO:__main__:(main) Loading subscriptions...
agent_1 | INFO:__main__:(main) Found 1 subscriptions!
agent_1 | INFO:__main__:(main) Building consumers...
agent_1 | INFO:leek.agent.consumer:(main) Building consumer [Subscription=womo-prod, Prefetch=1000, Pool=20] ...
agent_1 | INFO:leek.agent.consumer:(main) Ensure connection to the broker redis://xxx/0...
agent_1 | INFO:leek.agent.consumer:(main) Broker is up!
agent_1 | INFO:leek.agent.consumer:(main) Declaring Exchange/Queue and binding them...
agent_1 | INFO:leek.agent.consumer:(main) Exchange/Queue declared and bound!
agent_1 | INFO:leek.agent.consumer:(main) Ensure connection to the API https://leek-api.womo.site...
agent_1 | INFO:leek.agent.consumer:(main) API is up!
agent_1 | INFO:__main__:(main) Consumers built...
agent_1 | INFO:__main__:(main) Starting Leek Agent...
agent_1 | INFO:leek.agent.consumer:(main) App is ready!
agent_1 | INFO:leek.agent.consumer:(main) Connection revived!
agent_1 | INFO:kombu.mixins:Connected to redis://xxx/0
agent_1 | INFO:leek.agent.consumer:(main) Configuring channel...
agent_1 | INFO:leek.agent.consumer:(main) Channel Configured...
agent_1 | INFO:leek.agent.consumer:(main) Creating consumer...
agent_1 | INFO:leek.agent.consumer:(main) Consumer created!
agent_1 | INFO:leek.agent.consumer:(main) Consumer ready!
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) b'{"error": {"code": "500001", "title": "Internal error", "message": "Oops, something went wrong!", "reason": "expected string or bytes-like object"}, "message": "expected string or bytes-like object"}\n'
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) status code: 500
agent_1 | INFO:leek.agent.consumer:(main) Consumer end!
agent_1 | Restoring 2 unacknowledged message(s)
agent_1 | INFO:leek.agent.consumer:(main) App is ready!
agent_1 | INFO:leek.agent.consumer:(main) Connection revived!
agent_1 | INFO:kombu.mixins:Connected to redis://xxx/0
agent_1 | INFO:leek.agent.consumer:(main) Configuring channel...
agent_1 | INFO:leek.agent.consumer:(main) Channel Configured...
agent_1 | INFO:leek.agent.consumer:(main) Creating consumer...
agent_1 | INFO:leek.agent.consumer:(main) Consumer created!
agent_1 | INFO:leek.agent.consumer:(main) Consumer ready!
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) b'{"error": {"code": "500001", "title": "Internal error", "message": "Oops, something went wrong!", "reason": "expected string or bytes-like object"}, "message": "expected string or bytes-like object"}\n'
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) status code: 500
agent_1 | INFO:leek.agent.consumer:(main) Consumer end!
agent_1 | Restoring 8 unacknowledged message(s)
agent_1 | INFO:leek.agent.consumer:(main) App is ready!
agent_1 | INFO:leek.agent.consumer:(main) Connection revived!
agent_1 | INFO:kombu.mixins:Connected to redis://xxx/0
agent_1 | INFO:leek.agent.consumer:(main) Configuring channel...
agent_1 | INFO:leek.agent.consumer:(main) Channel Configured...
agent_1 | INFO:leek.agent.consumer:(main) Creating consumer...
agent_1 | INFO:leek.agent.consumer:(main) Consumer created!
agent_1 | INFO:leek.agent.consumer:(main) Consumer ready!
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) b'{"error": {"code": "500001", "title": "Internal error", "message": "Oops, something went wrong!", "reason": "expected string or bytes-like object"}, "message": "expected string or bytes-like object"}\n'
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) status code: 500
agent_1 | INFO:leek.agent.consumer:(main) Consumer end!
agent_1 | Restoring 8 unacknowledged message(s)
agent_1 | INFO:leek.agent.consumer:(main) App is ready!
agent_1 | INFO:leek.agent.consumer:(main) Connection revived!
agent_1 | INFO:kombu.mixins:Connected to redis://xxx/0
agent_1 | INFO:leek.agent.consumer:(main) Configuring channel...
agent_1 | INFO:leek.agent.consumer:(main) Channel Configured...
agent_1 | INFO:leek.agent.consumer:(main) Creating consumer...
agent_1 | INFO:leek.agent.consumer:(main) Consumer created!
agent_1 | INFO:leek.agent.consumer:(main) Consumer ready!
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) b'{"error": {"code": "500001", "title": "Internal error", "message": "Oops, something went wrong!", "reason": "expected string or bytes-like object"}, "message": "expected string or bytes-like object"}\n'
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) status code: 500
agent_1 | INFO:leek.agent.consumer:(main) Consumer end!
agent_1 | Restoring 5 unacknowledged message(s)
agent_1 | INFO:leek.agent.consumer:(main) App is ready!
agent_1 | INFO:leek.agent.consumer:(main) Connection revived!
agent_1 | INFO:kombu.mixins:Connected to redis://xxx/0
agent_1 | INFO:leek.agent.consumer:(main) Configuring channel...
agent_1 | INFO:leek.agent.consumer:(main) Channel Configured...
agent_1 | INFO:leek.agent.consumer:(main) Creating consumer...
agent_1 | INFO:leek.agent.consumer:(main) Consumer created!
agent_1 | INFO:leek.agent.consumer:(main) Consumer ready!
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) b'{"error": {"code": "500001", "title": "Internal error", "message": "Oops, something went wrong!", "reason": "expected string or bytes-like object"}, "message": "expected string or bytes-like object"}\n'
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) status code: 500
agent_1 | INFO:leek.agent.consumer:(main) Consumer end!
agent_1 | Restoring 6 unacknowledged message(s)
agent_1 | INFO:leek.agent.consumer:(main) App is ready!
agent_1 | INFO:leek.agent.consumer:(main) Connection revived!
agent_1 | INFO:kombu.mixins:Connected to redis://xxx/0
agent_1 | INFO:leek.agent.consumer:(main) Configuring channel...
agent_1 | INFO:leek.agent.consumer:(main) Channel Configured...
agent_1 | INFO:leek.agent.consumer:(main) Creating consumer...
agent_1 | INFO:leek.agent.consumer:(main) Consumer created!
agent_1 | INFO:leek.agent.consumer:(main) Consumer ready!
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) b'{"error": {"code": "500001", "title": "Internal error", "message": "Oops, something went wrong!", "reason": "expected string or bytes-like object"}, "message": "expected string or bytes-like object"}\n'
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) status code: 500
agent_1 | INFO:leek.agent.consumer:(main) Consumer end!
agent_1 | Restoring 11 unacknowledged message(s)
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) Unhealthy connection!
agent_1 | ERROR:leek.agent.consumer:(Greenlet-0) Error while reading from socket: (9, 'File descriptor was closed in another greenlet')
agent_1 | INFO:leek.agent.consumer:(main) App is ready!
agent_1 | INFO:leek.agent.consumer:(main) Connection revived!
agent_1 | INFO:kombu.mixins:Connected to redis://xxx/0
agent_1 | INFO:leek.agent.consumer:(main) Configuring channel...
agent_1 | INFO:leek.agent.consumer:(main) Channel Configured...
agent_1 | INFO:leek.agent.consumer:(main) Creating consumer...
agent_1 | INFO:leek.agent.consumer:(main) Consumer created!
agent_1 | INFO:leek.agent.consumer:(main) Consumer ready!
^CERROR: Aborting.
Leek version: 0.5.2