zatosource / zato

ESB, SOA, REST, APIs and Cloud Integrations in Python
https://zato.io
GNU Affero General Public License v3.0
1.12k stars 240 forks source link

Cannot create/edit REST outgoing connection #1007

Closed mciancio closed 4 years ago

mciancio commented 4 years ago

When I try to create a new outgoing REST connection or edit an existing one I get the following error:

Object could not be created, e:`Traceback (most recent call last): File "/opt/zato/3.1.0/code/zato-web-admin/src/zato/admin/web/views/http_soap.py", line 254, in create response = req.zato.client.invoke('zato.http-soap.create', _get_edit_create_message(req.POST)) File "/opt/zato/3.1.0/code/zato-web-admin/src/zato/admin/web/views/http_soap.py", line 73, in _get_edit_create_message 'http_accept': params[prefix + 'http_accept'], File "/opt/zato/3.1.0/code/lib/python2.7/site-packages/django/utils/datastructures.py", line 85, in getitem raise MultiValueDictKeyError(repr(key)) MultiValueDictKeyError: "u'http_accept'"

And nothing is edited/created. I'm using RHEL, Python 2.7.5

dsuch commented 4 years ago

Can you provide your Zato version? zato --version

Also, in what way you are creating or editing the connections? Using web-admin?

mciancio commented 4 years ago

The exact versions are:

I'm using web-admin. Thanks

dsuch commented 4 years ago

You need to follow all the steps in the installation instructions here, including the installation of updates:

https://zato.io/docs/admin/guide/install/py27/rhel.html

mciancio commented 4 years ago

I repeated it twice... My first hypothesis was a wrong install but it was the same after reinstallation. Thanks

Il gio 19 dic 2019, 16:57 Dariusz Suchojad notifications@github.com ha scritto:

You need to follow all the steps in the installation instructions here, including the installation of updates:

https://zato.io/docs/admin/guide/install/py27/rhel.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zatosource/zato/issues/1007?email_source=notifications&email_token=ABRRHL4MLHBRJGGPGXVQJPDQZOKVJA5CNFSM4J5DKL4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHKBYAY#issuecomment-567548931, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRRHLZ2ZT6LNE3IBVVEMF3QZOKVJANCNFSM4J5DKL4A .

DimShadoWWW commented 4 years ago

@mciancio can you provide some other information?

mciancio commented 4 years ago

$ zato --version Zato 3.1+rev.544100e-py2.7.5

lsb_release is not present, but follows some info:

NAME="Red Hat Enterprise Linux Server" VERSION="7.7 (Maipo)" ID="rhel" ID_LIKE="fedora" VARIANT="Server" VARIANT_ID="server" VERSION_ID="7.7" PRETTY_NAME="Red Hat Enterprise Linux" CPE_NAME="cpe:/o:redhat:enterprise_linux:7.7:GA:server"

Thanks

Il giorno ven 20 dic 2019 alle ore 06:35 DimShadoWWW < notifications@github.com> ha scritto:

@mciancio https://github.com/mciancio can you provide some other information?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zatosource/zato/issues/1007?email_source=notifications&email_token=ABRRHL6AHIRLROXJ4LRSP7DQZRKT5A5CNFSM4J5DKL4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHL554Q#issuecomment-567795442, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRRHL3YXZIMJQUBZ4XS2FTQZRKT5ANCNFSM4J5DKL4A .

mciancio commented 4 years ago

Sorry, I forgot about downloading new updates... I did it two days ago: is updating necessary now? (it's a bit complicated for me in this moment...)?

DimShadoWWW commented 4 years ago

@mciancio you Zato is outdated https://github.com/zatosource/zato/commit/544100ee343fa25a581325c70bc082520f6fe581 (commit from June 12)

Can you try to update it? If the system is offline you can try a Git's offline workflows (there are at least two or three) to update Zato.

I did some tests and I couldn't reproduce your error:

$ zato --version
Zato 3.1+rev.84f446d-py2.7.5
$ cat /etc/redhat-release 
CentOS Linux release 7.7.1908 (Core)
mciancio commented 4 years ago

Thank you. It's strange... I installed it following your instructions and then upgrading. No error. I'll try again but I've to wait the end of Christmastime. I've no direct access to the server. Thank you very much. I'll let you know. Bye.

Il sab 21 dic 2019, 16:33 DimShadoWWW notifications@github.com ha scritto:

@mciancio https://github.com/mciancio you Zato is outdated 544100e https://github.com/zatosource/zato/commit/544100ee343fa25a581325c70bc082520f6fe581 (commit from June 12)

Can you try to update it? If the system is offline you can try a Git's offline workflows (there are at least two or three) to update Zato.

I did some tests and I couldn't reproduce your error:

$ zato --version Zato 3.1+rev.84f446d-py2.7.5 $ cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/zatosource/zato/issues/1007?email_source=notifications&email_token=ABRRHL745WAOGC4ZHSOOJ3TQZYZLJA5CNFSM4J5DKL4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHO6FAA#issuecomment-568189568, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRRHL7EI2Y7PXUCWYLRP6DQZYZLJANCNFSM4J5DKL4A .

dsuch commented 4 years ago

No activity, I am closing the ticket.