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

Recent Discussions

17 Oct, 2018 03:22 PM
15 Oct, 2018 12:10 PM
15 Oct, 2018 05:20 AM
10 Oct, 2018 08:11 AM
03 Oct, 2018 01:16 PM

 

01 Oct, 2018 08:41 AM
28 Sep, 2018 10:12 AM
26 Sep, 2018 04:34 AM
21 Sep, 2018 04:40 PM
18 Sep, 2018 03:30 PM
11 Sep, 2018 09:12 AM