IRC logs of #tryton for Monday, 2018-10-15

chat.freenode.net #tryton log beginning Mon Oct 15 00:00:01 CEST 2018
-!- lukio(~lukio@host249.190-136-122.telecom.net.ar) has joined #tryton01:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:10
-!- thaneor1(~lenovo3@r186-48-40-252.dialup.adsl.anteldata.net.uy) has joined #tryton02:10
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton04:10
-!- yangoon1(~mathiasb@i59F52E4B.versanet.de) has joined #tryton04:10
-!- udono(~udono@091-137-067-156.ip-addr.inexio.net) has joined #tryton05:10
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton06:10
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:10
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:10
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:10
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton09:10
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton09:10
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton09:10
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton10:10
cedkis there someone who masters nginx?11:10
pokolicedk: I'm not a master but I use it11:10
pokolicedk: which issue do you have?11:10
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton11:10
cedkpokoli: when I set to use uwsgi proxy, it drops all the caching headers from the backend11:10
cedkso the Cache-Control, Etag etc. are not sent to the browser11:10
pokolicedk: sorry but I have no idea11:10
semariecedk: I asked on #gcu channel (french guys). they asks if uwsgi really sents the headers ? (tcpdump to check)11:10
semarieit seems by default ngnix doesn't change the reply11:10
cedksemarie: in http-socket mode it does11:10
cedkbut it seems it does not in wsgi socket mode11:10
cedkalso with proxy_pass, I got no cache headers11:10
cedkbut with the same setup with lighttd I got them11:10
semarieit seems nginx might not emit them if gzip is used on nginx side11:10
semariecedk: you could /join #gcu it could be more simple: I am a just a pipe here11:10
cedkit seems uwsgi is removing all headers11:10
cedkWTF11:10
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton12:10
-!- csotelo(~csotelo@2800:200:f400:23c1:83dd:9b29:5c88:1c4c) has joined #tryton12:10
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton12:10
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton12:10
cedkthe problem seems to come from uwsgi of Debian (stable and testing)12:10
cedkindeed it is from uwsgi running inside docker12:10
cedkI got finaly the solution, it is the check-static configred in uwsgi in the docker image that does not set any header13:10
cedkwhen it is served by trytond, we had the headers13:10
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton13:10
-!- vmora(~vmora@aracar.oslandia.net) has joined #tryton14:10
-!- thaneor(~lenovo3@r179-25-86-114.dialup.adsl.anteldata.net.uy) has joined #tryton14:10
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton14:10
-!- vmora25(~vmora@82.64.20.169) has joined #tryton15:10
-!- smorillo(bc55aedf@gateway/web/cgi-irc/kiwiirc.com/ip.188.85.174.223) has joined #tryton15:10
-!- vmora(~vmora@aracar.oslandia.net) has joined #tryton17:10
semariecedk: about bug7783 (proteus: session key instead of login/passwd), the amount of specific code is reasonable (+74, -2). but I agree that Transport class isn't very flexible17:10
cedksemarie: it is still better if we can avoid more specific code17:10
cedkwhat I really dislike is that you need to make the parsing to chooise between Transport and SafeTransport17:10
cedkthis duplicate the logic from stdlib17:10
-!- Harzilein(harzi@harzilein.eu.org) has joined #tryton18:10
-!- lucascastro(~lucascast@177-185-139-186.isotelco.net.br) has joined #tryton20:10
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton20:10
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton21:10
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton21:10
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton22:10

Generated by irclog2html.py 2.16.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!