GithubHelp home page GithubHelp logo

Comments (4)

Alberto-SM avatar Alberto-SM commented on September 26, 2024 1

The fix solved the issue.
Thanks a lot!

from stm32ai-modelzoo.

YHAMSTM avatar YHAMSTM commented on September 26, 2024

Hello @Alberto-SM,
I am not able to reproduce this issue on my side.
First, are you able to login through STM32Cube.AI Developer Cloud ?
If yes, can you please ensure you've correctly set the following, if you are working behind a corporate proxy:
(ex: in a shell terminal)

export HTTP_PROXY="your-proxy" # example: http://username:password@addr:port if it requires authentication
export HTTPS_PROXY="your-proxy" # example: http://username:password@addr:port if it requires authentication
export http_proxy="your-proxy" # example: http://username:password@addr:port if it requires authentication
export https_proxy="your-proxy" # example: http://username:password@addr:port if it requires authentication
export NO_SSL_VERIFY="1"

To be sure if your internet configuration is correct, you can verify if curl requests respond with a Status 200:

curl -I https://stm32ai-cs.st.com

If not, can you please share a screenshot/log with the error you encounter (without sensitive informtions)

Best regards,
Yanis

from stm32ai-modelzoo.

Alberto-SM avatar Alberto-SM commented on September 26, 2024

Hello,
Thanks for your help.

I can login through the web application.
The curl command returns 200 OK.

I don't have a specific error or log screen. I am using the tools in common/stm32ai. My code is practically one line:

ai = Stm32Ai(CloudBackend(username, password))

This call never returns as the login method of the LoginService does not have a timeout. It hangs here:

# Get connection initialization procedure
resp = s.get(
    url=provider + "/as/authorization.oauth2",
        params={
            "response_type": "code",
            "client_id": client_id,
            "scope": "openid",
            "redirect_uri": redirect_uri,
            "response_mode": "query"
        },
        allow_redirects=True,
     )

I'll keep investigating what is going on.

from stm32ai-modelzoo.

YHAMSTM avatar YHAMSTM commented on September 26, 2024

Hello Alberto,
We pushed a newer version of the model zoo which fixes an issue related to login.
Can you please retry with the latest version ?

Best regards,
Yanis

from stm32ai-modelzoo.

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.