Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's not working. #8

Open
dheroying opened this issue Oct 4, 2021 · 4 comments
Open

It's not working. #8

dheroying opened this issue Oct 4, 2021 · 4 comments

Comments

@dheroying
Copy link

I've followed the guide in the ReadMe file.
But it shows the error and not working.
I am not sure what is wrong.
screenshot_42

@IlizarragaEtan
Copy link

IlizarragaEtan commented Jun 13, 2023

I've the same problem, did you solve it?
I've this configuration

  • serverless.yml
custom:
  ngrokTunnel:
    ngrokOptions:
      - region: 'us'
      - authtoken: ${env:NGROK_AUTH_TOKEN}
    tunnels:
      - port: 3000
plugins:
  - serverless-offline
  - serverless-ngrok-tunnel
  - serverless-webpack
  - serverless-plugin-include-dependencies
  - serverless-dotenv-plugin
  - serverless-sentry
  • command to run
serverless offline start --host 0.0.0.0 --stage dev --prefix dev --tunnel=true
  • console
Serverless: Offline [HTTP] listening on http://0.0.0.0:3000
Serverless: Enter "rp" to replay the last request
Serverless: Tunnels error: ngrok is not yet ready to start tunnels. Trying to reconnect in 5 seconds...
Serverless: Tunnels error: ngrok is not yet ready to start tunnels. Trying to reconnect in 5 seconds...
Serverless: Unable to create tunnel: ngrok is not yet ready to start tunnels
Serverless: Closing tunnels...
Serverless: Closing tunnels...

@danieldegrassi
Copy link

I get the same error. Is this project dead?

@IlizarragaEtan
Copy link

I solved my problem, creating the folder .ngrok2 in the directory C:\Users\YourUser inside the folder .ngrok2 create the file ngrok.yml with the ngrok token.

ngrok.yml :

version: "2"
authtoken: yourNgrokToken

@danieldegrassi

@serraventura
Copy link

Everything was working few weeks ago. Now I'm getting a similar error.

sls tunnel    
Running "serverless" from node_modules
Starting tunnels...
Tunnels error: Cannot read properties of undefined (reading 'body'). Trying to reconnect in 5 seconds...
Tunnels error: Cannot read properties of undefined (reading 'body'). Trying to reconnect in 5 seconds...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants