HTTPS issues
See original GitHub issueAdd dependencies pom.xml of my project:
Failed to collect dependencies for ... Could not transfer artifact ... from/to central ... Failed to transfer file ... Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany</groupId>
<artifactId>PokemonProject</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.PokeAPI</groupId>
<artifactId>pokekotlin</artifactId>
<version>2.3.1</version>
<type>jar</type>
</dependency>
</dependencies>
</project>
When trying to run my project I get the error of:
Failed to execute goal on project PokemonProject: Could not resolve dependencies for project com.mycompany:PokemonProject:jar:1.0-SNAPSHOT: Failed to collect dependencies for [com.github.PokeAPI:pokekotlin:jar:2.3.1 (compile)]: Failed to read artifact descriptor for com.squareup.retrofit2:retrofit:jar:2.8.1: Could not transfer artifact com.squareup.retrofit2:retrofit:pom:2.8.1 from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/com/squareup/retrofit2/retrofit/2.8.1/retrofit-2.8.1.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Why is SSL/HTTPS not working on my site? - Support | one.com
There can be several reasons why SSL/HTTPS is not working on your site. Please see if one of the causes listed below helps...
Read more >Upgrading to HTTPS: Common Issues and Solutions
The Issues: Cost, Complexity, Compatibility, and Confidence. The dangers of MitM attacks make you think everything should be served as HTTPS.
Read more >HTTPS report - Search Console Help
The HTTPS report shows how many indexed URLs on your site are HTTP vs HTTPS. ... If a site has a lot of...
Read more >5 Serious Problems with HTTPS and SSL Security on the Web
5 Serious Problems with HTTPS and SSL Security on the Web · The Sheer Number of Certificate Authorities · Certificate Authorities Haven't Always ......
Read more >A Simple Explanation of SSL Certificate Errors & How to Fix ...
You can identify encrypted sites by the HTTPS in their URLs and the padlock icon in ... These issues result in the following...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Maven in IDE was different from Maven installed seperatley. IDE Maven was an earlier version, brought up to 3.6.3 after updating.
HTTPS error has gone away.
https://stackoverflow.com/questions/59763531/maven-dependencies-are-failing-with-a-501-error