Webhooks working from server, but not from terminals

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Webhooks working from server, but not from terminals

Postby JuiceyBrucey » Wed Jun 24, 2026 10:52 am

7.2.1.0
SR 16
I am updating inventory on JIWA directly on the server, and webhooks are coming through no problem. But when office staff update inventory from one of their computers, the webhook is not sent.
I have checked all other computers and they are all running:
7.2.1.0
SR 16
All of them can access: http://10.0.0.110:808/ and the metadata comes up no problem. (Not sure if that is relevant)
JIWA sends the webhooks to the website webhook page and records the webhook content immediately. So if the webhook is sent, I will be able to see it in the website admin immediately. But they are only being sent when I am logged into the server and updating inventory from there.

Not sure why some terminals are working, and others are not.
Any suggestions?
JuiceyBrucey
Frequent Contributor
Frequent Contributor
 
Posts: 194
Joined: Tue Aug 18, 2020 7:19 pm
Topics Solved: 1

Re: Webhooks working from server, but not from terminals

Postby Scott.Pearce » Wed Jun 24, 2026 10:54 am

What is the value in System Settings->System Configuration->REST API->HostURL? This should be a value that all clients can reach.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 766
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: Webhooks working from server, but not from terminals

Postby Mike.Sheen » Wed Jun 24, 2026 10:55 am

What you are describing indicates that the clients cannot reach the configured WebhooksHostURL in your System Settings -> REST API tab.

Make sure you've read the Webhooks docs page.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2601
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 817

Re: Webhooks working from server, but not from terminals

Postby JuiceyBrucey » Wed Jun 24, 2026 11:36 am

thank you for the replies.
The WebhooksHostURL has been set to http://10.0.0.110:808/.
I dont know why as it does not point to my API or website at all.
This works on some computers and not others.
Is that the issue?
JuiceyBrucey
Frequent Contributor
Frequent Contributor
 
Posts: 194
Joined: Tue Aug 18, 2020 7:19 pm
Topics Solved: 1

Re: Webhooks working from server, but not from terminals

Postby Mike.Sheen » Wed Jun 24, 2026 11:38 am

JuiceyBrucey wrote:The WebhooksHostURL has been set to http://10.0.0.110:808/.
I dont know why as it does not point to my API or website at all.
This works on some computers and not others.
Is that the issue?


Have you verified that http://10.0.0.110:808/ is reachable from the problem machines? Verify by opening a browser on the problem machines and visiting http://10.0.0.110:808/
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2601
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 817

Re: Webhooks working from server, but not from terminals

Postby JuiceyBrucey » Wed Jun 24, 2026 11:40 am

Yes all can reach http://10.0.0.110:808/
Cheers
JuiceyBrucey
Frequent Contributor
Frequent Contributor
 
Posts: 194
Joined: Tue Aug 18, 2020 7:19 pm
Topics Solved: 1

Re: Webhooks working from server, but not from terminals

Postby Mike.Sheen » Wed Jun 24, 2026 11:44 am

JuiceyBrucey wrote:Yes all can reach http://10.0.0.110:808/
Cheers


Ok, so look in the table SY_WebHookMessage - if clients cannot reach the Jiwa API, they will insert directly into the table SY_WebHookMessage with Status of 0 - are you seeing entries like that?

If so, then join those to the SY_WebhookMessageResponse table - this should show a HTTPCode and Message.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2601
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 817

Re: Webhooks working from server, but not from terminals

Postby JuiceyBrucey » Wed Jun 24, 2026 12:09 pm

In the SY_WebHookMessage table, all of the status values are either 1 or 2.
When joining tables, there are some that have a status of 404 and a Body value of '', but the latest ones are all http:200 with a Body value of JSON object strings.
good to know these records are there BTW. Did not know about these.
Cheers
JuiceyBrucey
Frequent Contributor
Frequent Contributor
 
Posts: 194
Joined: Tue Aug 18, 2020 7:19 pm
Topics Solved: 1

Re: Webhooks working from server, but not from terminals

Postby Mike.Sheen » Wed Jun 24, 2026 12:11 pm

JuiceyBrucey wrote:In the SY_WebHookMessage table, all of the status values are either 1 or 2.
When joining tables, there are some that have a status of 404 and a Body value of '', but the latest ones are all http:200 with a Body value of JSON object strings.
good to know these records are there BTW. Did not know about these.
Cheers


So all good, then? You have enough to work it out from here, right?
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2601
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 817

Re: Webhooks working from server, but not from terminals

Postby JuiceyBrucey » Wed Jun 24, 2026 3:44 pm

Being able to see the webhook messages has been very helpful.
We have narrowed it down to one computer that is not sending webhooks. All the others are fine.
So I am inserting or editing an inventory item, and then checking the SY_WebHookMessage table for a new entry, but there is none.
That is where we are up to so far.
Cheers
JuiceyBrucey
Frequent Contributor
Frequent Contributor
 
Posts: 194
Joined: Tue Aug 18, 2020 7:19 pm
Topics Solved: 1

Next

Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 14 guests