Error while save Webhook

madlord's Avatar

madlord

01 Feb, 2017 10:50 AM

RhodeCode 4.5.2
In repo:
 - Options > Settings > Integrations > Create new integration
 - Choose Webhook
 - Set "Webhook URL" like 'http://<ip>:<port>/job/<some_name>/'
 - Set "Events" : repository push
 - Click "Submit"
 - Get "Integration Webhook updated successfully." message
 - Click "Submit"
 - Get "500 Internal Server Error"

In log:
InvalidRequestError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (IntegrityError) NOT NULL constraint failed: integrations.child_repos_only u'UPDATE integrations SET child_repos_only=?, settings_json=? WHERE integrations.integration_id = ?' (None, '{"url": "http://<ip>:<port>/job/<some_name>/", "secret_token": "", "events": ["repo-push"]}', 3)

  1. 1 Posted by madlord on 07 Feb, 2017 09:33 AM

    madlord's Avatar

    Version 4.6.0 fix this problem. Thanks

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

03 Oct, 2017 08:26 PM
03 Oct, 2017 05:48 PM
28 Sep, 2017 05:55 PM
25 Sep, 2017 06:06 PM
25 Sep, 2017 05:54 AM
18 Aug, 2017 09:19 PM