Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi When I Run Task.Init(…) I Get The Following Error: 2022-07-03 18:43:29,022 - Clearml.Repository Detection - Warning - Failed Accessing The Jupyter Server: 403 Client Error: Forbidden For Url:

Hi
when i run Task.init(…)
i get the following error:
2022-07-03 18:43:29,022 - clearml.Repository Detection - WARNING - Failed accessing the jupyter server: 403 Client Error: Forbidden for url: http://localhost:8888/api/sessions

and in the script path:
SCRIPT PATH: error_notebook_not_found.py

I succeeded to run few times without getting this error before.
The problem is that without the notebook i can use this experiment for HPO.

  
  
Posted 2 years ago
Votes Newest

Answers 7


For some reason the code can't reach the Jupyter server

  
  
Posted 2 years ago

the code is running on a jupyter server, and it works. the only code that creates this error is the clearml line

  
  
Posted 2 years ago

MoodySheep3 can you share the script you're trying to run? Also, how do you run it? Locally?

  
  
Posted 2 years ago

Can you walk us through how you set up your jupyter instance? If we can recreate your error, we'll be able to help much faster. What's the command you're using to set it up, on which OS are you running it and so on 🙂 Also, have you checked your jupyter server is running on port 8888? Chances are something else is using 8888, so jupyter might be running on some other port like 8889 instead, so ClearML is trying to get a kernel from a completely different service.

  
  
Posted 2 years ago

Yes, i run it locally,
its even before i run my script, i run the cell:
task = Task.init(project_name="***2", task_name="***3")It happens only with .ipynb, if my experiment is in .py i don’t have this error.

  
  
Posted 2 years ago

yes

  
  
Posted 2 years ago

Just making sure, you're running the server locally and run the script on jupyter also locally, right?

  
  
Posted 2 years ago
1K Views
7 Answers
2 years ago
one year ago
Tags