Victor Ivanov
Victor Ivanov
> Also, please add your publisher location config as well. Here you go: ``` server { listen 10.xxx.xxx.90:80; server_name 10.xxx.xxx.90; location ~ /pub/(.*)$ { nchan_publisher; nchan_channel_id $1; nchan_message_buffer_length 0; nchan_message_timeout...
Sure, can do. Meanwhile, do the stack traces give you any clues what was going on with nginx/nchan pair?
Here are the logs: ``` 2019/01/09 11:39:28 [error] 20349#20349: *9193775 open() "/u/apps/web_production/current/public/uploads/image/445566/logo-foto.png" failed (2: No such file or directory), client: xx.198.122.51, server: *.web.com, request: "GET /uploads/image/445566/logo-foto.png HTTP/1.1", host: "app.web.com" 2019/01/09...
Here is full Nginx config (`nginx -T`) with some info edited ``` # configuration file /etc/nginx/nginx.conf: user www-data; worker_processes 1; worker_rlimit_nofile 16384; error_log /var/log/nginx/error.log notice; pid /run/nginx.pid; events { worker_connections...
@slact does anything in the logs look suspicious to you?
@danielristic quick Q – why do you want to use `monit` with `systemd`? I was under impression that `systemd` has everything needed to run `sidekiq`, including a watchdog (supported with...
> Is there a way to make nchan publish when opening/closing a websocket? Not sure I understand what exactly do you mean when you say `make nchan publish`... If I'm...
You have two options: 1. convert your `pub` endpoint to `pubsub` https://nchan.io/#pubsub-endpoint (though I'm not sure whether callbacks work the same way for `pubsub` as they do for `sub` 2....
seems to be a dupe of #534 reverting to 1.2.2 should fix it. Or you fork and revert the commit mentioned in #534
I use Docker to build nchan, this might help you Dockerfile: ``` FROM ubuntu:bionic AS builder ENV NCHAN_VERSION 1.2.2 ENV NGINX_VERSION 1.18.0 RUN apt-get update && apt-get install -qq -y...