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 <[email protected]> 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 <[email protected]> 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 ([email protected]) 
> > 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 <[email protected]> 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 <[email protected]>
> > > 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
> > > > [email protected]
> > > >
> > > >
> > > > On Mon, Nov 18, 2019 at 12:21 PM Tom Barber <[email protected]> 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 <[email protected]>
> > > 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 <[email protected]>
> > > 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.

Reply via email to