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

ERR_TOO_MANY_REDIRECTS #36

Closed
ObT1337 opened this issue Aug 3, 2023 · 4 comments
Closed

ERR_TOO_MANY_REDIRECTS #36

ObT1337 opened this issue Aug 3, 2023 · 4 comments

Comments

@ObT1337
Copy link

ObT1337 commented Aug 3, 2023

The first boot worked just fine.

When I restart the program I always geht the Error message:
"ERR_TOO_MANY_REDIRECTS", whenever I try to access the webpage.

I run it on a raspberry pi 3B+

@Bellisario
Copy link
Owner

Could you please try with the latest commit?

I'm not sure about the error you're facing, but that could be because of a bad index.html handling.
With the change I made, the / (homepage) is loaded directly by the browser, which will find index.html and load it itself. Before it could be handled both by browser and server (I think that could be the issue).

@ObT1337
Copy link
Author

ObT1337 commented Aug 3, 2023

It seems to work!

Thank you for your quick support 👍

Edit:

Sorry to say: It did not :(. I tried again after setup the automatically start after reboot of the system and now the error remains.
The Raspberry Pi is running OMV6 and I added the command
node /home/pi/node-snapdrop/index.js
to the planned jobs (-> run this command after rebooting)

Also, when I now start the server manually the same error occurs.
Any suggestion, how I can integrate it to my setup?

Edit 2:

Just checked, it seems to be necessary to navigate to the directory and then run:
node index.js

@Bellisario
Copy link
Owner

@ObT1337 so it works now?

@ObT1337
Copy link
Author

ObT1337 commented Aug 3, 2023

Yes it does. One has always to be in the directory node-snapdrop and then execute node index.js.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants