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

Problem: ngrok not connecting #135

Closed
power-f-GOD opened this issue Sep 8, 2023 · 19 comments · Fixed by #138
Closed

Problem: ngrok not connecting #135

power-f-GOD opened this issue Sep 8, 2023 · 19 comments · Fixed by #138
Assignees
Labels

Comments

@power-f-GOD
Copy link
Contributor

power-f-GOD commented Sep 8, 2023

After running pm dev and then pm proxy (in another terminal), the app fails to load/display.

Screenshot 2023-09-08 at 5 49 02 AM

TA: 1hr

@power-f-GOD
Copy link
Contributor Author

@georgeciubotaru , this is currently blocking me from proceeding with #128

@georgeciubotaru
Copy link
Contributor

@power-f-GOD I think because the ngrok listen for port :3000 but your app is not 5173 no?

@power-f-GOD
Copy link
Contributor Author

Fixed that initially (few days ago) in the script.

Currently ngrok:

Forwarding                    https://alert-seemingly-moccasin.ngrok-free.app -> http://localhost:3000

Localhost:

VITE v4.4.8  ready in 909 ms

  ➜  Local:   http://127.0.0.1:3000/

So, doesn't seem to be the case.

@georgeciubotaru
Copy link
Contributor

@power-f-GOD Try one more time

@power-f-GOD
Copy link
Contributor Author

Not working still.💔 Restarting my PC...

@power-f-GOD
Copy link
Contributor Author

Not working still.💔 Restarting my PC...

Ok. Still the same.😕

@power-f-GOD
Copy link
Contributor Author

Troubleshooting...⏳

@power-f-GOD
Copy link
Contributor Author

Trying this out: expo/expo#20894 (comment)

@power-f-GOD
Copy link
Contributor Author

Trying this out: expo/expo#20894 (comment)

Didn't work either.💔

Continuing troubleshooting...⏳

@georgeciubotaru
Copy link
Contributor

@power-f-GOD Let's have a call to clarify the issue

@power-f-GOD
Copy link
Contributor Author

power-f-GOD commented Sep 8, 2023

@power-f-GOD Let's have a call to clarify the issue

Ok.

But first, @georgeciubotaru , can you try accessing https://dashboard.ngrok.com , and tell me what you see?

For me it's the same message: ...took too long to respond.

@power-f-GOD
Copy link
Contributor Author

power-f-GOD commented Sep 8, 2023

So, it seems like it's from ngrok?

Screenshot 2023-09-08 at 1 37 44 PM

@georgeciubotaru
Copy link
Contributor

@power-f-GOD ngrok is blocked by your provider?

@georgeciubotaru
Copy link
Contributor

@power-f-GOD Please switch to https://telebit.cloud/

@power-f-GOD
Copy link
Contributor Author

@georgeciubotaru , (using https://telebit.cloud) stuff redirected to this (from localhost): https://invoice.holdex.io/prs#bad-verification-code%22}}} . Have any idea why?

@georgeciubotaru
Copy link
Contributor

@power-f-GOD Try to explicitly send redirectURI in the request. $lib/config. Replace ngrok URL with your own telebit

@power-f-GOD
Copy link
Contributor Author

power-f-GOD commented Sep 11, 2023

@georgeciubotaru , (using https://telebit.cloud) stuff redirected to this (from localhost): https://invoice.holdex.io/prs#bad-verification-code%22}}} . Have any idea why?

Sorry. My bad. I used the wrong URL (path) in the config.

@power-f-GOD
Copy link
Contributor Author

power-f-GOD commented Sep 11, 2023

Now Chrome says URL is unsafe🥲:

https://curvy-hound-39.telebit.io/api/github/auth/authorize?code=8baa2dfb441429fd9730&state=7fop8ieg1rs

And when I proceed (Unsafe), I get:

Screenshot 2023-09-11 at 8 33 23 AM

Thought probably because it wasn't connected/started, so I tried in the command line, and I get:

Screenshot 2023-09-11 at 8 39 25 AM

Strangely, I inspected the directory and telebit resides there.

Troubleshooting...⏳

@power-f-GOD
Copy link
Contributor Author

[Log] Restarted PC, issue fixed. ✅

PS. Stuff still shows as insecure, not sure why.

@power-f-GOD power-f-GOD linked a pull request Sep 11, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants