I have set up RStudio Connect to run on port 444 on an AWS EC2 instance. When I hit my rstudio connect adress, https://myaddress.com:444 I get redirected to the RStudio Connect frontpage. Thats great!
I can also press the "sign up" bottom and get redirected without any problems. Here I can create my user as normal.
However when I try to press login, I get "ERR_INVALID_REDIRECT". It was not a problem when I was running on port 443 (standard https). Anyone know what the problem might be?
Welcome to RStudio community! I suspect the problem is your Server.Address value in your /etc/rstudio-connect/rstudio-connect.gcfg file For example:
[Server]
Address = https://myaddress.com:444
There are certain parts of Connect that (for security and other reasons) depend on that value being the correct "front door" of your Connect server (where users go to interact with the root of the server).
For instance, we use that address to generate links in emails, etc.
I have already tried restarting and using private browsing window... its the same issue. Everything works when I remove port "444" (so everything runs on https 443), but when I move to 444 the login screen is not working
Do you have email set up on your server? Is it possible to send a test email to yourself (In the Admin screen/ Mail settings) to test that link generation, generally, is working correctly?
It sounds like this may be something worth escalating to our support engineers by reaching out to support@rstudio.com, that way we can give this more careful attention / it doesn't get lost! If you're able to send a diagnostic bundle along with your email and a link to this discussion, that would be great!!
No I have not set up an email. I will try to escalate it.
It should be mentioned that I have RStudio Server running on the same instance - and everything works when i change RStudio Server to run on port 444 (and Connect on port 443). Its a workaround of course and I would like to solve this issue.