Welcome! Log In Create A New Profile

Advanced

F5 or page reload end in application/octet-stream

Posted by Homer-S 
F5 or page reload end in application/octet-stream
June 11, 2016 03:16PM
Hello I am running Pydio on a nginx

My syncing is not working and the tutorial for finding the issue tells me, it should be possible to simply reload the webpage.
But if I do so a download window appears and something like application/octet-stream is written there.

Can someone help me please?

This is my site config file:



server {
listen 80;
server_name 192.168.100.67 XXX.my-wan.de;
rewrite ^ https://$server_name$request_uri? permanent;
}

server {
listen 443 ssl;
server_name 192.168.100.67 XXX.my-wan.de;
root /var/www;
index index.php index.htm index.html;
ssl_certificate /etc/nginx/ssl/certificate.crt;
ssl_certificate_key /etc/nginx/ssl/certificate.key;

# Add headers to serve security related headers
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload;";
add_header X-Content-Type-Options nosniff;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-XSS-Protection "1; mode=block";
add_header X-Robots-Tag none;

ssl_dhparam /etc/nginx/ssl/dhparams.pem;
ssl_ciphers 'ECDHE-ALOTOFSIGNS';
ssl_prefer_server_ciphers on;


keepalive_requests 10;
keepalive_timeout 60 60;
access_log /var/log/nginx/access_pydio6_log;
error_log /var/log/nginx/error_pydio6_log;
# error_log /var/log/nginx/error_baikal.log debug;
charset utf8;
client_max_body_size 15M;
client_body_buffer_size 128k;
try_files $uri $uri/ /pydio/index.php?$args

rewrite ^/pydio/dashboard|^/pydio/settings|^/pydio/welcome|^/pydio/ws- /pydio/index.php last;
#if ( !-e $request_filename ) {
# WebDAV Rewrites
#rewrite ^/pydio/shares /pydio/dav.php last;
# Sync client
#rewrite ^/pydio/api /pydio/rest.php last;
# External users
#rewrite ^/pydio/user ./pydio/index.php?get_action=user_access_point last;
# Public shares
#rewrite ^/pydio/data/public/([a-zA-Z0-9_-]+)\.php$ /pydio/data/public/share.php?hash=$1?;
#}
rewrite ^/pydio/data/public/([a-zA-Z0-9_-]+)--([a-z]+)$ /pydio/data/public/share.php?hash=$1&lang=$2?;
rewrite ^/pydio/data/public/([a-zA-Z0-9_-]+)$ /pydio/data/public/share.php?hash=$1?;

# Prevent Clickjacking
add_header X-Frame-Options "SAMEORIGIN";

# Only allow these request methods and do not accept DELETE, SEARCH and other methods
if ( $request_method !~ ^(GET|HEAD|POST|PROPFIND|OPTIONS)$ ) {
return 444;
}

location ~* ^/(?:\.|conf|data/(?:files|personal|logs|plugins|tmp|cache)|plugins/editor.zoho/agent/files) {
deny all;
}
# Enables PHP
location ~ \.php$ {
# for ^/(index|plugins) request_uri should be changed
set $request_url $request_uri;
if ( $uri ~ ^/(index|plugins) ) {
set $request_url /;
}
include fastcgi.conf;
fastcgi_param REQUEST_URI $request_url;
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
}

# Enables Caching
location ~* \.(ico|css|js)$ {
expires 7d;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}


}
Re: F5 or page reload end in application/octet-stream
June 23, 2016 04:43PM
No ideas on this issue?
Re: F5 or page reload end in application/octet-stream
June 23, 2016 05:03PM
Your best bet is to enable debug logging and then check the logs to see what nginx is doing.

---
nginx for Windows http://nginx-win.ecsds.eu/
Re: F5 or page reload end in application/octet-stream
June 24, 2016 03:14PM
Hello and thanks for your hint.

I added debug in nginx.conf and I am receiving these lines

2016/06/24 21:11:55 [debug] 27533#0: epoll add event: fd:9 op:1 ev:00002001
2016/06/24 21:11:54 [debug] 27532#0: epoll del event: fd:9 op:2 ev:00000000
2016/06/24 21:11:58 [debug] 27532#0: epoll add event: fd:9 op:1 ev:00002001
2016/06/24 21:11:58 [debug] 27533#0: epoll del event: fd:9 op:2 ev:00000000

Even if I force the reload of a page (with all issues described earlier) it is always logging these lines???
Re: F5 or page reload end in application/octet-stream
June 24, 2016 03:35PM
The must be more debug info in the error.log, if there is not it might be a browser issue, try with Curl to see the responses and headers (or firefox in dev mode), then check the log again.

ps. for full debug you need to compile --with-debug

---
nginx for Windows http://nginx-win.ecsds.eu/



Edited 1 time(s). Last edit at 06/24/2016 03:35PM by itpp2012.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 174
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready