It's certainly not impossible - all you have to do is expose one server to HTTP - surely your NetOps team can assist you with that?
Alternatively, you could host an endpoint on (Heroku|Azure|[a-Z]+),and have it store all the requests for retrieval by your firewalled server, POP3 for HTTP, if you will. (mixing my metaphors here, but you get the idea)
Sent: Tuesday, June 19, 2012 8:41 AM
Well, that kind of defeats the purpose. I want to develop an ASP.Net application that talks both ways with PODIO, but it appears that I cannot do this because PODIO cannot talk to a server within the citrite domain. Bummer. So, do I tell my manager that it is just not possible or might you have another suggestion as wo how we can integrate internal Citrix tools with PODIO?
Thanks,
-Steve
On Tue, Jun 19, 2012 at 9:55 AM, Phil Chambers <
phillip....@gmail.com<mailto:
phillip....@gmail.com>> wrote:
Hi Steve,
No, Podio cannot access internal IP addresses - that is a 10.* range. Can you try this with an externally accessible service?
Cheers,
Phil
On Tuesday, 19 June 2012 15:50:59 UTC+2, Steve Dieckbrader wrote:
OK, it is starting to become a little clearer. Yes, I suspect you are correct--PODIO is not able to access our network. Can you ping [
ftlwstevedie01.eng.citrite.net<
http://ftlwstevedie01.eng.citrite.net>], or my IP directly: [10.15.36.164]?
Thanks,
-Steve
On Mon, Jun 18, 2012 at 6:58 PM, Nick Barnwell <
ni...@boltoncomputing.com<mailto:
ni...@boltoncomputing.com>> wrote:
Always best to start with the simple things, I've certainly done similar stuff before and needed it pointed it out to me :)
I'm not in a position to test right now, but none of my systems that rely on hooks have thrown any errors regarding validation, and when I try and access the URL you've provided I receive a timeout on DNS lookup and am unable to access the server. It looks like that hostname is not accessible from outside your network? I tried from both Google and my university's cluster with no success. I imagine it's the same for Podio's servers, and the reason you're never seeing a POST is that one is never reaching you.
Cheers,
Nick
________________________________________
From:
podi...@googlegroups.com<mailto:
podi...@googlegroups.com> [
podi...@googlegroups.com<mailto:
podi...@googlegroups.com>] on behalf of Steven Dieckbrader [
stev...@gmail.com<mailto:
stev...@gmail.com>]
Sent: Monday, June 18, 2012 1:43 PM
To:
podi...@googlegroups.com<mailto:
podi...@googlegroups.com>
Subject: Re: [podio-api] A fully functioning example of Web Hooks, please
Hi Nick,
I am still stuck on the first point. Yes, duh, I can't expect PODIO to know what localhost is, so I wrote a one line ASP web app that I have deployed on my test server. While I can hit it from anywhere else I have tried, PODIO fails to ping my server. Here is the URL now:
http://ftlwstevedie01.eng.citrite.net/obutils/Reloc.aspx
As I said, I tried this from several machines, in both the citrite and eng domans, and all in other cases it worked, yet when I click Verify web hook from PODIO, there is no request detected. What else am I missing?
Thanks,
-Steve
On Mon, Jun 18, 2012 at 9:48 AM, Nick Barnwell <
ni...@boltoncomputing.com<mailto:
ni...@boltoncomputing.com><mailto:
ni...@boltoncomputing.com<mailto:
ni...@boltoncomputing.com>>> wrote:
I would start by verifying you've provided an FQDN as the hook target; if you give Podio localhost as the address to hit you're not going to see many requests reaching your server ;)
The 'code' parameter in the hook verification POSTed to your server is the code you supply in the 'validate' call back to the Podio server:
https://developers.podio.com/doc/hooks/validate-hook-verification-215241
The flow then looks like this:
1. Register Webhook with Podio
2. Podio POSTs to URL supplied as web hook endpoint in step 1 with the below body:
* {type:'hook.verify', 'hook_id': $id, code: '$someOneTimeToken' }
3. Take the code param from 2.1 and make a POST to the url of '/hook/{hook_id}/verify/validate' with the body
* { code '$2.1code' }
Your hook should now be validated
From: Steve Dieckbrader <
stev...@gmail.com<mailto:
stev...@gmail.com><mailto:
stev...@gmail.com<mailto:
stev...@gmail.com>>>
Reply-To: "
podi...@googlegroups.com<mailto:
podi...@googlegroups.com><mailto:
podi...@googlegroups.com<mailto:
podi...@googlegroups.com>>" <
podi...@googlegroups.com<mailto:
podi...@googlegroups.com><mailto:
podi...@googlegroups.com<mailto:
podi...@googlegroups.com>>>
Date: Monday, June 18, 2012 6:39 AM
To: "
podi...@googlegroups.com<mailto:
podi...@googlegroups.com><mailto:
podi...@googlegroups.com<mailto:
podi...@googlegroups.com>>" <
podi...@googlegroups.com<mailto:
podi...@googlegroups.com><mailto:
podi...@googlegroups.com<mailto:
podi...@googlegroups.com>>>