cheeaun / cheeaun/phanpy

Phanpy tries to access /api/v1/streaming without authentication

Open
#1,162 0 comments 0 reactions 0 assignees View on GitHub
bug need investigation
Dominant language
JavaScript
Stars
1.5k
Forks
186
Avg merge
1d 36m
Merged PRs (30d)
11

Description

### Site

phanpy.squirrel.rocks

### Version

2025.04.28.5849b4d

### Instance

boosts.squirrel.pictures

### Browser

Firefox 138.0.1

### Bug description

Phanpy tries to access the `/api/v1/streaming` endpoint without authorization (access token), which gets denied and leads to Errors in the Browsers' console.

Request to `/api/v1/streaming` missing authentication:
![Image](https://github.com/user-attachments/assets/82f243d8-88ff-4882-a851-e5d8b17e20fc)

Request to different endpoint with authentication present:
![Image](https://github.com/user-attachments/assets/7cb42fb0-5e17-4a35-95c7-60152ef2fb37)

### To reproduce

1. Open the Browser Developer Tools
2. Load Phanpy
3. Connection refused errors will show up

### Expected behavior

Phanpy sends an access token with its request to access `/api/v1/streaming`

### Other

This is very similar to #279 but with the addition of getting 401 Unauthorized.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.