caido / documentation

📙 User documentation for Caido
Creative Commons Attribution 4.0 International
25 stars 16 forks source link

api endpoint error. #31

Closed Xample33 closed 6 months ago

Xample33 commented 1 year 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 1 year 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.