Ticket: Localhost Server Connection Error with Fetch API

@Perrider Just created a ticket
Question: How can i solve that issue? The error: [Error] Could not connect to the server. [Error] Fetch API cannot load https://127.0.0.1/api/auth/oauth/GOOGLE due to access control checks. [Error] Failed to load resource: Could not connect to the server. (GOOGLE, line 0) [Error] Unhandled Promise Rejection: TypeError: Load failed (anonymous function) (page-f460d6c2c5d46418.js:1:4200)
Attempted: I have tried several things but getting error when triyng installing on localhost!
Working On: Trying to install it!
Using Postiz On: Docker-compose
Take it from here @Postiz
11 Replies
Perrider
Perrider3w ago
Some how chagpt managed to get it to work but every channel i try to login getting error this is now the docker-compose.yml would be great if someone can help me out with this matter!
Perrider
Perrider3w ago
And it looks like this now i see instead of google login github and gitroom logo something must have gone wrong!
No description
No description
No description
No description
No description
Perrider
Perrider3w ago
No description
Support
SupportOP3w ago
@Postiz please help @Perrider
xcons
xcons3w ago
Heya You are seeing this because you need to set IS_GENERAL: true
Perrider
Perrider3w ago
i added it but i still get errors when i want to add a channel doesn't matter wich it is error!:
Perrider
Perrider3w ago
No description
No description
Perrider
Perrider3w ago
and if i click X this comes:
No description
xcons
xcons3w ago
So IS_GENERAL is required to run Postiz self hosted, so that fixes one thing Did you set your client ID and Secret in your environment variables for X, Google and Facebook? You need to set those all up before adding a channel
xcons
xcons3w ago
Each of them are documented here; https://docs.postiz.com/providers
Postiz Documentation
Providers - Postiz Docs
Postiz - Open source social media scheduling tool
Perrider
Perrider3w ago
Oooh that is the issue I didn’t know I had to configure them that explains it!

Did you find this page helpful?