ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

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

Open PeterBocan opened this issue 8 years ago • 23 comments

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!

PeterBocan avatar Sep 12 '17 13:09 PeterBocan

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

cristiandan avatar Sep 19 '17 13:09 cristiandan

@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.

PeterBocan avatar Sep 19 '17 16:09 PeterBocan

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

cristiandan avatar Sep 19 '17 16:09 cristiandan

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:

  • Most Recent Thread with FB ruling out the Error code from FB Side - https://developers.facebook.com/bugs/311158926025028/

  • Original Thread with issue still pending - https://developers.facebook.com/bugs/824028317765435/

rmartin avatar Jan 17 '18 01:01 rmartin

@rmartin I can.

PeterBocan avatar Jan 17 '18 06:01 PeterBocan

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

skwiryt avatar Feb 20 '18 15:02 skwiryt

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

PeterBocan avatar Feb 21 '18 09:02 PeterBocan

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

stefanpl avatar Sep 12 '18 02:09 stefanpl

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

pomartel avatar Sep 12 '18 12:09 pomartel

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

brunoaugusto avatar Oct 02 '18 13:10 brunoaugusto

@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.

phbernard avatar Nov 15 '18 16:11 phbernard

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

pomartel avatar Nov 15 '18 16:11 pomartel

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

phbernard avatar Nov 15 '18 16:11 phbernard

This issue still persists, have you guys solved it?

chaoticgood1 avatar May 17 '19 09:05 chaoticgood1

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

PeterBocan avatar May 17 '19 10:05 PeterBocan

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

chaoticgood1 avatar May 20 '19 08:05 chaoticgood1

ouch =_=. Hello from 2020

Buying a custom domain on ngrok works

LeHoangLong avatar Jun 03 '20 16:06 LeHoangLong

@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?

dyelax avatar Jun 23 '20 21:06 dyelax

Custom domain is not the same as a custom subdomain.

pomartel avatar Jun 23 '20 21:06 pomartel

@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

LeHoangLong avatar Jun 24 '20 15:06 LeHoangLong

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

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

sweves avatar Dec 16 '20 22:12 sweves

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(?)

lupus-magnus avatar Oct 07 '21 22:10 lupus-magnus

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.

russorat avatar May 09 '24 18:05 russorat