Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server null error in wsct.py #83

Open
chazuttu opened this issue Jul 27, 2021 · 2 comments
Open

Server null error in wsct.py #83

chazuttu opened this issue Jul 27, 2021 · 2 comments
Labels
good first issue Good for newcomers

Comments

@chazuttu
Copy link
Collaborator

Many command line options in wsct.py give the following error:-

pysimplesoap.client.SoapFault: S:Server: null

Complete error:-
$ wsct --parametros

para soporte de WebClient debe instalar httplib2
Creando TRA...
Firmando TRA...
Conectando a WSAA...
Llamando WSAA...
Grabando TA en C:\Users\Desktop\GSoC_online\pyafipws\py3\lib\site-packages\pyafipws-3.9.b_2522_-py3.9.egg\pyafipws\cache\TA-eaf252cfe0cca095fa0a172613f19f25.xml...
Traceback (most recent call last):
  File "C:\Users\Desktop\GSoC_online\pyafipws\py3\Scripts\wsct-script.py", line 33, in <module>
    sys.exit(load_entry_point('PyAfipWs===3.9.b-2522-', 'console_scripts', 'wsct')())
  File "C:\Users\Desktop\GSoC_online\pyafipws\py3\lib\site-packages\pyafipws-3.9.b_2522_-py3.9.egg\pyafipws\wsct.py", line 1128, in main
    print(wsct.ConsultarTiposDatosAdicionales())
  File "C:\Users\\Desktop\GSoC_online\pyafipws\py3\lib\site-packages\pyafipws-3.9.b_2522_-py3.9.egg\pyafipws\utils.py", line 201, in capturar_errores_wrapper
    return func(self, *args, **kwargs)
  File "C:\Users\Desktop\GSoC_online\pyafipws\py3\lib\site-packages\pyafipws-3.9.b_2522_-py3.9.egg\pyafipws\wsct.py", line 871, in ConsultarTiposDatosAdicionales
    ret = self.client.consultarTiposDatosAdicionales(
  File "C:\Users\Desktop\GSoC_online\pyafipws\py3\lib\site-packages\pysimplesoap\client.py", line 159, in <lambda>
    return lambda *args, **kwargs: self.wsdl_call(attr,*args,**kwargs)
  File "C:\Users\Desktop\GSoC_online\pyafipws\py3\lib\site-packages\pysimplesoap\client.py", line 354, in wsdl_call
    response = self.call(method, types, *params)
  File "C:\Users\Desktop\GSoC_online\pyafipws\py3\lib\site-packages\pysimplesoap\client.py", line 234, in call
    raise SoapFault(str(response.faultcode), str(response.faultstring))
pysimplesoap.client.SoapFault: S:Server: null
@reingart reingart added the good first issue Good for newcomers label Mar 26, 2022
@baivab85
Copy link

baivab85 commented Mar 3, 2024

The error message you're seeing is a SoapFault error, which is typically thrown when there's an issue with the SOAP request being sent to the server. In this case, the error message is S:Server: null, which suggests that the server is returning a null response.

Here are a few things you can try to resolve this issue:

Check the server URL: Ensure that the server URL you're using is correct. If the URL is incorrect, the server might not be able to process your request, leading to a null response.

Check the SOAP request: The issue might be with the SOAP request you're sending. Make sure that the request is properly formatted and contains all the necessary information.

Check the server status: The server might be down or experiencing issues. If this is the case, you might need to wait until the server is up and running again.

Update your dependencies: The issue might be caused by outdated or incompatible dependencies. Try updating your dependencies to the latest versions.

If none of these solutions work, you might need to reach out to the server administrator or the support team for the SOAP service you're using for further assistance.

@RohitP2005
Copy link

Hey @reingart I am willing to work on it if its still available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants