This question has been flagged
1 Reply
3604 Views

I need help troubleshooting the missing barcodes on the print-> Lot Barcode in Warehouse->serial numbers. I had it working a while ago and I think some ubuntu update might have broken it. I have barcodes working in product labels, just not in the lot barcode. I believe this is using webkit reports and call wkhtmltopdf. I made sure I have wkhtmltopdf 12.2.1 and it's located in /usr/local/bin and also in /usr/bin. I made sure I have the code 128 fonts installed in the reportlab fonts folder. I rebooted the server, restarted odoo, etc. The only other thing I can think of is I put the server behind apache to enable ssl, but if I connect directly to the server over the lan on port 8069(bypassing apache) it still has the same problem. When I cange the system parameter

web_base_ url for https://mydomain:8069 back to http://mydomain:8069, the barcodes work again. HELP!!! :)

I'm getting some errors in the file /var/log/odoo/odoo-server.log too

2016-02-15 04:03:10,137 1458 INFO production werkzeug: 127.0.0.1 - - [15/Feb/201

6 04:03:10] "POST /report/check_wkhtmltopdf HTTP/1.1" 200 -

2016-02-15 04:03:10,710 1458 ERROR ? werkzeug: 127.0.0.1 - - [15/Feb/2016 04:03:

10] code 400, message Bad request version ('P\xac\xfc<\x8be\xf1\x00\x00\x88\xc00

\xc0,\xc0(\xc0$\xc0\x14\xc0')

2016-02-15 04:03:10,711 1458 INFO ? werkzeug: 127.0.0.1 - - [15/Feb/2016 04:03:1

0] "^V^C^A^A?^A^@^A;^C^CQ<94><A1>H<F3><E2>G<B3>=^U^K<E6>r^?u"<DE>D<AB>";<9B>^MP

<AC><FC><<8B>e<F1>^@^@<88><C0>0<C0>,<C0>(<C0>$<C0>^T<C0>" 400 -

2016-02-15 04:03:10,712 1458 ERROR ? werkzeug: 127.0.0.1 - - [15/Feb/2016 04:03:

10] code 400, message Bad request syntax ('\x16\x03\x01\x01?\x01\x00\x01;\x03\x0

3\xb4P\xf1\xbd;w\x0bu:]`\x0e\xdb!\xc4!q\x0b\xda< \xffT\xb9T\xc2\xa99\xcd\xb8\xa7

#\x00\x00\x88\xc00\xc0,\xc0(\xc0$\xc0\x14\xc0')

Avatar
Discard
Author Best Answer

Nevermind. I fixed it by removing the port from web_base_url. It should read https://mydomain

Avatar
Discard