titaniumnetwork-dev / Ultraviolet-App

Example application of Ultraviolet which can be deployed in production.
https://docs.titaniumnetwork.org/proxies/ultraviolet
MIT License
285 stars 4.41k forks source link

TypeError: failed to fetch #2 #6

Closed MotorTruck1221 closed 2 years ago

MotorTruck1221 commented 2 years ago

Issue tracker is ONLY used for reporting bugs. New features should be discussed on our Discord server.

I know this is an issue that has already been opened. This is more detailed, however

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

  1. Setup the newest version of Ultraviolet-Node
  2. Type in (or search) what ever you wish
  3. See a TypeError: failed to fetch

Context (Environment)

Possible Implementation

I don't know a possible fix however I hope this is detailed enough that it will help it get fixed sooner.

e9x commented 2 years ago

A cause of this error may be due to problems with the underlying Bare Server.

Here are steps to debug this problem:

Can you provide a screenshot of /bare/?

zdc54 commented 2 years ago

This also happens to me, not sure how to fix it. This wasn't doing this previously, and I hadn't updated the app at all.

MemeGiver commented 2 years ago

same issue here, however spamming the reload button partially fixes it with https://incog.dev/bare/v1/ responding with "MISSING_BARE_HEADER" nodejs v18 & npm 8

image

e9x commented 2 years ago

Ah. Not only are we using an external Bare server by default (this was a mistake...) but incog.dev's bare server has fallen. Every other request on my end goes through. This will be addressed shortly.

e9x commented 2 years ago

This should be fixed. Redeploy your instance.

MemeGiver commented 2 years ago

This should be fixed. Redeploy your instance.

still happening after cloning this repo with the latest commit incog.dev is also reporting the same error

image

e9x commented 2 years ago

This should be fixed. Redeploy your instance.

still happening after cloning this repo with the latest commit incog.dev is also reporting the same error

image

I just fixed several things to get this working. It should work now, try again.

MemeGiver commented 2 years ago

updated and issues are still present image

e9x commented 2 years ago

@MemeGiver Try clearing your site data. This will refresh the UV config.

MemeGiver commented 2 years ago

@MemeGiver Try clearing your site data. This will refresh the UV config.

working now, thanks a lot