inconshreveable / ngrok

Unified ingress for developers
https://ngrok.com
Other
24.13k stars 4.27k forks source link

Facebook OpenGraph Crawler can not reach autogenerated links at ngrok.io #445

Closed PeterBocan closed 4 months ago

PeterBocan commented 7 years ago

Facebook OG Debugger/Crawler can not reach the http://xxxxxxx.ngrok.io, returns HTTP 503 and this response:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head>
<body><p>kErrorAddressPrivate</p></body>
</html>

Thanks!

cristiandan commented 6 years ago

I got the same problem, did you find a workaround? @PeterBocan

PeterBocan commented 6 years ago

@cristiandan I was emailing to @inconshreveable and he said that's the issue on Facebook's side, and Facebook Bug Report said it's not them.

I would put my money on Facebook's fault. I am thinking of doing some workaround, but no, nothing got resolved.

cristiandan commented 6 years ago

I see, thanks ! I found this one works: https://localtunnel.github.io/

rmartin commented 6 years ago

This issue is still pending. It appears that Facebook has ruled out the issue from their side. @PeterBocan is it possible to re-open this again? I was able to confirm that with an alternative tool (https://localtunnel.github.io/www/) that this works as expected.

Here are the threads that I found:

PeterBocan commented 6 years ago

@rmartin I can.

skwiryt commented 6 years ago

Hello, We are now a year older but the issue still seams to exist. At least I got it. Is there any solution?

PeterBocan commented 6 years ago

One simple solution: Don't use ngrok for now.

stefanpl commented 6 years ago

Switched to localtunnel after reading this, sharing debugger works hassle-free. Plus it has nice urls! Feels a tad bit slower than ngrok though.

pomartel commented 6 years ago

Ngrok on a custom domain did the trick for me! https://ngrok.com/docs#custom-domains

brunoaugusto commented 5 years ago

Too bad Custom Domains is a paid feature, barring the vast majority of developers from even testing

phbernard commented 5 years ago

@pomartel Custom domain didn't work for me, neither with the (default) US region nor EU region. Would you consider giving this "fix" another try? Your advice might lead people to subscribing to a paid service for nothing.

pomartel commented 5 years ago

Well I'm using ngrok on a custom domain every day and it works great! It works with Facebook crawler too. Just take a look at it here:

https://developers.facebook.com/tools/debug/sharing/?q=https%3A%2F%2Fdev.app.ps%2Ftest-poll

phbernard commented 5 years ago

Oh... custom domains and not custom subdomains (which I'm using). Silly me. Thank you for double-checking and sorry for the interruption.

chaoticgood1 commented 5 years ago

This issue still persists, have you guys solved it?

PeterBocan commented 5 years ago

No. By the list of ngrok open issues I see, I judge that no one really cares about this project whatsoever.

chaoticgood1 commented 5 years ago

That's a bummer, @PeterBocan did you find an alternative solution? Localtunnel has issues that I can't solve.

umbrella-yaroslav-graboveckiy commented 4 years ago

ouch =_=. Hello from 2020

LeHoangLong commented 4 years ago

Buying a custom domain on ngrok works

dyelax commented 4 years ago

@LeHoangLong I have a custom domain and it's still not working for me. I'm running ngrok http 3000 -subdomain=<my-subdomain>.

Did you have to do anything different?

pomartel commented 4 years ago

Custom domain is not the same as a custom subdomain.

LeHoangLong commented 4 years ago

@LeHoangLong I have a custom domain and it's still not working for me. I'm running ngrok http 3000 -subdomain=<my-subdomain>.

Did you have to do anything different?

You have to be a pro user and purchase a domain name for this. Note that it does not work if you are planning to have your app reviewed by Facebook. For some reason, the reviewer weren't able to access my website even though others can. So i ended up have to use a gcloud vm instance. But for development a custom domain (not subdomain) is sufficient

sweves commented 3 years ago

hello from 2020 - localtunnel's back up domain works for this. Just run:

lt -h "https://serverless.social" -p PORT

lupus-magnus commented 2 years ago

Hello from 2021! Any news from this? I was just trying to check my OpenGraph and Facebook doesn't allow the domains generated by localtunnel anymore. This code right here lt -h "https://serverless.social" -p PORT does not return me anything on the terminal. Help(?)

russorat commented 4 months ago

Thank you for opening this issue! As of April 2016, the ngrok service has permanently moved to https://ngrok.com/. To join the community and file bug reports or feature enhancements for the ngrok agent, please go to https://github.com/ngrok/ngrok.

This repository is no longer actively maintained and will be archived soon to reduce confusion with the latest ngrok versions. We thank you for the continued support of ngrok and look forward to seeing you over at ngrok.com and the ngrok Community Repo.