Unable to sign without access token with all api's- Authorization failed - please check your credentials - Bad request - please check your parameters - Unable to sign without access token - Unable to sign without access token (item 0)

instance information

Debug info

core

  • n8nVersion: 1.79.3
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.18.2
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: community
  • consumerId: unknown

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (x11; ubuntu; linux x86_64; rv:135.0) gecko/20100101 firefox/135.0
  • isTouchDevice: false

Generated at: 2025-02-23T20:13:18.727Z

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

We’re gonna need a little more info, can you maybe share the workflow?

no its a free self hosted version there’s no way im paying for this as ive spent a week to get it installed properly and somewhat working … i did make a .sh script to make installation on ubuntu kubuntu 22.04 and 20.04 here : #!/bin/bash

Update and upgrade system

echo “Updating system…”
sudo apt update && sudo apt upgrade -y

Install essential packages

echo “Installing essential packages…”
sudo apt install -y curl wget unzip git vim build-essential

Install Python 3 and pip

echo “Installing Python 3 and pip…”
sudo apt install -y python3 python3-pip python3-dev

Confirm Python and pip installation

echo “Confirming Python and pip versions…”
python3 --version
pip3 --version

Install Ollama

echo “Installing Ollama…”
curl -fsSL https://ollama.com/install.sh | sh

Install Docker dependencies

echo “Installing Docker dependencies…”
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common

Add Docker’s official GPG key

echo “Adding Docker’s official GPG key…”
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

Set up the stable Docker repository

echo “Setting up Docker repository…”
echo “deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] Index of linux/ubuntu/ $(lsb_release -cs) stable” | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

Install Docker Engine and Docker Compose

echo “Installing Docker Engine and Docker Compose…”
sudo apt update
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-compose

Install Docker Compose binary (if needed)

echo “Installing Docker Compose binary…”
sudo curl -L “https://github.com/docker/compose/releases/download/v2.32.4/docker-compose-$(uname -s)-$(uname -m)” -o /usr/local/bin/docker-compose

Make Docker Compose executable

echo “Making Docker Compose executable…”
sudo chmod +x /usr/local/bin/docker-compose

Verify Docker Compose version

echo “Verifying Docker Compose version…”
docker-compose --version

Install Nvidia Docker dependencies

echo “Installing Nvidia Docker dependencies…”
sudo apt-get install -y nvidia-docker2

Clone the Self-Hosted AI Starter Kit repository

echo “Cloning the Self-Hosted AI Starter Kit repository…”
git clone GitHub - n8n-io/self-hosted-ai-starter-kit: The Self-hosted AI Starter Kit is an open-source template that quickly sets up a local AI environment. Curated by n8n, it provides essential tools for creating secure, self-hosted AI workflows. · GitHub
cd self-hosted-ai-starter-kit

Install Nvidia Container Toolkit

echo “Installing Nvidia Container Toolkit…”
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg
curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list
| sed ‘s#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g’
| sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

sudo apt-get update

Install Nvidia Container Toolkit

echo “Installing Nvidia Container Toolkit…”
sudo apt-get install -y nvidia-container-toolkit

Configure Nvidia runtime for Docker

echo “Configuring Nvidia runtime for Docker…”
sudo nvidia-ctk runtime configure --runtime=docker

Restart Docker service

echo “Restarting Docker service…”
sudo systemctl restart docker

Edit Docker Compose file for Nvidia GPU users

echo “Editing Docker Compose file for Nvidia GPU…”
sed -i ‘s/11435:11434/11435:11434/’ docker-compose.yml

Start the Docker Compose services for GPU

echo “Starting Docker Compose services for GPU…”
sudo docker compose --profile gpu-nvidia up

Open browser and go to localhost:5678 (For your reference, not automatic)

echo “Access your service on localhost:5678”

Stop Docker Compose services when done

echo “To stop Docker Compose services, run:”
echo “sudo docker compose down -v”

Optionally, add more Ollama models by editing the Docker Compose file

echo “To add more Ollama models, edit the Docker Compose file and add pull commands.”
echo “For example, use: ollama pull llama3.2; ollama pull mistral; ollama pull model-name”

Restart Docker service again for good measure

echo “Restarting Docker service again…”
sudo systemctl restart docker

Run Docker Compose again to load new models

echo “Running Docker Compose again to load new models…”
sudo docker compose up
and i made an uninstall script as well : #!/bin/bash

Uninstall Docker Compose

echo “Removing Docker Compose…”
sudo rm -f /usr/local/bin/docker-compose

Uninstall Docker Engine and Docker Compose dependencies

echo “Removing Docker Engine and dependencies…”
sudo apt-get purge -y docker-ce docker-ce-cli containerd.io

Remove Docker-related files

echo “Cleaning up Docker files…”
sudo rm -rf /var/lib/docker
sudo rm -rf /var/lib/containerd

Remove Docker repository and GPG key

echo “Removing Docker repository and GPG key…”
sudo rm /etc/apt/sources.list.d/docker.list
sudo rm /usr/share/keyrings/docker-archive-keyring.gpg

Remove Nvidia Docker and dependencies

echo “Removing Nvidia Docker and dependencies…”
sudo apt-get purge -y nvidia-docker2 nvidia-container-toolkit
sudo rm -rf /etc/apt/sources.list.d/nvidia-container-toolkit.list
sudo rm /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg

Remove Nvidia Docker runtime configuration

echo “Removing Nvidia Docker runtime configuration…”
sudo nvidia-ctk runtime reset

Remove Ollama installation

echo “Removing Ollama…”
rm -rf ~/.ollama

Remove Python 3 and related packages

echo “Removing Python 3 and related packages…”
sudo apt-get purge -y python3 python3-pip python3-dev

Remove essential packages

echo “Removing essential packages…”
sudo apt-get purge -y curl wget unzip git vim build-essential

Clean up apt cache

echo “Cleaning up apt cache…”
sudo apt-get autoremove -y
sudo apt-get clean

Remove self-hosted AI Starter Kit repository

echo “Removing Self-hosted AI Starter Kit repository…”
cd ..
rm -rf self-hosted-ai-starter-kit

Final clean up

echo “Performing final clean up…”
sudo apt-get autoremove -y
sudo apt-get clean

Display completion message

echo “Uninstallation completed!”

Hey @john1 could you please tell in which node this error occur or open this node and make a screenshot.

its all the apis ,i.e twitter Facebook


google reddit ,ect. all of them i think it some kind of network issue im running n8n in docker and or its something within n8n none of the api modules work

Do you have domain connected to it. How you access you instance?

do you meam a domain connected to run the workflow ? im running this locally and and testing if it will send data to my social media as of right now ive tried alot to get it to do that, but nothing , do i need to run some kind of ( other ) server instance to get it to send data ?

Public Accessibility: OAuth2 providers need to communicate with your n8n instance during authentication. If your instance is hosted locally (e.g., on localhost or behind a firewall), the provider cannot reach it, leading to authentication failures.

yea i tried it without the firewall running and i still get the same results

HTTPS Requirement: Many OAuth2 providers mandate the use of HTTPS for security reasons. For instance, Google only accepts redirect URIs that begin with https://. Therefore, your n8n instance must be configured with a valid SSL certificate.

so in the twitter module for example redirect to
: http://localhost:5678/rest/oauth2-credential/callback redirect to: https://localhost:5678/rest/oauth2-credential/callback .. but it wont allow me to change it in the gui tho to try it ,only copy on click ?

Your redirect link should be not https://**localhost**:5678/rest/oauth2-credential/callback
You should change localhost to domain name which belong to you you can use for example duckdns.org service for that reason.
So your redirect link would be https://yourname.duckdns.org/rest/oauth2-credential/callback
Here is Youtube guide DuckDNS for docker

That suggestion would probably break the ollama a.i im running locally that was a pain to get working tho ,l i got twitter X working a few times now its broke again but it seems to be connecting then i have to go in and manually reconnect it , facebook stile doesnt work its pretty much probably the facebook dicks and google doesnt work but its connected . ive spent all day again trying to get this shit to work i could have paosted 50 webpages forged by hand in that time and all i got was a cople test tweets , seems unproductive to me and i don t care what anyone says this shit is not going to replace humans , without humans who’s going to babysit the jank software to make it work anyways

i made a script to install free dns to run locally :
#!/bin/bash

Set variables

DOCKER_IMAGE_NAME=“my-dns-server”
DOCKER_CONTAINER_NAME=“dns-server”
ZONE_FILE=“db.example.com

Install required packages

echo “Updating system and installing Docker…”
sudo apt update && sudo apt install -y docker.io

Check if Docker is installed

if ! command -v docker &> /dev/null; then
echo “Docker installation failed. Exiting.”
exit 1
fi

Create a directory for the DNS server setup

echo “Creating directory for DNS server setup…”
mkdir -p ./my-dns-server
cd ./my-dns-server

Create Dockerfile

echo “Creating Dockerfile…”
cat > Dockerfile <<EOL

Use the official Ubuntu image as the base image

FROM ubuntu:latest

Install necessary packages (including bind9 for DNS server)

RUN apt update && apt install -y bind9

Copy your BIND configuration files into the container

COPY named.conf /etc/bind/
COPY named.conf.local /etc/bind/

Expose port 53 for DNS traffic (both UDP and TCP)

EXPOSE 53/udp
EXPOSE 53/tcp

Start BIND9 in the foreground using your custom configuration

CMD [“named”, “-f”, “/etc/bind/named.conf”]
EOL

Create named.conf

echo “Creating named.conf…”
cat > named.conf <<EOL
options {
directory “/var/cache/bind”;

// Allow queries from any IP (you may want to restrict this in a real environment)
allow-query { any; };

// Specify the location of your log files
logging {
    channel default_file {
        file "/var/log/named.log" versions 3 size 5m;
        severity info;
        print-time yes;
        print-severity yes;
        print-category yes;
    };
    category default { default_file; };
};

// Allow recursive queries from localhost
allow-recursion { localhost; };

};

// Load additional configurations
include “/etc/bind/named.conf.local”;
EOL

Create named.conf.local

echo “Creating named.conf.local…”
cat > named.conf.local <<EOL
zone “example.com” {
type master;
file “/etc/bind/db.example.com”; # You’ll need to create this file as well
};
EOL

Create db.example.com (zone file)

echo “Creating db.example.com…”
cat > $ZONE_FILE <<EOL
$TTL 86400
@ IN SOA ns1.example.com. admin.example.com. (
2025022401 ; Serial
3600 ; Refresh
1800 ; Retry
1209600 ; Expire
86400 ) ; Minimum TTL

    IN      NS      ns1.example.com.

ns1 IN A 192.168.1.1
@ IN A 192.168.1.1
EOL

Build the Docker image

echo “Building Docker image…”
sudo docker build -t $DOCKER_IMAGE_NAME .

Run the Docker container

echo “Running Docker container…”
sudo docker run -d -p 53:53/udp -p 53:53/tcp --name $DOCKER_CONTAINER_NAME $DOCKER_IMAGE_NAME

Confirm that the container is running

echo “Checking if the container is running…”
sudo docker ps

Final message

echo “DNS server setup complete! You can now query the server using ‘dig @localhost example.com’.”

Do your credentials work now?

no they do work but it wont post anything on linked in google twitter and facebook ect they all say im logging in but no posts are being allowed
??

i also made a .sh script to start and stop & restart the n8n service as well :
#!/bin/bash

Function to start the n8n service

start_n8n() {
echo “Starting n8n service…”
sudo docker start n8n
echo “n8n service started.”
}

Function to restart the n8n service

restart_n8n() {
echo “Restarting n8n service…”
sudo docker restart n8n
echo “n8n service restarted.”
}

Check if user wants to start or restart the service

if [ “$1” == “restart” ]; then
restart_n8n
else
start_n8n
fi

someone may find this helpfull as well