• 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

Page not found on Firebase with ESP8266

Q&A Forum › Category: ESP8266 › Page not found on Firebase with ESP8266
0 Vote Up Vote Down
Luix Gaztañaga asked 3 years ago

Hi,
I am creating a Firebase Web App. I am at page 139. I tried the command  http://localhost:5000 , but instead  of appearing  ESP Firebase  App and a login button on the right hand side, a 404 page not found  window is shown. I can’t figure out why  an almost  empty page appears since my index.html  should show more elements. Any help would be appreciated.
Thanks in advance
Luix

Question Tags: Firebase WEb App with ESP8266
9 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
Did you try to hard refresh the web page?
Open the JavaScript console and check if you get any errors.
Regards,
Sara
 

0 Vote Up Vote Down
Luix Gaztañaga answered 3 years ago

Hi,
I don’t know what you mean with hard refresh and what the JavaScript console is.. If I double click on index.html and  the file is displayed as it should, but I can’t figure out why 404.html is displayed rather than index.html since they are in the same place.
Regards,
Luix

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hard refresh the web page: https://www.documate.org/resources/what-is-a-hard-refresh-how-to-do-a-hard-refresh-in-any-browser
To open Javascript console: CTRL+SHIFT+J

0 Vote Up Vote Down
Luix Gaztañaga answered 3 years ago

Hi,
I tried hard  refreshing but it didn’t work. The JavaScript console didn’t give me a clue to progress. I am stuck. The links  are here.
Regards,
Luix

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Show me the sidebar of VS Code where you have the files.

0 Vote Up Vote Down
Luix Gaztañaga answered 3 years ago

Hi,
Here you are, the image. I tried deploying and it works fine, but locally  it doesn’t.
Regards,
Luix

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi again.
From that printscreen everything seems fine.
I have no idea why it is not working. 
What do you have in the firebase.json file and index.html files?

0 Vote Up Vote Down
Luix Gaztañaga answered 3 years ago

Hi,
The index.html file is yours with my credentials, here. The firebase.json file is here
Regards,
Luix

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi.
 
Everything seems fine.
I have no idea what might be causing the issue. 
 
I also find a similar discussion here, but I don’t think it will help much: https://stackoverflow.com/questions/38486069/firebase-not-running-index-html-file
 
I think the best way is to try to start from the beginning. Can you try starting a  new Firebase project on VS Code from scratch? Maybe it was something during the project initialization….
 
Regards,
Sara

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

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

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

Copyright © 2013-2025 · 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.