Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Authentication issue on slow connection

Aperta
#163 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
java

Direzione di ricerca

The payload names no source files. Start from the stack trace: AuthorizationFailureException wraps a FileNotFoundException raised while fetching the private-channel auth endpoint (/api/pusher-customer-auth/), and the leaked-connection warning suggests a response body is never closed. Reproduce by throttling the network or adding a delay in the auth request path, then find where the auth HTTP call and its response handling live. Done means a private subscription succeeds on a slow connection or fails with a clear, handled error, with a test covering the timeout or retry path.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
What is the issue?

I'm getting following issue most of the time when I am on 3G/4G connection. Sometimes it works, though.

It works perfectly when I'm on a fast wifi. The exception doesn't justify a slow connection.
The pusher gets connected immediately but subscribing to a private channel throws this error.

...

Is it a crash report? Submit stack traces or anything that you think would help
Pusher authentication failure while subscribing due to [java.io.FileNotFoundException: https://xyz.com/api/pusher-customer-auth/], exception was [com.pusher.client.AuthorizationFailureException: java.io.FileNotFoundException: https://xyz.com/api/pusher-customer-auth/]

A connection to https://xyz.com/ was leaked. Did you forget to close a response body?

CC @pusher/mobile

Lingua principale
Java
Stelle
315
Fork
140
Merge medio
11g 5h
PR unite (30g)
4

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pusher/pusher-websocket-java

Tutte le issue di pusher/pusher-websocket-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.