pnp / generator-teams

A Yeoman Generator for Microsoft Teams
https://pnp.github.io/generator-teams
MIT License
424 stars 111 forks source link

NgrokClientError in plugin "yoteams-build.core" failed to start tunnel Issue using ngrok subdomain #372

Open tom-daly opened 1 year ago

tom-daly commented 1 year ago

Description

When adding my subdomain ngrok-serve will error.

take out the subdomain and it will work fine anonymously. I would rather it be a set domain so I don't have to keep uploading the teams app everytime.

image

Steps to reproduce

standard yo team app. nothing added.

add ngrok auth

add ngrok subdomain

perhaps the issue is that my domain is GLOBAL? I can't seem to select the domain region image

Expected results

no subdomain - works fine

I'd like to use a subdomain and have it work as described in the documentation.

Actual results

ngrok failed to start tunnely

image image

Project you experience issues with

yoteams-build-core

generator version

4.1.0

build tools version

1.8.0

nodejs version

18.18.0

npm version

9.8.1

Operating system (environment)

Windows

Additional Info

I just signed up new account on ngrok today, maybe its a region problem.

stephanbisser commented 1 year ago

Hi @tom-daly thanks for reporting this, we will investigate. In the meantime you could do is to start your own instance of ngrok with your subdomain accordingly and update the .env file to point to your ngrok domain and then use gulp serve without the ngrok part. This should also work to have your ngrok endpoint in use

Ruryk commented 4 months ago

@stephanbisser Hi, has this issue been resolved in the new versions or will it be resolved soon? Maybe I'm doing something wrong, but using the gulp server without the ngrok part doesn't work to use our ngrok endpoint and run the application