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

cannot set tracking id #39

Open
Bernicia opened this issue Oct 27, 2014 · 0 comments
Open

cannot set tracking id #39

Bernicia opened this issue Oct 27, 2014 · 0 comments

Comments

@Bernicia
Copy link

Hello,

I am using nginx 1.6 - the latest debian extras package with upload progress module. (and php5-fpm)

I cannot get the module to detect and set my tracking id. I do a normal file upload (not ajax call) and however I set the post parameter (I can't set it in header as I can't make an ajax call) the module never recognises it. I get the same lines logged each time

2014/10/27 09:52:26 [debug] 32651#0: *86 upload-progress: get_tracking_id
2014/10/27 09:52:26 [debug] 32651#0: *86 upload-progress: get_tracking_id no header found
2014/10/27 09:52:26 [debug] 32651#0: *86 upload-progress: get_tracking_id no id found
2014/10/27 09:52:26 [debug] 32651#0: *86 trackuploads no id found in POST upload req

The ajax call to progress then gives me a 405 error (not allowed) which I guess is because tracking has not been initialised.

2014/10/27 09:52:27 [debug] 32651#0: *87 upload-progress: get_tracking_id
2014/10/27 09:52:27 [debug] 32651#0: *87 malloc: 0000000001E23BA0:16
2014/10/27 09:52:27 [debug] 32651#0: *87 upload-progress: get_tracking_id found header: 1159563624
2014/10/27 09:52:27 [debug] 32651#0: *87 trackuploads id found: 1159563624
2014/10/27 09:52:27 [debug] 32651#0: *87 trackuploads not tracking in this location for id: 1159563624

and

2014/10/27 09:52:27 [debug] 32651#0: *87 http finalize request: 405, "/progress?" a:1, c:1
2014/10/27 09:52:27 [debug] 32651#0: *87 http special response: 405, "/progress?"
2014/10/27 09:52:27 [debug] 32651#0: *87 http set discard body
2014/10/27 09:52:27 [debug] 32651#0: *87 uploadprogress error-tracker error: 405
2014/10/27 09:52:27 [debug] 32651#0: *87 uploadprogress error-tracker not tracking in this location

Any ideas? I've definitely got the post parameter name correct, and I've debugged the request and can see the correct post parameter on the server - the module just doesn't detect it.

many thanks
Dave

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

No branches or pull requests

1 participant