Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERRO 502: Bad Gateway #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

ERRO 502: Bad Gateway #1

wants to merge 2 commits into from

Conversation

rkpontes
Copy link

@rkpontes rkpontes commented Dec 13, 2021

[en-US]
In the app that I develop for a company in Brazil, error 502 of request to the server occurred.

Could not HEAD 'https://google.bintray.com/exoplayer/com/zendesk/chat/3.1.0/chat-3.1.0.pom'. Received status code 502 from server: Bad Gateway

The solution found was to update the resource versions used in build.gradle.

[pt-BR]
No app que desenvolvo para uma empresa no brazil, aconteceu o erro 502 de requisiçao ao servidor.

Could not HEAD 'https://google.bintray.com/exoplayer/com/zendesk/chat/3.1.0/chat-3.1.0.pom'. Received status code 502 from server: Bad Gateway

A soluçao encontrada foi atualizar as versões do recursos utilizados no build.gradle.

@wz19900616
Copy link

I have same problem . and I solved by doing:

  1. disabled image_picker-0.6.7 build.gradle maven {“google.bintray”}...
  2. replaced all jcenter() to mavenCentral() in Dart Packages
  3. replaced all jcenter() to mavenCentral() in C:\Users\Qian\flutter\packages\flutter_tools\gradler\esolve_dependencies.gradle and
    C:\Users\Qian\flutter\packages\flutter_tools\gradler\flutter.gradle
  4. removed pubpesc.lock;
  5. run project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants