Giter Club home page Giter Club logo

Comments (5)

dqueruel-fy avatar dqueruel-fy commented on August 16, 2024 3

It finally works by doing these steps:

  1. Deleting every prefect python packages
  2. Deleting the .prefect folder
  3. Reinstalling prefect with pip3 install -U prefect --pre

note: I didn't used the --pre to install it earlier.

I now have the latest version of prefect

% prefect version  
Version:             3.0.0rc17
API version:         0.8.4
Python version:      3.11.5
Git commit:          a2572677
Built:               Wed, Aug 14, 2024 11:24 AM
OS/Arch:             darwin/arm64
Profile:             devtest
Server type:         server
Pydantic version:    2.8.2

And the dashboard is reachable!

from prefect.

desertaxle avatar desertaxle commented on August 16, 2024

Hey @dqueruel-fy!

If you want to get more logging from your local server, you can set PREFECT_LOGGING_SERVER_LEVEL to DEBUG either as an environment variable or in your Prefect profile with prefect config set PREFECT_LOGGING_SERVER_LEVEL=DEBUG. The output from that increased log level will hopefully give us more info about why you aren't able to access the UI of your local server.

from prefect.

dqueruel-fy avatar dqueruel-fy commented on August 16, 2024

Hey @dqueruel-fy !

If you want to get more logging from your local server, you can set PREFECT_LOGGING_SERVER_LEVEL to DEBUG either as an environment variable or in your Prefect profile with prefect config set PREFECT_LOGGING_SERVER_LEVEL=DEBUG. The output from that increased log level will hopefully give us more info about why you aren't able to access the UI of your local server.

Thanks @desertaxle for the quick answer !
I've tried it but I don't see any difference in the logs. I remember that, when it was working, I add more log/warnings after starting the local server, but now there is no logs at all.

 ~ % prefect config set PREFECT_LOGGING_SERVER_LEVEL=DEBUG
Set 'PREFECT_LOGGING_SERVER_LEVEL' to 'DEBUG'.
Updated profile 'dev'.
 ~ % prefect server start

 ___ ___ ___ ___ ___ ___ _____ 
| _ \ _ \ __| __| __/ __|_   _| 
|  _/   / _|| _|| _| (__  | |  
|_| |_|_\___|_| |___\___| |_|  

Configure Prefect to communicate with the server with:

    prefect config set PREFECT_API_URL=http://127.0.0.1:4200/api

View the API reference documentation at http://127.0.0.1:4200/docs

Check out the dashboard at http://127.0.0.1:4200

I've tested it on another port, but I get the same issue:

prefect server start --port 6000   

 ___ ___ ___ ___ ___ ___ _____ 
| _ \ _ \ __| __| __/ __|_   _| 
|  _/   / _|| _|| _| (__  | |  
|_| |_|_\___|_| |___\___| |_|  

Configure Prefect to communicate with the server with:

    prefect config set PREFECT_API_URL=http://127.0.0.1:6000/api

View the API reference documentation at http://127.0.0.1:6000/docs

Check out the dashboard at http://127.0.0.1:6000


from prefect.

dqueruel-fy avatar dqueruel-fy commented on August 16, 2024

This is finally due to the combination of prefect and prefect-ray. Without prefect-ray, prefect local server is working properly.

The current setup that is working for me for both prefect and prefect-ray is:

  • prefect version 3.0.0rc10
  • prefect-ray version prefect-ray-0.4.0rc2 (I haven't specified it in pip).

I haven't tried all rc though but the latest ones rc17, rc18 seems to have issues with prefect-ray from what I have tested.

from prefect.

desertaxle avatar desertaxle commented on August 16, 2024

Interesting! I can also reproduce with the most recent RC versions of prefect and prefect-ray. I suspect this has something to do with prefect-ray misbehaving when we load integrations.

from prefect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.