Skip to content

Cyclops always return 404 when posting an error? Why ? #13

@antonbabenko

Description

@antonbabenko

I am trying to integrate Cyclops installed locally on autoscaling instances to proxy requests to sentry.

I have tried to have Cyclops running with and without nginx (according to documentation), also tried with and without mysql access to sentry set in cyclops.conf. No difference. Same error... scroll further.

Relevant part of cyclops.conf:

SENTRY_BASE_URL = 'sentry.myhost.com' # tried with http:// prefix also
PROJECT_KEYS = [(3, '1c0521e44ea943d5b6cd4cd465746337', '260a53dc6441420985ae34f14b63b567')]

Since I am using https://github.com/getsentry/raven-php to log errors I specify such endpoint: http://user:[email protected]:9100/3 , which looks correct (user:pass are required by the library).

This is the error:

$ sudo cyclops -p 9100 -b 127.0.0.1 -c /etc/cyclops.conf -d -vv
2014-11-17 18:51:33,551 - root - INFO - Loading configuration file at /etc/cyclops.conf...
2014-11-17 18:51:33,551 - root - INFO - Using configuration file at /etc/cyclops.conf.
2014-11-17 18:51:33,552 - root - INFO - Connecting to db on None:3306 on database sentry with user root
2014-11-17 18:51:33,562 - root - INFO - -- Cyclops started listening in 127.0.0.1:9100 --
2014-11-17 18:51:38,210 - tornado.access - WARNING - 404 POST /api/store/ (127.0.0.1) 0.53ms
2014-11-17 18:53:05,676 - tornado.access - INFO - 200 GET /count (127.0.0.1) 0.35ms
2014-11-17 18:53:13,682 - tornado.access - INFO - 200 GET /healthcheck (127.0.0.1) 0.34ms
2014-11-17 18:53:31,478 - tornado.access - WARNING - 404 POST /api/store (127.0.0.1) 0.91ms

Cyplops version 1.1.0
Python 2.6
RHEL 6 / Amazon Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions