Debug-messages wifi:Association refused temporarily, comeback time 0 mSec

Pushsafer make it easy and safe to get push-notifications in real time on your Android or Windows mobile device, iPhone, iPad and Desktop!

Mit Pushsafer kann man in Echtzeit, einfach und sicher, Push-Benachrichtigungen auf sein iPhone, iPad, Android oder Windows Gerät sowie auf den Desktop senden lassen!

======================
Google Play
App Store
Windows Store
Homepage
StefanL38
Posts: 5
Joined: 9. Nov 2022, 20:58

Debug-messages wifi:Association refused temporarily, comeback time 0 mSec

Postby StefanL38 » 10. Nov 2022, 07:31

Hi everybody,

I tested the PushSafer-Arduino-Demo-code and got some debug-message that are very new to me

After uploading the first connecting to the WiFi was quickly successfull.
And the Pushnotification was sent.

Then I pressed Reset on my ESP32 nodeMCU-board to restart the software
then I got a bunch of these messages

Code: Select all

08:14:18.465 -> E (734) wifi:Association refused temporarily, comeback time 0 mSec
08:14:18.465 -> E (738) wifi:Association refused temporarily, comeback time 0 mSec
08:14:18.465 -> E (743) wifi:Association refused temporarily, comeback time 0 mSec
08:14:18.465 -> E (750) wifi:Association refused temporarily, comeback time 0 mSec
08:14:18.465 -> E (767) wifi:Association refused temporarily, comeback time 0 mSec
08:14:18.465 -> E (774) wifi:Association refused temporarily, comeback time 0 mSec
08:14:18.500 -> E (791) wifi:Association refused temporarily, comeback time 0 mSec
08:14:18.500 -> E (801) wifi:Association refused temporarily, comeback time 0 mSec
After some seconds the connection was established and the push-notification send
But I have never seen such messages in the serial monitor before
I guess these messages were printed because debugging is activated

What do the messages mean?

This is the code that I used

Code: Select all

#if defined(ESP32)
#include <WiFi.h>
char deviceType[] = "ESP32";
#else
#include <ESP8266WiFi.h>
char deviceType[] = "ESP8266";
#endif
/*#include <WiFiClientSecure.h>*/
#include <WiFiClient.h>
#include <Pushsafer.h>

// Initialize Wifi connection to the router

char ssid[] = "";     // your network SSID (name)
char password[] = ""; // your network key

// Pushsafer private or alias key
#define PushsaferKey ""

/*WiFiClientSecure client;*/
WiFiClient client;
Pushsafer pushsafer(PushsaferKey, client);

void setup() {
  Serial.begin(115200);
  Serial.println("Setup-Start");

  // Set WiFi to station mode and disconnect from an AP if it was Previously
  // connected
  WiFi.mode(WIFI_STA);
  WiFi.disconnect();
  delay(100);

  // Attempt to connect to Wifi network:
  Serial.print("Connecting Wifi: ");
  Serial.println(ssid);
  WiFi.begin(ssid, password);

  while (WiFi.status() != WL_CONNECTED) {
    Serial.print(".");
    delay(500);
  }

  Serial.println("");
  Serial.println("WiFi connected");
  Serial.print("IP address: ");
  Serial.println(WiFi.localIP());

  pushsafer.debug = true;

  // Take a look at the Pushsafer.com API at
  // https://www.pushsafer.com/en/pushapi
  
  struct PushSaferInput input;
  input.title = deviceType;//"Hello!";
  input.sound = "3";
  input.vibration = "3";
  input.icon = "20";
  input.iconcolor = "#FFCCCC";
  input.priority = "3";
  input.message = "vibrate input.answer = 1";
  input.device = "a";
  input.url = "https://www.pushsafer.com";
  input.urlTitle = "Open Pushsafer.com";
  input.picture = "";
  input.picture2 = "";
  input.picture3 = "";
  input.time2live = "";
  input.retry = "";
  input.expire = "";
  input.answer = "1";

  Serial.println(pushsafer.sendEvent(input));
  Serial.println("Sent");
  
  // client.stop();
}

void loop() {
}
best regards Stefan

User avatar
admin
Site Admin
Posts: 958
Joined: 1. Dec 2014, 12:41
Location: Germany

Re: Debug-messages wifi:Association refused temporarily, comeback time 0 mSec

Postby admin » 10. Nov 2022, 17:18

Hi,

the error messages do not come from the pushsafer but from the wifi modul.

Kevin
Pushsafer DE: Dir gefällt Service und Support! Dann freuen wir uns auf deine Bewertung!
Pushsafer EN: You like Service and Support! Then we look forward to your review!

Pushsafer.com Website - iOS - Android - Windows 10


Who is online

Users browsing this forum: No registered users and 2 guests