caido / documentation

📙 Caido documentation
Creative Commons Attribution 4.0 International
20 stars 11 forks source link

api endpoint error. #31

Closed Xample33 closed 3 weeks ago

Xample33 commented 9 months ago

WIth sudo docker run --rm -p 7000:8080 caido/caido:latest

I'm getting

Error: Could not initialize configuration
Caused by:
    0: Authentication service error
    1: Cloud operation failed
    2: Cloud unavailable
    3: error sending request for url (https://api.caido.io/oauth2/register): error trying to connect: tcp connect error: Connection refused (os error 111)
    4: error trying to connect: tcp connect error: Connection refused (os error 111)
    5: tcp connect error: Connection refused (os error 111)
    6: Connection refused (os error 111)

When i try to connect to https://api.caido.io/oauth2/register, the response is 404.

Sytten commented 9 months ago

Looks like docker doesnt have internet access? We can document the thing and probably add a retry.

It is a POST endpoint so the 404 is expected if you open that in a browser.