You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwhisk.apache.org by Tom Barber <to...@spicule.co.uk> on 2019/11/18 16:15:49 UTC

API Gateway routing on Mac

Hi folks,

I'm tinkering around with a Serverless framework -> Openwhisk POC on
my Mac that i've deployed using make quick-start and I've pushed an
API gateway event but when I call it I get stuff like

==> /var/log/api-gateway/gateway_error.log <==
2019/11/18 16:00:30 [info] 28#0: *117 client closed connection while
waiting for request, client: 172.18.0.1, server: 0.0.0.0:8080
2019/11/18 16:00:30 [error] 33#0: *118 https could not be resolved (3:
Host not found),

Googling brings me to this commit:
https://github.com/apache/openwhisk-deploy-kube/pull/522/commits/91ec9bc471fa1f880955d1013da4946489f1b417?short_path=ed4053d#diff-ed4053d164db42fd10c5ba32cb53d20d

But thats discussing Openwhisk on K8S on Mac which isn't quite the
same and the patch is to a pod template.

So few questions here, I appreciate Mac networking is different, so is
Make quick-start the way we should actually get up and running or
should we be using K8S? Similarly, if this does apply to non K8S
deployment how do we apply this fix to a Make deployed version?

Lastly the invite bot for your slack channel seems to not be sending
out invites.

Tom

-- 


Spicule Limited is registered in England & Wales. Company Number: 
09954122. Registered office: First Floor, Telecom House, 125-135 Preston 
Road, Brighton, England, BN1 6AF. VAT No. 251478891.




All engagements 
are subject to Spicule Terms and Conditions of Business. This email and its 
contents are intended solely for the individual to whom it is addressed and 
may contain information that is confidential, privileged or otherwise 
protected from disclosure, distributing or copying. Any views or opinions 
presented in this email are solely those of the author and do not 
necessarily represent those of Spicule Limited. The company accepts no 
liability for any damage caused by any virus transmitted by this email. If 
you have received this message in error, please notify us immediately by 
reply email before deleting it from your system. Service of legal notice 
cannot be effected on Spicule Limited by email.

Re: API Gateway routing on Mac

Posted by Tom Barber <to...@spicule.co.uk>.
Yeah weird, I'm in now. Thanks!

-- 


Spicule Limited is registered in England & Wales. Company Number: 
09954122. Registered office: First Floor, Telecom House, 125-135 Preston 
Road, Brighton, England, BN1 6AF. VAT No. 251478891.




All engagements 
are subject to Spicule Terms and Conditions of Business. This email and its 
contents are intended solely for the individual to whom it is addressed and 
may contain information that is confidential, privileged or otherwise 
protected from disclosure, distributing or copying. Any views or opinions 
presented in this email are solely those of the author and do not 
necessarily represent those of Spicule Limited. The company accepts no 
liability for any damage caused by any virus transmitted by this email. If 
you have received this message in error, please notify us immediately by 
reply email before deleting it from your system. Service of legal notice 
cannot be effected on Spicule Limited by email.

Re: API Gateway routing on Mac

Posted by Rodric Rabbah <ro...@gmail.com>.
> Lastly the invite bot for your slack channel seems to not be sending
> out invites.

Thanks for alerting us. I checked this out and it is working from what I can see. I can send you a direct invite if you like. 

Re: API Gateway routing on Mac

Posted by Matt Hamann <ma...@gmail.com>.
What's odd is that the tests that run as part of the initial
docker-compose bringup, the API gateway gets invoked successfully. I
believe that test uses the `wsk` CLI directly, so that makes sense.

This makes me think that the Serverless framework provider itself is
at fault, but that also is suspect, given that it works for other
deployments (e.g. k8s).

Might need James Thomas to weigh in here...


On Mon, Nov 18, 2019 at 8:26 PM Tom Barber <to...@spicule.co.uk> wrote:
>
> Okay, I flipped from Docker Compose to K8S and the exact same command
> brought up the API Gateway endpoint perfectly, so its certainly
> something to do with the way the Docker Compose Openwhisk starts up.
>
> On Mon, Nov 18, 2019 at 10:00 PM Tom Barber <to...@spicule.co.uk> wrote:
> >
> > I’m not sure Dascalita its just a quick serverless framework tests with a web action to mimici something we already have working in Lambda & Serverless. But its not got off to the most straightforward of starts! :)
> >
> >
> >
> > On 18 November 2019 at 20:34:28, Dascalita Dragos (ddragosd@gmail.com) wrote:
> >
> > I didn’t check the recording but How is the URL for the action retrieved ?
> >
> > On Mon, Nov 18, 2019 at 10:05 AM Tom Barber <to...@spicule.co.uk> wrote:
> >
> > > Hmm, good catch I didn't spot that. Its all created dynamically by the
> > > serverless deploy routine the entirety of which looks like:
> > > https://gist.github.com/buggtb/34163a72f8ec88a3df6b2b80f3d79fbc so its
> > > not in my serverless.yaml so I guess its something under the hood in
> > > serverless. I'll dig more.
> > >
> > > On Mon, Nov 18, 2019 at 5:37 PM Matt Hamann <ma...@gmail.com>
> > > wrote:
> > > >
> > > > In the video when Pixelize action is brought up, I see this output:
> > > >
> > > > ```
> > > > endpoints (web actions):
> > > > https://
> > > https://10.0.0.106/api/v1/web/guest/default/pixlize-serverless-dev-login
> > > > ```
> > > >
> > > > The double "https" is likely causing the issue here, as the API
> > > > gateway doesn't know what to do with that.
> > > >
> > > > Must be a configuration issue somewhere...
> > > >
> > > > ------------------------------------------------
> > > > -Matt
> > > > matthew.hamann@gmail.com
> > > >
> > > >
> > > > On Mon, Nov 18, 2019 at 12:21 PM Tom Barber <to...@spicule.co.uk> wrote:
> > > > >
> > > > > I replicated it from scratch here's a recording of what I'm doing:
> > > > >
> > > > > https://asciinema.org/a/Zwoim3sFOSUXAC9ZCAYtdbPUV
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Tom
> > > > >
> > > > >
> > > > > On Mon, Nov 18, 2019 at 4:33 PM Rodric Rabbah <ro...@gmail.com>
> > > wrote:
> > > > > >
> > > > > > Hi Tom. I’ve used quick start on Mac with api gateway successfully
> > > in the past. I’ll see if I can reproduce your issue.
> > > > > >
> > > > > > -r
> > > > > >
> > > > > > > On Nov 18, 2019, at 11:26 AM, Tom Barber <to...@spicule.co.uk>
> > > wrote:
> > > > > > >
> > > > > > > Just to expand on my deployment question, I appreciate make
> > > > > > > quick-start isn't production ready. I'm just curious if its not API
> > > > > > > gateway ready either for Mac users?
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > >
> > > > > > > Spicule Limited is registered in England & Wales. Company Number:
> > > > > > > 09954122. Registered office: First Floor, Telecom House, 125-135
> > > Preston
> > > > > > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > All engagements
> > > > > > > are subject to Spicule Terms and Conditions of Business. This
> > > email and its
> > > > > > > contents are intended solely for the individual to whom it is
> > > addressed and
> > > > > > > may contain information that is confidential, privileged or
> > > otherwise
> > > > > > > protected from disclosure, distributing or copying. Any views or
> > > opinions
> > > > > > > presented in this email are solely those of the author and do not
> > > > > > > necessarily represent those of Spicule Limited. The company
> > > accepts no
> > > > > > > liability for any damage caused by any virus transmitted by this
> > > email. If
> > > > > > > you have received this message in error, please notify us
> > > immediately by
> > > > > > > reply email before deleting it from your system. Service of legal
> > > notice
> > > > > > > cannot be effected on Spicule Limited by email.
> > > > >
> > > > > --
> > > > >
> > > > >
> > > > > Spicule Limited is registered in England & Wales. Company Number:
> > > > > 09954122. Registered office: First Floor, Telecom House, 125-135
> > > Preston
> > > > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > All engagements
> > > > > are subject to Spicule Terms and Conditions of Business. This email
> > > and its
> > > > > contents are intended solely for the individual to whom it is
> > > addressed and
> > > > > may contain information that is confidential, privileged or otherwise
> > > > > protected from disclosure, distributing or copying. Any views or
> > > opinions
> > > > > presented in this email are solely those of the author and do not
> > > > > necessarily represent those of Spicule Limited. The company accepts no
> > > > > liability for any damage caused by any virus transmitted by this
> > > email. If
> > > > > you have received this message in error, please notify us immediately
> > > by
> > > > > reply email before deleting it from your system. Service of legal
> > > notice
> > > > > cannot be effected on Spicule Limited by email.
> > >
> > > --
> > >
> > >
> > > Spicule Limited is registered in England & Wales. Company Number:
> > > 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > >
> > >
> > >
> > >
> > > All engagements
> > > are subject to Spicule Terms and Conditions of Business. This email and
> > > its
> > > contents are intended solely for the individual to whom it is addressed
> > > and
> > > may contain information that is confidential, privileged or otherwise
> > > protected from disclosure, distributing or copying. Any views or opinions
> > > presented in this email are solely those of the author and do not
> > > necessarily represent those of Spicule Limited. The company accepts no
> > > liability for any damage caused by any virus transmitted by this email. If
> > > you have received this message in error, please notify us immediately by
> > > reply email before deleting it from your system. Service of legal notice
> > > cannot be effected on Spicule Limited by email.
> > >
>
> --
>
>
> Spicule Limited is registered in England & Wales. Company Number:
> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>
>
>
>
> All engagements
> are subject to Spicule Terms and Conditions of Business. This email and its
> contents are intended solely for the individual to whom it is addressed and
> may contain information that is confidential, privileged or otherwise
> protected from disclosure, distributing or copying. Any views or opinions
> presented in this email are solely those of the author and do not
> necessarily represent those of Spicule Limited. The company accepts no
> liability for any damage caused by any virus transmitted by this email. If
> you have received this message in error, please notify us immediately by
> reply email before deleting it from your system. Service of legal notice
> cannot be effected on Spicule Limited by email.

Re: API Gateway routing on Mac

Posted by Tom Barber <to...@spicule.co.uk>.
Okay, I flipped from Docker Compose to K8S and the exact same command
brought up the API Gateway endpoint perfectly, so its certainly
something to do with the way the Docker Compose Openwhisk starts up.

On Mon, Nov 18, 2019 at 10:00 PM Tom Barber <to...@spicule.co.uk> wrote:
>
> I’m not sure Dascalita its just a quick serverless framework tests with a web action to mimici something we already have working in Lambda & Serverless. But its not got off to the most straightforward of starts! :)
>
>
>
> On 18 November 2019 at 20:34:28, Dascalita Dragos (ddragosd@gmail.com) wrote:
>
> I didn’t check the recording but How is the URL for the action retrieved ?
>
> On Mon, Nov 18, 2019 at 10:05 AM Tom Barber <to...@spicule.co.uk> wrote:
>
> > Hmm, good catch I didn't spot that. Its all created dynamically by the
> > serverless deploy routine the entirety of which looks like:
> > https://gist.github.com/buggtb/34163a72f8ec88a3df6b2b80f3d79fbc so its
> > not in my serverless.yaml so I guess its something under the hood in
> > serverless. I'll dig more.
> >
> > On Mon, Nov 18, 2019 at 5:37 PM Matt Hamann <ma...@gmail.com>
> > wrote:
> > >
> > > In the video when Pixelize action is brought up, I see this output:
> > >
> > > ```
> > > endpoints (web actions):
> > > https://
> > https://10.0.0.106/api/v1/web/guest/default/pixlize-serverless-dev-login
> > > ```
> > >
> > > The double "https" is likely causing the issue here, as the API
> > > gateway doesn't know what to do with that.
> > >
> > > Must be a configuration issue somewhere...
> > >
> > > ------------------------------------------------
> > > -Matt
> > > matthew.hamann@gmail.com
> > >
> > >
> > > On Mon, Nov 18, 2019 at 12:21 PM Tom Barber <to...@spicule.co.uk> wrote:
> > > >
> > > > I replicated it from scratch here's a recording of what I'm doing:
> > > >
> > > > https://asciinema.org/a/Zwoim3sFOSUXAC9ZCAYtdbPUV
> > > >
> > > > Thanks!
> > > >
> > > > Tom
> > > >
> > > >
> > > > On Mon, Nov 18, 2019 at 4:33 PM Rodric Rabbah <ro...@gmail.com>
> > wrote:
> > > > >
> > > > > Hi Tom. I’ve used quick start on Mac with api gateway successfully
> > in the past. I’ll see if I can reproduce your issue.
> > > > >
> > > > > -r
> > > > >
> > > > > > On Nov 18, 2019, at 11:26 AM, Tom Barber <to...@spicule.co.uk>
> > wrote:
> > > > > >
> > > > > > Just to expand on my deployment question, I appreciate make
> > > > > > quick-start isn't production ready. I'm just curious if its not API
> > > > > > gateway ready either for Mac users?
> > > > > >
> > > > > > --
> > > > > >
> > > > > >
> > > > > > Spicule Limited is registered in England & Wales. Company Number:
> > > > > > 09954122. Registered office: First Floor, Telecom House, 125-135
> > Preston
> > > > > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > All engagements
> > > > > > are subject to Spicule Terms and Conditions of Business. This
> > email and its
> > > > > > contents are intended solely for the individual to whom it is
> > addressed and
> > > > > > may contain information that is confidential, privileged or
> > otherwise
> > > > > > protected from disclosure, distributing or copying. Any views or
> > opinions
> > > > > > presented in this email are solely those of the author and do not
> > > > > > necessarily represent those of Spicule Limited. The company
> > accepts no
> > > > > > liability for any damage caused by any virus transmitted by this
> > email. If
> > > > > > you have received this message in error, please notify us
> > immediately by
> > > > > > reply email before deleting it from your system. Service of legal
> > notice
> > > > > > cannot be effected on Spicule Limited by email.
> > > >
> > > > --
> > > >
> > > >
> > > > Spicule Limited is registered in England & Wales. Company Number:
> > > > 09954122. Registered office: First Floor, Telecom House, 125-135
> > Preston
> > > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > > >
> > > >
> > > >
> > > >
> > > > All engagements
> > > > are subject to Spicule Terms and Conditions of Business. This email
> > and its
> > > > contents are intended solely for the individual to whom it is
> > addressed and
> > > > may contain information that is confidential, privileged or otherwise
> > > > protected from disclosure, distributing or copying. Any views or
> > opinions
> > > > presented in this email are solely those of the author and do not
> > > > necessarily represent those of Spicule Limited. The company accepts no
> > > > liability for any damage caused by any virus transmitted by this
> > email. If
> > > > you have received this message in error, please notify us immediately
> > by
> > > > reply email before deleting it from your system. Service of legal
> > notice
> > > > cannot be effected on Spicule Limited by email.
> >
> > --
> >
> >
> > Spicule Limited is registered in England & Wales. Company Number:
> > 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> >
> >
> >
> >
> > All engagements
> > are subject to Spicule Terms and Conditions of Business. This email and
> > its
> > contents are intended solely for the individual to whom it is addressed
> > and
> > may contain information that is confidential, privileged or otherwise
> > protected from disclosure, distributing or copying. Any views or opinions
> > presented in this email are solely those of the author and do not
> > necessarily represent those of Spicule Limited. The company accepts no
> > liability for any damage caused by any virus transmitted by this email. If
> > you have received this message in error, please notify us immediately by
> > reply email before deleting it from your system. Service of legal notice
> > cannot be effected on Spicule Limited by email.
> >

-- 


Spicule Limited is registered in England & Wales. Company Number: 
09954122. Registered office: First Floor, Telecom House, 125-135 Preston 
Road, Brighton, England, BN1 6AF. VAT No. 251478891.




All engagements 
are subject to Spicule Terms and Conditions of Business. This email and its 
contents are intended solely for the individual to whom it is addressed and 
may contain information that is confidential, privileged or otherwise 
protected from disclosure, distributing or copying. Any views or opinions 
presented in this email are solely those of the author and do not 
necessarily represent those of Spicule Limited. The company accepts no 
liability for any damage caused by any virus transmitted by this email. If 
you have received this message in error, please notify us immediately by 
reply email before deleting it from your system. Service of legal notice 
cannot be effected on Spicule Limited by email.

Re: API Gateway routing on Mac

Posted by Tom Barber <to...@spicule.co.uk>.
I’m not sure Dascalita its just a quick serverless framework tests with a
web action to mimici something we already have working in Lambda &
Serverless. But its not got off to the most straightforward of starts! :)



On 18 November 2019 at 20:34:28, Dascalita Dragos (ddragosd@gmail.com)
wrote:

I didn’t check the recording but How is the URL for the action retrieved ?

On Mon, Nov 18, 2019 at 10:05 AM Tom Barber <to...@spicule.co.uk> wrote:

> Hmm, good catch I didn't spot that. Its all created dynamically by the
> serverless deploy routine the entirety of which looks like:
> https://gist.github.com/buggtb/34163a72f8ec88a3df6b2b80f3d79fbc so its
> not in my serverless.yaml so I guess its something under the hood in
> serverless. I'll dig more.
>
> On Mon, Nov 18, 2019 at 5:37 PM Matt Hamann <ma...@gmail.com>
> wrote:
> >
> > In the video when Pixelize action is brought up, I see this output:
> >
> > ```
> > endpoints (web actions):
> > https://
> https://10.0.0.106/api/v1/web/guest/default/pixlize-serverless-dev-login
> > ```
> >
> > The double "https" is likely causing the issue here, as the API
> > gateway doesn't know what to do with that.
> >
> > Must be a configuration issue somewhere...
> >
> > ------------------------------------------------
> > -Matt
> > matthew.hamann@gmail.com
> >
> >
> > On Mon, Nov 18, 2019 at 12:21 PM Tom Barber <to...@spicule.co.uk> wrote:
> > >
> > > I replicated it from scratch here's a recording of what I'm doing:
> > >
> > > https://asciinema.org/a/Zwoim3sFOSUXAC9ZCAYtdbPUV
> > >
> > > Thanks!
> > >
> > > Tom
> > >
> > >
> > > On Mon, Nov 18, 2019 at 4:33 PM Rodric Rabbah <ro...@gmail.com>
> wrote:
> > > >
> > > > Hi Tom. I’ve used quick start on Mac with api gateway successfully
> in the past. I’ll see if I can reproduce your issue.
> > > >
> > > > -r
> > > >
> > > > > On Nov 18, 2019, at 11:26 AM, Tom Barber <to...@spicule.co.uk>
> wrote:
> > > > >
> > > > > Just to expand on my deployment question, I appreciate make
> > > > > quick-start isn't production ready. I'm just curious if its not
API
> > > > > gateway ready either for Mac users?
> > > > >
> > > > > --
> > > > >
> > > > >
> > > > > Spicule Limited is registered in England & Wales. Company Number:
> > > > > 09954122. Registered office: First Floor, Telecom House, 125-135
> Preston
> > > > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > All engagements
> > > > > are subject to Spicule Terms and Conditions of Business. This
> email and its
> > > > > contents are intended solely for the individual to whom it is
> addressed and
> > > > > may contain information that is confidential, privileged or
> otherwise
> > > > > protected from disclosure, distributing or copying. Any views or
> opinions
> > > > > presented in this email are solely those of the author and do not
> > > > > necessarily represent those of Spicule Limited. The company
> accepts no
> > > > > liability for any damage caused by any virus transmitted by this
> email. If
> > > > > you have received this message in error, please notify us
> immediately by
> > > > > reply email before deleting it from your system. Service of legal
> notice
> > > > > cannot be effected on Spicule Limited by email.
> > >
> > > --
> > >
> > >
> > > Spicule Limited is registered in England & Wales. Company Number:
> > > 09954122. Registered office: First Floor, Telecom House, 125-135
> Preston
> > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > >
> > >
> > >
> > >
> > > All engagements
> > > are subject to Spicule Terms and Conditions of Business. This email
> and its
> > > contents are intended solely for the individual to whom it is
> addressed and
> > > may contain information that is confidential, privileged or otherwise
> > > protected from disclosure, distributing or copying. Any views or
> opinions
> > > presented in this email are solely those of the author and do not
> > > necessarily represent those of Spicule Limited. The company accepts
no
> > > liability for any damage caused by any virus transmitted by this
> email. If
> > > you have received this message in error, please notify us immediately
> by
> > > reply email before deleting it from your system. Service of legal
> notice
> > > cannot be effected on Spicule Limited by email.
>
> --
>
>
> Spicule Limited is registered in England & Wales. Company Number:
> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>
>
>
>
> All engagements
> are subject to Spicule Terms and Conditions of Business. This email and
> its
> contents are intended solely for the individual to whom it is addressed
> and
> may contain information that is confidential, privileged or otherwise
> protected from disclosure, distributing or copying. Any views or opinions
> presented in this email are solely those of the author and do not
> necessarily represent those of Spicule Limited. The company accepts no
> liability for any damage caused by any virus transmitted by this email.
If
> you have received this message in error, please notify us immediately by
> reply email before deleting it from your system. Service of legal notice
> cannot be effected on Spicule Limited by email.
>

-- 


Spicule Limited is registered in England & Wales. Company Number: 
09954122. Registered office: First Floor, Telecom House, 125-135 Preston 
Road, Brighton, England, BN1 6AF. VAT No. 251478891.




All engagements 
are subject to Spicule Terms and Conditions of Business. This email and its 
contents are intended solely for the individual to whom it is addressed and 
may contain information that is confidential, privileged or otherwise 
protected from disclosure, distributing or copying. Any views or opinions 
presented in this email are solely those of the author and do not 
necessarily represent those of Spicule Limited. The company accepts no 
liability for any damage caused by any virus transmitted by this email. If 
you have received this message in error, please notify us immediately by 
reply email before deleting it from your system. Service of legal notice 
cannot be effected on Spicule Limited by email.

Re: API Gateway routing on Mac

Posted by Dascalita Dragos <dd...@gmail.com>.
I didn’t check the recording but How is the URL for the action retrieved ?

On Mon, Nov 18, 2019 at 10:05 AM Tom Barber <to...@spicule.co.uk> wrote:

> Hmm, good catch I didn't spot that. Its all created dynamically by the
> serverless deploy routine the entirety of which looks like:
> https://gist.github.com/buggtb/34163a72f8ec88a3df6b2b80f3d79fbc so its
> not in my serverless.yaml so I guess its something under the hood in
> serverless. I'll dig more.
>
> On Mon, Nov 18, 2019 at 5:37 PM Matt Hamann <ma...@gmail.com>
> wrote:
> >
> > In the video when Pixelize action is brought up, I see this output:
> >
> > ```
> > endpoints (web actions):
> > https://
> https://10.0.0.106/api/v1/web/guest/default/pixlize-serverless-dev-login
> > ```
> >
> > The double "https" is likely causing the issue here, as the API
> > gateway doesn't know what to do with that.
> >
> > Must be a configuration issue somewhere...
> >
> > ------------------------------------------------
> > -Matt
> > matthew.hamann@gmail.com
> >
> >
> > On Mon, Nov 18, 2019 at 12:21 PM Tom Barber <to...@spicule.co.uk> wrote:
> > >
> > > I replicated it from scratch here's a recording of what I'm doing:
> > >
> > > https://asciinema.org/a/Zwoim3sFOSUXAC9ZCAYtdbPUV
> > >
> > > Thanks!
> > >
> > > Tom
> > >
> > >
> > > On Mon, Nov 18, 2019 at 4:33 PM Rodric Rabbah <ro...@gmail.com>
> wrote:
> > > >
> > > > Hi Tom. I’ve used quick start on Mac with api gateway successfully
> in the past. I’ll see if I can reproduce your issue.
> > > >
> > > > -r
> > > >
> > > > > On Nov 18, 2019, at 11:26 AM, Tom Barber <to...@spicule.co.uk>
> wrote:
> > > > >
> > > > > Just to expand on my deployment question, I appreciate make
> > > > > quick-start isn't production ready. I'm just curious if its not API
> > > > > gateway ready either for Mac users?
> > > > >
> > > > > --
> > > > >
> > > > >
> > > > > Spicule Limited is registered in England & Wales. Company Number:
> > > > > 09954122. Registered office: First Floor, Telecom House, 125-135
> Preston
> > > > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > All engagements
> > > > > are subject to Spicule Terms and Conditions of Business. This
> email and its
> > > > > contents are intended solely for the individual to whom it is
> addressed and
> > > > > may contain information that is confidential, privileged or
> otherwise
> > > > > protected from disclosure, distributing or copying. Any views or
> opinions
> > > > > presented in this email are solely those of the author and do not
> > > > > necessarily represent those of Spicule Limited. The company
> accepts no
> > > > > liability for any damage caused by any virus transmitted by this
> email. If
> > > > > you have received this message in error, please notify us
> immediately by
> > > > > reply email before deleting it from your system. Service of legal
> notice
> > > > > cannot be effected on Spicule Limited by email.
> > >
> > > --
> > >
> > >
> > > Spicule Limited is registered in England & Wales. Company Number:
> > > 09954122. Registered office: First Floor, Telecom House, 125-135
> Preston
> > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > >
> > >
> > >
> > >
> > > All engagements
> > > are subject to Spicule Terms and Conditions of Business. This email
> and its
> > > contents are intended solely for the individual to whom it is
> addressed and
> > > may contain information that is confidential, privileged or otherwise
> > > protected from disclosure, distributing or copying. Any views or
> opinions
> > > presented in this email are solely those of the author and do not
> > > necessarily represent those of Spicule Limited. The company accepts no
> > > liability for any damage caused by any virus transmitted by this
> email. If
> > > you have received this message in error, please notify us immediately
> by
> > > reply email before deleting it from your system. Service of legal
> notice
> > > cannot be effected on Spicule Limited by email.
>
> --
>
>
> Spicule Limited is registered in England & Wales. Company Number:
> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>
>
>
>
> All engagements
> are subject to Spicule Terms and Conditions of Business. This email and
> its
> contents are intended solely for the individual to whom it is addressed
> and
> may contain information that is confidential, privileged or otherwise
> protected from disclosure, distributing or copying. Any views or opinions
> presented in this email are solely those of the author and do not
> necessarily represent those of Spicule Limited. The company accepts no
> liability for any damage caused by any virus transmitted by this email. If
> you have received this message in error, please notify us immediately by
> reply email before deleting it from your system. Service of legal notice
> cannot be effected on Spicule Limited by email.
>

Re: API Gateway routing on Mac

Posted by Tom Barber <to...@spicule.co.uk>.
Hmm, good catch I didn't spot that. Its all created dynamically by the
serverless deploy routine the entirety of which looks like:
https://gist.github.com/buggtb/34163a72f8ec88a3df6b2b80f3d79fbc so its
not in my serverless.yaml so I guess its something under the hood in
serverless. I'll dig more.

On Mon, Nov 18, 2019 at 5:37 PM Matt Hamann <ma...@gmail.com> wrote:
>
> In the video when Pixelize action is brought up, I see this output:
>
> ```
> endpoints (web actions):
> https://https://10.0.0.106/api/v1/web/guest/default/pixlize-serverless-dev-login
> ```
>
> The double "https" is likely causing the issue here, as the API
> gateway doesn't know what to do with that.
>
> Must be a configuration issue somewhere...
>
> ------------------------------------------------
> -Matt
> matthew.hamann@gmail.com
>
>
> On Mon, Nov 18, 2019 at 12:21 PM Tom Barber <to...@spicule.co.uk> wrote:
> >
> > I replicated it from scratch here's a recording of what I'm doing:
> >
> > https://asciinema.org/a/Zwoim3sFOSUXAC9ZCAYtdbPUV
> >
> > Thanks!
> >
> > Tom
> >
> >
> > On Mon, Nov 18, 2019 at 4:33 PM Rodric Rabbah <ro...@gmail.com> wrote:
> > >
> > > Hi Tom. I’ve used quick start on Mac with api gateway successfully in the past. I’ll see if I can reproduce your issue.
> > >
> > > -r
> > >
> > > > On Nov 18, 2019, at 11:26 AM, Tom Barber <to...@spicule.co.uk> wrote:
> > > >
> > > > Just to expand on my deployment question, I appreciate make
> > > > quick-start isn't production ready. I'm just curious if its not API
> > > > gateway ready either for Mac users?
> > > >
> > > > --
> > > >
> > > >
> > > > Spicule Limited is registered in England & Wales. Company Number:
> > > > 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> > > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > > >
> > > >
> > > >
> > > >
> > > > All engagements
> > > > are subject to Spicule Terms and Conditions of Business. This email and its
> > > > contents are intended solely for the individual to whom it is addressed and
> > > > may contain information that is confidential, privileged or otherwise
> > > > protected from disclosure, distributing or copying. Any views or opinions
> > > > presented in this email are solely those of the author and do not
> > > > necessarily represent those of Spicule Limited. The company accepts no
> > > > liability for any damage caused by any virus transmitted by this email. If
> > > > you have received this message in error, please notify us immediately by
> > > > reply email before deleting it from your system. Service of legal notice
> > > > cannot be effected on Spicule Limited by email.
> >
> > --
> >
> >
> > Spicule Limited is registered in England & Wales. Company Number:
> > 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> >
> >
> >
> >
> > All engagements
> > are subject to Spicule Terms and Conditions of Business. This email and its
> > contents are intended solely for the individual to whom it is addressed and
> > may contain information that is confidential, privileged or otherwise
> > protected from disclosure, distributing or copying. Any views or opinions
> > presented in this email are solely those of the author and do not
> > necessarily represent those of Spicule Limited. The company accepts no
> > liability for any damage caused by any virus transmitted by this email. If
> > you have received this message in error, please notify us immediately by
> > reply email before deleting it from your system. Service of legal notice
> > cannot be effected on Spicule Limited by email.

-- 


Spicule Limited is registered in England & Wales. Company Number: 
09954122. Registered office: First Floor, Telecom House, 125-135 Preston 
Road, Brighton, England, BN1 6AF. VAT No. 251478891.




All engagements 
are subject to Spicule Terms and Conditions of Business. This email and its 
contents are intended solely for the individual to whom it is addressed and 
may contain information that is confidential, privileged or otherwise 
protected from disclosure, distributing or copying. Any views or opinions 
presented in this email are solely those of the author and do not 
necessarily represent those of Spicule Limited. The company accepts no 
liability for any damage caused by any virus transmitted by this email. If 
you have received this message in error, please notify us immediately by 
reply email before deleting it from your system. Service of legal notice 
cannot be effected on Spicule Limited by email.

Re: API Gateway routing on Mac

Posted by Matt Hamann <ma...@gmail.com>.
In the video when Pixelize action is brought up, I see this output:

```
endpoints (web actions):
https://https://10.0.0.106/api/v1/web/guest/default/pixlize-serverless-dev-login
```

The double "https" is likely causing the issue here, as the API
gateway doesn't know what to do with that.

Must be a configuration issue somewhere...

------------------------------------------------
-Matt
matthew.hamann@gmail.com


On Mon, Nov 18, 2019 at 12:21 PM Tom Barber <to...@spicule.co.uk> wrote:
>
> I replicated it from scratch here's a recording of what I'm doing:
>
> https://asciinema.org/a/Zwoim3sFOSUXAC9ZCAYtdbPUV
>
> Thanks!
>
> Tom
>
>
> On Mon, Nov 18, 2019 at 4:33 PM Rodric Rabbah <ro...@gmail.com> wrote:
> >
> > Hi Tom. I’ve used quick start on Mac with api gateway successfully in the past. I’ll see if I can reproduce your issue.
> >
> > -r
> >
> > > On Nov 18, 2019, at 11:26 AM, Tom Barber <to...@spicule.co.uk> wrote:
> > >
> > > Just to expand on my deployment question, I appreciate make
> > > quick-start isn't production ready. I'm just curious if its not API
> > > gateway ready either for Mac users?
> > >
> > > --
> > >
> > >
> > > Spicule Limited is registered in England & Wales. Company Number:
> > > 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> > > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> > >
> > >
> > >
> > >
> > > All engagements
> > > are subject to Spicule Terms and Conditions of Business. This email and its
> > > contents are intended solely for the individual to whom it is addressed and
> > > may contain information that is confidential, privileged or otherwise
> > > protected from disclosure, distributing or copying. Any views or opinions
> > > presented in this email are solely those of the author and do not
> > > necessarily represent those of Spicule Limited. The company accepts no
> > > liability for any damage caused by any virus transmitted by this email. If
> > > you have received this message in error, please notify us immediately by
> > > reply email before deleting it from your system. Service of legal notice
> > > cannot be effected on Spicule Limited by email.
>
> --
>
>
> Spicule Limited is registered in England & Wales. Company Number:
> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
>
>
>
>
> All engagements
> are subject to Spicule Terms and Conditions of Business. This email and its
> contents are intended solely for the individual to whom it is addressed and
> may contain information that is confidential, privileged or otherwise
> protected from disclosure, distributing or copying. Any views or opinions
> presented in this email are solely those of the author and do not
> necessarily represent those of Spicule Limited. The company accepts no
> liability for any damage caused by any virus transmitted by this email. If
> you have received this message in error, please notify us immediately by
> reply email before deleting it from your system. Service of legal notice
> cannot be effected on Spicule Limited by email.

Re: API Gateway routing on Mac

Posted by Tom Barber <to...@spicule.co.uk>.
I replicated it from scratch here's a recording of what I'm doing:

https://asciinema.org/a/Zwoim3sFOSUXAC9ZCAYtdbPUV

Thanks!

Tom


On Mon, Nov 18, 2019 at 4:33 PM Rodric Rabbah <ro...@gmail.com> wrote:
>
> Hi Tom. I’ve used quick start on Mac with api gateway successfully in the past. I’ll see if I can reproduce your issue.
>
> -r
>
> > On Nov 18, 2019, at 11:26 AM, Tom Barber <to...@spicule.co.uk> wrote:
> >
> > Just to expand on my deployment question, I appreciate make
> > quick-start isn't production ready. I'm just curious if its not API
> > gateway ready either for Mac users?
> >
> > --
> >
> >
> > Spicule Limited is registered in England & Wales. Company Number:
> > 09954122. Registered office: First Floor, Telecom House, 125-135 Preston
> > Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> >
> >
> >
> >
> > All engagements
> > are subject to Spicule Terms and Conditions of Business. This email and its
> > contents are intended solely for the individual to whom it is addressed and
> > may contain information that is confidential, privileged or otherwise
> > protected from disclosure, distributing or copying. Any views or opinions
> > presented in this email are solely those of the author and do not
> > necessarily represent those of Spicule Limited. The company accepts no
> > liability for any damage caused by any virus transmitted by this email. If
> > you have received this message in error, please notify us immediately by
> > reply email before deleting it from your system. Service of legal notice
> > cannot be effected on Spicule Limited by email.

-- 


Spicule Limited is registered in England & Wales. Company Number: 
09954122. Registered office: First Floor, Telecom House, 125-135 Preston 
Road, Brighton, England, BN1 6AF. VAT No. 251478891.




All engagements 
are subject to Spicule Terms and Conditions of Business. This email and its 
contents are intended solely for the individual to whom it is addressed and 
may contain information that is confidential, privileged or otherwise 
protected from disclosure, distributing or copying. Any views or opinions 
presented in this email are solely those of the author and do not 
necessarily represent those of Spicule Limited. The company accepts no 
liability for any damage caused by any virus transmitted by this email. If 
you have received this message in error, please notify us immediately by 
reply email before deleting it from your system. Service of legal notice 
cannot be effected on Spicule Limited by email.

Re: API Gateway routing on Mac

Posted by Rodric Rabbah <ro...@gmail.com>.
Hi Tom. I’ve used quick start on Mac with api gateway successfully in the past. I’ll see if I can reproduce your issue. 

-r

> On Nov 18, 2019, at 11:26 AM, Tom Barber <to...@spicule.co.uk> wrote:
> 
> Just to expand on my deployment question, I appreciate make
> quick-start isn't production ready. I'm just curious if its not API
> gateway ready either for Mac users?
> 
> -- 
> 
> 
> Spicule Limited is registered in England & Wales. Company Number: 
> 09954122. Registered office: First Floor, Telecom House, 125-135 Preston 
> Road, Brighton, England, BN1 6AF. VAT No. 251478891.
> 
> 
> 
> 
> All engagements 
> are subject to Spicule Terms and Conditions of Business. This email and its 
> contents are intended solely for the individual to whom it is addressed and 
> may contain information that is confidential, privileged or otherwise 
> protected from disclosure, distributing or copying. Any views or opinions 
> presented in this email are solely those of the author and do not 
> necessarily represent those of Spicule Limited. The company accepts no 
> liability for any damage caused by any virus transmitted by this email. If 
> you have received this message in error, please notify us immediately by 
> reply email before deleting it from your system. Service of legal notice 
> cannot be effected on Spicule Limited by email.

Re: API Gateway routing on Mac

Posted by Tom Barber <to...@spicule.co.uk>.
Just to expand on my deployment question, I appreciate make
quick-start isn't production ready. I'm just curious if its not API
gateway ready either for Mac users?

-- 


Spicule Limited is registered in England & Wales. Company Number: 
09954122. Registered office: First Floor, Telecom House, 125-135 Preston 
Road, Brighton, England, BN1 6AF. VAT No. 251478891.




All engagements 
are subject to Spicule Terms and Conditions of Business. This email and its 
contents are intended solely for the individual to whom it is addressed and 
may contain information that is confidential, privileged or otherwise 
protected from disclosure, distributing or copying. Any views or opinions 
presented in this email are solely those of the author and do not 
necessarily represent those of Spicule Limited. The company accepts no 
liability for any damage caused by any virus transmitted by this email. If 
you have received this message in error, please notify us immediately by 
reply email before deleting it from your system. Service of legal notice 
cannot be effected on Spicule Limited by email.