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

Silk shows 0 time for all requests? #161

Closed
svvitale opened this issue Feb 18, 2017 · 6 comments
Closed

Silk shows 0 time for all requests? #161

svvitale opened this issue Feb 18, 2017 · 6 comments

Comments

@svvitale
Copy link

I'm just trying silk for the first time and it looks awesome! After adding the app and the middleware, and running the migrations, I'm seeing requests being logged, but I'm not seeing any time recorded.

2017-02-18 09_19_39-silky

I must be missing something. Any idea?

@avelis
Copy link
Collaborator

avelis commented Feb 21, 2017

@svvitale That looks bizarre, can you give some more info into your setup?

@chessbr
Copy link

chessbr commented Feb 22, 2017

+1 installed here the last version and as installation tutorial says..

@chessbr
Copy link

chessbr commented Feb 22, 2017

Installed 0.7.2 and now it works!

@svvitale
Copy link
Author

My setup is Python 3.5.1, Postgres 9.5.2 with the following packages installed:

autopep8==1.2.4
dj-database-url==0.4.0
dj-static==0.0.6
Django==1.9.4
django-silk==0.7.3
django-sslserver==0.19
django-toolbelt==0.0.1
et-xmlfile==1.0.1
gunicorn==19.4.5
jdcal==1.3
Jinja2==2.9.5
MarkupSafe==0.23
openpyxl==2.4.1
pep8==1.7.0
psycopg2==2.6.2
Pygments==2.2.0
python-dateutil==2.5.1
python-http-client==2.2.1
pytz==2016.10
requests==2.9.1
rollbar==0.11.5
sendgrid==3.6.3
six==1.10.0
smtpapi==0.3.1
sqlparse==0.2.2
static3==0.6.1

Same result as @chessbr, if I roll back to 0.7.2, all is well.

@utkbansal
Copy link

utkbansal commented Mar 2, 2017

Facing the same issue. Silk looks something like this -
screen shot 2017-03-02 at 9 19 47 pm

Middleware is as follows-


MIDDLEWARE_CLASSES = [
    'silk.middleware.SilkyMiddleware',
    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'corsheaders.middleware.CorsMiddleware',
    'django.middleware.common.CommonMiddleware',
    'silk.middleware.SilkyMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
    'direct_me.disable.DisableCSRF',
]

Django==1.10.4, django-silk==0.7.3 with Postgres.

perdy added a commit to perdy/silk that referenced this issue Mar 9, 2017
@avelis avelis closed this as completed in 8ece265 Mar 9, 2017
@avelis avelis mentioned this issue Mar 9, 2017
@svvitale
Copy link
Author

Works great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants