Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.

Having issues publishing Python function on new AzureML workspace as web services #36

Open
gopitk opened this issue Jan 20, 2017 · 0 comments

Comments

@gopitk
Copy link

gopitk commented Jan 20, 2017

I created a new AzureML workspace in West Central US from new portal. I am trying to operationalize a Python script (that I am able to operationalize on South Central) and facing errors.

ValueError: Failed to publish function: Internal error. The error code has been logged. If you retry and see this error again, report the error code and the request ID to the online forum.
Set azureml.services._DEBUG = True to enable writing predictIris.req/predictIris.res files

I did pass the endpoint parameter in @services.publish() to the management endpoint of West Central US.

For what it is worth, there does seem to be one change in workspace auth token for this new workspace created through new portal. The token seems to be encoded (i.e has a == at the end. The older workspace where it is working does not have this encoding for the tokens. Not sure if there is some decoding I have to do before passing it in @services.publish(). BTW - I tried base64 decode on this token I see in studio and it does not seem to be an ASCII string.

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

No branches or pull requests

1 participant