Hi there!
I am trying to install Halcyon (on Ubuntu 18.04/nginx/php-7.2) and Halcyon itself seems to be working fine except that I can't login. After entering the username and authorising access to my Mastodon account, I get a page which shows the account I'm logged in as and this error
Hi there!
I am trying to install Halcyon (on Ubuntu 18.04/nginx/php-7.2) and Halcyon itself seems to be working fine except that I can't login. After entering the username and authorising access to my Mastodon account, I get a page which shows the account I'm logged in as and this error
`The redirect uri included is not valid.`
I followed the installation steps as described here https://www.halcyon.social/documentation.php?page=install
- Edited config.ini
- Set permissions for data dir
- Updated nginx.conf
Any ideas why this might be happening?
Thanks!
Yes,vHost config and config.ini would be helpful.
Additionally the link to your Halcyon instance would be useful.
Then I can try it out myself and maybe see where the wrong url is.
That should be easy to find and to fix.
Yes,vHost config and config.ini would be helpful.
Additionally the link to your Halcyon instance would be useful.
Then I can try it out myself and maybe see where the wrong url is.
That should be easy to find and to fix.
I can't give you the links though. Its not online yet. Just testing everything out on localhost.
And I haven't edited the config files. I am using the same server_names:
example.com for Mastodon
halcyon.example.com for Halcyon
Here's the links to the configuration files:
- Halcyon config (nginx vhost) (https://pastebin.com/reDJB6Mt)
- config.ini (https://pastebin.com/a9ekjGKE)
- Mastodon vhost (https://pastebin.com/ehYyDM8Z)
I can't give you the links though. Its not online yet. Just testing everything out on `localhost`.
And I haven't edited the config files. I am using the same `server_names`:
- example.com for Mastodon
- halcyon.example.com for Halcyon
The ending slash is missing in the url in your config.ini.
Maybe that causes the invalid redirect uri error.
The vHost configs look fine.
Please empty your data directory after editing the config file to prevent further errors.
The ending slash is missing in the url in your config.ini.
Maybe that causes the invalid redirect uri error.
The vHost configs look fine.
Please empty your data directory after editing the config file to prevent further errors.
Hi there! I am trying to install Halcyon (on Ubuntu 18.04/nginx/php-7.2) and Halcyon itself seems to be working fine except that I can't login. After entering the username and authorising access to my Mastodon account, I get a page which shows the account I'm logged in as and this error
The redirect uri included is not valid.
I followed the installation steps as described here https://www.halcyon.social/documentation.php?page=install
Any ideas why this might be happening? Thanks!
The www-data user has access to all Halcyon files?
chown -R www-data:www-data /var/www/halcyon.xxx.tldr
Yup, it does.
Can you put your vHost Configuration and config.ini from Halcyon in a Paste ? Then maybe we can narrow down your problem better.
Yes,vHost config and config.ini would be helpful. Additionally the link to your Halcyon instance would be useful. Then I can try it out myself and maybe see where the wrong url is. That should be easy to find and to fix.
Here's the links to the configuration files:
I can't give you the links though. Its not online yet. Just testing everything out on
localhost
.And I haven't edited the config files. I am using the same
server_names
:The ending slash is missing in the url in your config.ini. Maybe that causes the invalid redirect uri error. The vHost configs look fine. Please empty your data directory after editing the config file to prevent further errors.
@nipos its working now. Can't believe I missed that slash. Thanks a ton! I think this can be closed now.