Re: relayd as websocket proxy?

2018-05-06 Thread Ajitabh Pandey
eleration works fine without problems. > > Second: websocket connections don't :-( > > As far I can see websocket upgrade messages (decoded in wireshark as > "HTTP/1.1 101 Switching Protocols" packets) from the internal server are > replaced by relayd with packets with the RST-flag set directed to the WAN > client and the connection is closed. > > > My head-scratching question: > is this possible at all with relayd? > > Or do I have to switch to nginx? > > > Regards > Andre Ruppert > > > > -- Ajitabh Pandey http://ajitabhpandey.info/ | http://unixclinic.net/ | http://buddingthoughts.info ICQ - 150615062 Registered Linux User - 240748

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
On Wed, Oct 18, 2017 at 7:25 PM, Ajitabh Pandey <ajitabhpan...@gmail.com> wrote: > > On Wed, Oct 18, 2017 at 7:14 PM, Jiri B <ji...@devio.us> wrote: > >> On Wed, Oct 18, 2017 at 06:55:32PM +0530, Ajitabh Pandey wrote: >> > On Wed, Oct 18, 2017 at 1:

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
On Wed, Oct 18, 2017 at 7:14 PM, Jiri B <ji...@devio.us> wrote: > On Wed, Oct 18, 2017 at 06:55:32PM +0530, Ajitabh Pandey wrote: > > On Wed, Oct 18, 2017 at 1:43 PM, Jiri B <ji...@devio.us> wrote: > > > > > On Wed, Oct 18, 2017 at 01:40:06PM +0530, Ajitabh

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
On Wed, Oct 18, 2017 at 1:43 PM, Jiri B <ji...@devio.us> wrote: > On Wed, Oct 18, 2017 at 01:40:06PM +0530, Ajitabh Pandey wrote: > > Can httpd access the socket? What are permissions? > > j. > Here are the perms - srwxr-xr-x 1 root daemon 0 Oct 18 13:35 hello.sock

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
On Wed, 18 Oct 2017 at 4:45 PM, Gregory Edigarov wrote: > > > > I get 500 > > > hi, what's in your error.log? Nothing is in the error log. The access log indicates one line with 500 in it.

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
Thanks for the quick response. I tried that, still getting 500 the same problem - $ doas uwsgi --socket /var/www/run/hello.sock --wsgi-file myproject.py --master --callable app In /etc/httpd.conf - location "/hello/*" { fastcgi socket "/run/hello.sock" } Regards

Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
ame__ == "__main__": app.run(host='127.0.0.1') I am running UWSGI as - -- $ uwsgi --http : --wsgi-file myproject.py --master --callable app $ curl http://127.0.0.1:/ returns the contents, but when I access the page as http://192.168.1.111/hel

Re: DMCA Free OpenBSD VPS Hosting, multiple payment methods

2017-10-15 Thread Ajitabh Pandey
Try Hetzner CX series of servers in Germany. They are not actually friendly, but have ISO mount so that you can install. Other one is https://www.1984.is in Iceland. I am planning to try one from them in near future. Regards. — Ajitabh Pandey http://ajitabhpandey.info On Mon, 16 Oct 2017 at 6:50

Re: What does it mean this error when I try install a package?

2017-05-15 Thread Ajitabh Pandey
Stuart, On Thu, May 11, 2017 at 9:36 PM, Stuart Henderson <s...@spacehopper.org> wrote: > On 2017-05-11, Ajitabh Pandey <ajitabhpan...@gmail.com> wrote: > > I got a similar message when I try to install python, but upong > > investigating I realise that python was

Re: What does it mean this error when I try install a package?

2017-05-15 Thread Ajitabh Pandey
u could not install python-2.7.13p0.tgz, > but hopefully you have enough to install and start coding. Love python. > > > On May 11, 2017, at 4:46 AM, Ajitabh Pandey <ajitabhpan...@gmail.com> > wrote: > > > > Hi, > > > > I got a similar message when I try to ins

Re: smtpd aliases file issue

2017-05-11 Thread Ajitabh Pandey
; $ doas smtpctl update table aliases > > Gilles > > > > On 11 May 2017, at 08:17, Ajitabh Pandey <ajitabhpan...@gmail.com> > wrote: > > > > Hi Gilles, > > > > I did not change anything from the default. But I realise all may not be &g

Re: What does it mean this error when I try install a package?

2017-05-11 Thread Ajitabh Pandey
options: > > > > 1. pkg_add python, then select the version you want. > > 2. pkg_add python-2.7.13p0 > > 3. pkg_add -z python-2.7 (fuzzy matching, see pkg_add(1)) > > ^ or use 'python%2.7' > > j. > > -- Ajitabh Pandey http://

Re: smtpd aliases file issue

2017-05-11 Thread Ajitabh Pandey
table aliases file:/etc/mail/aliases listen on lo0 accept for local alias deliver to mbox accept from local for any relay Regards. -- ~ajitabhpandey On Wed, May 10, 2017 at 5:25 PM, Gilles Chehade <gil...@poolp.org> wrote: > On Wed, May 10, 2017 at 04:32:55PM +0530, Ajitabh Pan

Re: smtpd aliases file issue

2017-05-11 Thread Ajitabh Pandey
newaliases $ doas rcctl restart smtpd Regards. -- ~ajitabhpandey On Wed, May 10, 2017 at 4:58 PM, Edgar Pettijohn <ed...@pettijohn-web.com> wrote: > Did you restart smtpd? > > Sent from BlueMail <http://www.bluemail.me/r?b=9531> > On May 10, 2017, at 6:03 AM, Ajitabh Pandey

smtpd aliases file issue

2017-05-10 Thread Ajitabh Pandey
understanding about how this should work incorrect? If not then what am I doing wrong? Thanks and Regards. -- Ajitabh Pandey http://ajitabhpandey.info/

CGI script to see collectd stats

2017-05-10 Thread Ajitabh Pandey
to find something suitable which works under chroot. I am able to run a hello world cgi script in chroot. If any of you guys have some information/config/tool etc to share for collectd graphs, it would be of great help. Thanks & Regards. -- Ajitabh Pandey http://ajitabhpandey.info/

Re: ypbind hangs - how to debug?

2008-12-23 Thread Ajitabh Pandey
/etc/yp echo your-nis-server-fqdn /etc/yp/abl_bo I also had a CentOS NIS master server in my setup which was not picked up by the broadcast. The man page pointed me to this route. HTH Regards. -- Ajitabh Pandey http://www.ajitabhpandey.info/ | http://www.unixclinic.net/ ICQ - 150615062 Registered

Shutdown and Powerdown when the power button is pressed

2008-08-24 Thread Ajitabh Pandey
was running Ubuntu sometime back and If I remember correct this used to happen. Any pointers, please? Regards. -- Ajitabh Pandey http://www.ajitabhpandey.info/ | http://www.unixclinic.net/ ICQ - 150615062 Registered Linux User - 240748

Re: Top/uptime seems high

2007-08-13 Thread Ajitabh Pandey
://www.teamquest.com/resources/gunther/display/7/index.htm http://www.teamquest.com/resources/gunther/display/8/index.htm Regards. Ajitabh Pandey

Re: BSD laptop

2006-11-16 Thread Ajitabh Pandey
routine tasks whenever I have time. Just want to make sure the switch from Ubuntu to OpenBSD is smooth. Regards. -- Ajitabh Pandey http://www.ajitabhpandey.info http://www.unixclinic.net ICQ - 150615062 Registered Linux User - 240748