Tryton web client version mismatch? - python

I am using GNU Health and I have installed trytond server 6.0.24 and tryton desktop 6.0.10 and when I install trytond web client it was installed successfully but when I open it on localhost it shows the error Version Mismatch.
How can I match the version of the tryton web client with the trytond server?
This is the error shown on the browser
I have tried to find to version of tryton web client but it never works.

The error is right, you installed the wrong version of the web client. You should install the 6.0 series of tryton-sao. Sao is the name of web client is not the same as the desktop client. For example, you can install the 6.0.27 version (which is the latest at time of writing) which should work for your setup. Note that you should also remove the current installed version to avoid conflicts.
This is because tryton requires all clients (web and desktop) to run the same series (two first digits of version) as the server you are connecting to.

Related

Where to get Socket.io/Websocket server details

I am trying to connect to a socket.io server. According to the socket.io documentation (version compatibility),"the client and the server must use compatible versions for everything to work", else we get an error like this one here.Problem is, I dont know where to look for server's Engine.io/java/python protocol version on an open webpage Demo.tv. I can run pip freeze to get my socketio and engineio version, but I dont know if I have a webpage open, where do I get protocol versions of the server. example image

Trying to update ubuntu EC2 settings to solve browser SSL & Cipher mismatch error

I'm learning how to create an EC2 ubuntu instance on AWS to launch Python based applications, all the server settings were properly specified as directed by the instructor(Tutorial last updated 2020), including configurations for anaconda & jupyter notebook & they run just fine on the terminal. But whenever i try accessing jupyter on the server from a browser (chrome & opera) i get an error description of ERR_SSL_VERSION_OR_CIPHER_MISMATCH (The client and server don't support a common SSL protocol version or cipher suite.). I've tried deleting my windows SSL certificate, reenabling browser access through firewall & other probable fixes through firewall & network security but am beginning to suspect its an issue with EC2 server/instance settings that we were given no longer being supported. How do i change these settings to support all traffic & allow access for all local IPs from my computer (Note that it's just supposed to be a personal demo instance & strict connection security rules are not needed)

Docker python requests results in DH KEY TOO SMALL error

I'm trying to setup a python script that uses the requests library to get data from a website. The script works without issues running in a virtual environment on my windows 10 pc or on a azure vm.
However, when I try to create a docker container using the python:3.6-slim image I get DH_KEY_TOO_SMALL errors. Testing the website on ssllabs.com revealed that it supports weak DH key exchange parameters. What could be causing this error and how can I fix it?
I've managed to fix the issue. The problem was caused by openssl versions. Both my windows 10 pc and ubuntu 18.04 vm run an older version that had no problem connecting to the website. The python docker images contain a newer version of openssl that refused to connect.

Accessing SPNEGO authenticated web service from Python on Windows

I am trying to access a REST service that uses Kerberos authentication (company internal) from a Python app on Windows. However, it seems that the service is configured to expect a SPNEGO only as when I try to use requests-kerberos to connect as in:
requests.get('servicename', auth=HTTPKerberosAuth())
it produces a 500 Error from the server with:
javax.servlet.ServletException: GSSException: No credential found for: 1.2.840.113554.1.2.2
My guess is that server is configured to expect SPNEGO only and Python client supports only Kerberos.
I have tried installing PyKerberos but that fails as it expects krb5 on the system and I am doing this under Windows. Are there any libraries available that could help me do a SPNEGO call from Python in Windows?
In case anyone else would be having a similar problem - resolved by using pycurl with pycurl.HTTPAUTH_GSSNEGOTIATE attribute set.

HgLab (Mercurial) on IIS7.5. Http error 500 Access denied when pushing

I am trying to Setup Mercurial on IIS 7.5 on Windows 2008 R2 Standard SP1 64bit.
At first we installed it on a Win 7 machine 32bit with no problem , but moved it to the live server and got user permission issue.
TortoiseHg give teh following error when I Push.
HTTP Error: 500 (Access to the path 'C:\Apps\hglab\Repos\data\repositories\master\CashExpress\Kenya.hg\store\00changelog.i' is denied.)
I had to activate 32bit apps on the 2008 R2 webserver.
I am using HgLab 0.3.10 and TortoiseHg 2.9.2
I am using the Mercurial I downloaded from this site http://hglabhq.com/
I searched the web extensively and also Stack overflow. Most solutions are not for IIS7.5 and those that are for IIS7.5 does not address my problem.
I think it is a user permission issue or 32bit/64bit. Not sure what the user is that Mercurial uses.
I tried grating the anonymous IUSR full access, but no success.
I check the IIS logs and it looks like it is using user "mecurial/proto1.0" which I can't get any information on. I also can't find that user on windows. I presume it is a Python/Apatch user.
If you need any more information I will get it for you.
I am not that familiar with Python or Apache.
I want to use Mecurial and not TFS.

Categories