Skip to content

MissingSchema: Invalid URL '10.128.15.193/stable/connect': No scheme supplied #5041

@sentry

Description

@sentry

Observed behavior

The following error was observed attempting to load recommendations on Studio's unstable server.

Sentry Issue: STUDIO-HS7

MissingSchema: Invalid URL '10.128.15.193/stable/connect': No scheme supplied. Perhaps you meant https://10.128.15.193/stable/connect?
(1 additional frame(s) were not displayed)
...
  File "automation/utils/appnexus/base.py", line 112, in _make_request
    response = self.session.request(
  File "automation/utils/appnexus/base.py", line 30, in request
    return super().request(*args, **kwargs)

Invalid URL '10.128.15.193/stable/connect': No scheme supplied. Perhaps you meant https://10.128.15.193/stable/connect?

Expected behavior

We should ensure that the recommendations API URL is properly formatted with a scheme, which should be http for this API only available within the local network.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions