• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Creating a tunnel with Cloudflare.

Q&A Forum › Creating a tunnel with Cloudflare.
0 Vote Up Vote Down
Gaétan Bourgeois asked 2 months ago
10 Answers
0 Vote Up Vote Down
Gaétan Bourgeois answered 2 months ago

Hi Sara, I have obtained a domain from GoDaddy which is active now. I followed the procedure in the unit 9.1 from the Smart_home_Raspberry_PI_ESP32… to create a tunnel through Cloudflare but I keep having this message:
Error: An A, AAAA, or CNAME record with that host already exists. For more details, refer to <https://developers.cloudflare.com/dns/manage-dns-records/troubleshooting/records-with-same-name/&gt;.
Do you have any idea what went wrong?
Thanks in advance

0 Vote Up Vote Down
Sara Santos Staff answered 2 months ago

Hi.
Did you remove the nameservers on Godaddy as shown on the printscreen on page 190? You need to actually go to your Godaddy account and remove the nameservers, so that you can insert them on Cloudflare.
Can you tell me your domain name? I will be able to see if the nameservers are removed from Godaddy.
Regards,
Sara

0 Vote Up Vote Down
Gaétan Bourgeois answered 2 months ago

My Domain name is gabode.ca
The old nameserver were:
ns37.domaincontrol.com
ns38.domaincontrol.com
Thanks for your support.
GB

0 Vote Up Vote Down
Rui Santos Staff answered 2 months ago

The domain name servers are properly set to cloudflare already. In which exact step do you get that error message?
“Error: An A, AAAA, or CNAME record with that host already exists”
In which page of the Smart Home eBook?

0 Vote Up Vote Down
Gaétan Bourgeois answered 2 months ago

When i type in : “https://nodered.gabode.ca&#8221; in my browser,
here is what I get:

_______________________________________________________

Error 1033
Ray ID: 78eaa7698a9d0e8e • 2023-01-24 17:57:52 UTC
Argo Tunnel error

What happened?
You’ve requested a page on a website (nodered.gabode.ca) that is on the Cloudflare network. The host (nodered.gabode.ca) is configured as an Argo Tunnel, and Cloudflare is currently unable to resolve it.

What can I do?
If you are a visitor of this website:
Please try again in a few minutes.
If you are the owner of this website:
Ensure that cloudflared is running and can reach the network. You may wish to enable load balancing for your tunnel.

________________________________________________________

Do I miss something?
I did not install InfluxDB.  I’m interested to read NODERED only.
First attempt was with the wrong nameservers. (page 390)
Afterward, I manage to get valid nameservers.
I wanted to reset it with the right nameservers but it looks like I could not fix it. I get the error when I want to create a tunnel.
The tunnel status I have is “healthy”…
Thanks

0 Vote Up Vote Down
Rui Santos Staff answered 2 months ago

What happened in your Raspberry Pi when you ran the required command to have Cloudflare running?
Please take a look at page 426. Did you run the “connector” command as explained by Cloudflare?
Thanks!

0 Vote Up Vote Down
Gaétan Bourgeois answered 2 months ago

I think that there is a confusion here. I’m at unit 9 to create a tunnel. I’m not setting up the cloud…
My understanding is I can reach my Domain securely from anywhere with a tunnel from Cloudflare…  
I followed the steps from the book Unit 9. The first attempt I did not enter the right nameserver. I changed it and retry. Everything looked fine but when I type in “https://nodered.gabode.ca&#8221; in my browser I have the following message:
_______________________________________________________
Error 1033
Ray ID: 78eaa7698a9d0e8e • 2023-01-24 17:57:52 UTC
Argo Tunnel error
What happened?
You’ve requested a page on a website (nodered.gabode.ca) that is on the Cloudflare network. The host (nodered.gabode.ca) is configured as an Argo Tunnel, and Cloudflare is currently unable to resolve it.
What can I do?
If you are a visitor of this website:
Please try again in a few minutes.
If you are the owner of this website:
Ensure that cloudflared is running and can reach the network. You may wish to enable load balancing for your tunnel.
________________________________________________________
Thanks for your support

0 Vote Up Vote Down
Rui Santos Staff answered 2 months ago

I see, but your nameservers are now properly configured.

  • I was at the wrong section, I was trying to say did you run the command presented on page 393 to install the connector? Did it install properly?
  • Is Node-RED running in your RPi ip address on port :1880?
  • Like page 395, what do you see in your tunnes? does it say active?
0 Vote Up Vote Down
Gaétan Bourgeois answered 2 months ago
  • I was at the wrong section, I was trying to say did you run the command presented on page 393 to install the connector?   

         Yes, I did run the command. 

  • Did it install properly?

          At the first attempt I had the message: “Linux service for cloudflared installed successfully”
         When I realized that I had the wrong nameserver I uninstalled cloudflared, thinking it was the proper way to switch to the right nameserver. Ever since then I experience all kind of problems. It is like it does not want me to change the nameserver associated with gabode.ca 
I do not want to create another domain…

  • Is Node-RED running in your RPi ip address on port :1880?

         Yes, It does run perfectly well on my browser (Google Chrome).

  • Like page 395, what do you see in your tunnel? does it say active?

           The tunnel status I have is “healthy”.

0 Vote Up Vote Down
Rui Santos Staff answered 2 months ago

Hallo again! Sorry for these issues, can you please email me at:

  • support@randomnerdtutorials.com

I think I’ll need to login if you allow me in your Cloudflare account to see what might be missing, because I honestly don’t know what can me missing as it looks you are doing everything right. Maybe when you tried to re-install the Cloudflare it didn’t work correctly. Can you send me you email + password for cloudflare via email?
Thanks!

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.