Skip to content

Proxy Flutter Dart - Nexus #16

@robbyq92

Description

@robbyq92

Hello, I have a problem configuring the proxy on a Nexus.

I have successfully installed the dart/flutter plugin in the nexus repository

export PUB_HOSTED_URL=http://[nexus_url]/repository/[repository_name]/ export FLUTTER_STORAGE_BASE_URL=http://[nexus_url]/repository/[repository_name]/

I have a dockerfile that I add those variables
ENV PUB_HOSTED_URL=http://xxxx:8089/repository/flutter-registry-proxy ENV FLUTTER_STORAGE_BASE_URL=http://xxxx:8089/repository/flutter-registry-proxy

now when I go to see the log (it is on gitlabci a pipeline)
HTTP response 502 Bad Gateway for GET http://xxxxx:8089/repository/flutter-registry-proxy/api/packages/floor_generator | took 0:00:00.015168 | cache-control: no-cache, no-store, max-age=0, must-revalidate, post-check=0, pre-check=0 | content-length: 1543 | content-type: text/html | x-frame-options: DENY | pragma: no-cache | x-xss-protection: 1; mode=block | x-content-type-options: nosniff | content-security-policy: sandbox allow-forms allow-modals allow-popups allow-presentation allow-scripts allow-top-navigation | server: Nexus/3.58.1-02 (OSS)

but when I go to check the http://xxxxx:8089/repository/flutter-registry-proxy/api/packages/floor_generator I get the 502 error
imagen

but if i go to http://xxxxx:8089/repository/flutter-registry-proxy/api/packages/floor_generator**/**
i cant see the repository of nexus

imagen

it a bug? cand help @mat1e @cranst0n do you know what happend?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions