I’m trying to normal setup Openflow and i get this Feedback (Self-referential requests to proxy are forbidden) when i open up localhost.openiap.io.
I followed the described route on Getting started | normal verion, changed the port to 443 and also considered the tips on When behind a proxy server.
I study business intelligence and would consider myself inexperienced, but eager to learn.
So i might made some mistakes that were already explained ^^
How did i manage to break it
and how can i fix it?
Sounds like you have something else using port 80 . You need to stop the webserver that is using port 80 and then restart treafik.
You’re right. I have something running on port 80. I thought i could use port 443 for treafik.
yes and no … if you can expose both port 80 and 443 on the internet, and have created the two dns records mentioned on the docker page, and they are pointing to the public ip, you can use lets encrypt with HTTP01 challenges
but this require both port 80 and 443
If you are hosting dns at google, aws or one of the other supported dns providers then you use lets encrypt with DNS01 challanges
In that case you do not need to expose it on the internet, and you can use only port 443 if want to.
Sounds like none of your solutions work for me and a university pc.
I nether have access to the dns, nor can i stop the webserver.
If you don’t have any suggestions, when I’m not the admin of the infrastructure, then my openflow jurney will end here for now i guess.
I’ll probable find a use case i can try on my home pc ^^
Sorry, I have not tested running the docker compose files with custom ports.
I’m sure it can be done, with a lot of trail and error, but is not high on my priority list right now.
You can also run a developer setup.
You need mongodb and rabbitmq running somewhere ( could be in docker or installed locally ). There is a docker-compose file in the repo to start rabbitmq up on docker, you can uncomment the mongodo part if you want to run both in docker ( test if you need network_mode: “host” or not )
This will by default use port 80, but you can change it to what ever you want in the .env file.
I do not recommend this, but an alternative could also be the below
If you can installs software on your pc, you can also try installing without docker
Before 1.5 this was supported, it’s no longer supported but should still work ( main reason, is people seem to not understand why you cannot start new agents/nodered this way, so I have stopped supporting this. This will install version 1.4.x and not 1.5 )
First you install all prerequests and then setup openflow deploy openflow using NPM | openflow
You can then change the port to what ever you want
Then you can install one or more nodered instances after updating the nodered env file to use the correct port https://openflow.openiap.io/npmnodered.old.md
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.