cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Could not connect to the endpoint URL while deploying Tutorial Model

md_tcon07
Discoverer
0 Kudos

Hello Experts,

I am new to AI Core and followed the Tutorial Series to get to know the environment. (Make Predictions for House Prices with SAP AI Core | SAP Tutorials)


Unfortunately I've encountered an error I am unable to resolve. In the last steps of the Tutorial, while trying to deploy the model on a server, the error "Could not connect to the endpoint URL" appears.

I would be very grateful for your assistance.

md_tcon07
Discoverer
0 Kudos

For further information: I meticulously followed every step of the Tutorial Series, i didn't change the code from the tutorial except the placeholders that were required to be replaced and the generated model is stored in my S3 Bucket. The Connection to the Bucket is stored in the Launchpad as is the connection to the GitHub. For further information feel free to ask!

gianfranco-salomone
Discoverer

Tutorial says

endpoint = "s3-eu-central-1.amazonaws.com", # Change this

 

It should be:

endpoint = "s3.eu-central-1.amazonaws.com", # `s3-` changed to `s3.`

 

Source: https://docs.aws.amazon.com/general/latest/gr/s3.html

 

RjainCap
Explorer
0 Kudos

@Gianfranco-salomone : Thank you. Your solution works, I was able to proceed. 
@MichOnSAP : If you are still struggling, I suggest take a look at this solution.

View Entire Topic
MichOnSAP
Explorer
0 Kudos

Good afternoon RjainCap,

 I think I have the same case.

Attaching view of last run .  ( I ran it at least 5 times then gave up and posted) 

Thanks,

Mich 

dMichOnSAP_0-1708624176474.png