BookmarkSubscribeRSS Feed
ern_23
Obsidian | Level 7

Dear Community,

 

I am trying to deploy a model I developed on Python through SAS Model Manager. I have successfully imported model into SAS Viya but when I try to publish model into production I get the following error:

 

502 Proxy Error Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /modelManagement/publish. Reason: Error reading from remote server

 

I have made a small search online and come across with this link (https://support.sas.com/kb/60/789.html) and thought it may be related to this as stated in the link. I made the asked changes on the system however still facing the same issue. I am wondering if anyone of you may have an idea on fixing the problem.

 

Thank you.

Eren

3 REPLIES 3
gwootton
SAS Super FREQ
It sounds like httpd is forwarding the request from the browser to the modelManagement endpoint service, which is responding in a way httpd doesn't understand so can't return it to the browser. I'd check the httpd logs (/var/log/httpd) and model management logs for errors (sas logs are found in /opt/sas/viya/config/var/log/<service>/default).
--
Greg Wootton | Principal Systems Technical Support Engineer
alexal
SAS Employee

Check the most recent log files in these directories

 

/opt/sas/viya/config/var/log/modelpublish/default/
/opt/sas/viya/config/var/log/modelrepository/default/

 

Do you see any errors while you are trying to publish your model? Also, what publishing destination are you using? MAS?

AlejandraWest
Calcite | Level 5

Most often, the error appears in the browser Google Chrome or Opera. This error message looks a little different in other browsers, such as the standard Microsoft Edge. But in any case, the browser will say "No connection to the Internet" and ask you to check the proxy settings. And this problem occurs because of incorrect proxy server settings. When a proxy server is enabled in the settings of Windows or Android, the wrong addresses are set, or the server simply doesn't work. As a rule, proxy server settings must be disabled. To avoid these errors, it is worth buying only original proxies. At the moment, there is a different proxy pricing, so everyone can find something suitable for themselves. It is not uncommon for users to turn them on themselves, following some instructions, or by accident. Or some programs do. To remove the error related to proxies, we need to disable these settings in the Windows settings, in the browser, or in the Android settings.

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 2617 views
  • 0 likes
  • 4 in conversation