Forum Discussion

dgolhiardi's avatar
dgolhiardi
Frequent Visitor
8 years ago
Solved

After publishing, web refresh instant fails

Hi everyone.

 

For the last 4 days one of our models ( just one ) stopped refreshing on the web, and we didn't publish any changes to it since two weeks ago.
When we manually refresh it on the PowerBI no errors occur, we are able to publish it with no issues, but when we try a On Demand refresh it takes less than a minute to fail with the message

The gateway operation has been cancelled explicitly by the user or from a timeout.

 

Solutions that we tried:

  • Manually refresh on PowerBI Desktop and publish ( won't refresh on the web though )
  • Re-create the content pack
  • Publish to a different workplace ( and different names )
  • Restore a fully tested backup with old data, and with new refreshed data

No data issues were detected, both the old and the current version refresh just fine on the Desktop just won't refresh on the web.

We are currently out of options as the message is not very clear on what is blocking the refresh. All our other models are working fine and no changes were made to this one before it started failing.


Thanks
Daniel

  • dgolhiardi's avatar
    dgolhiardi
    8 years ago

    Just a final update on the matter and some opinions.

    tl;dr we had to add a transformation to all of our dates ( they were fine before )

    We contacted MS Contact Support for help ( we actually opened 2 concurrent tickets because we were desparate ).

    • The solution came after a week and a half of exchanging emails and screen sharing. One attendant knew that was something wrong with dates ( is this a undisclosed bug??? ) and got the query as soon as the MS engineers found one. The other attendant didn't know anything about anything and tried several solutions, mostly involving deleting stuff and putting it back.

      Here is the Query
      #"NewStep"=  Table.TransformColumns(
              #"Removed Columns",
                  List.Transform(
                      Table.ColumnsOfType(#"Removed Columns", {type date, type nullable date, type datetime, type nullable datetime, type datetimezone, type nullable datetimezone})
                          , (name) => {name, (date) => if date = null or Date.Year(date) < 101 then null else date, Type.TableColumn(Value.Type(#"Removed Columns"), name)}
                  )
              )
      in
          #"NewStep"
    • No information was transparent at any moment in time
    • The error message changed during our tests with no changes made ( I guess engineers changed the message, but no release notes whatsoever on that )
    • We got no clue what to do, or that the problem was with our side or MS side ( only in the end we got a hot fix solution )

    Felt the need to share the experience, good or bad. I hope PowerBI becomes more transparent on whats wrong.

9 Replies

    • dgolhiardi's avatar
      dgolhiardi
      Frequent Visitor

      Yes, we made sure the gateway is updated.

      Just remembering it's only one of our models that is behaving like this, the others are fine

      • GilbertQ's avatar
        GilbertQ
        Icon for Super User rankSuper User
        Thanks.

        Are there any other data sources in this model besides the Web Data source?

        If there are any other data sources, and those sources do have applied steps in the Query Editor then it will currently not be able to be refreshed via the Gateway.

        This is a current limitation, which I do know the Power BI team is working on removing.
  • v-jiascu-msft's avatar
    v-jiascu-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Hi dgolhiardi,

     

    The information here is limited. Please provide the Gateway logs. I will try my best to help. Please send me a private message unless you can make it public. 

    1. Enable additional logging.

    2. Refresh again to gather some logs.

    After_publishing_web_refresh_instant_fails

     

    Please be aware of privacy.

     

    Best Regards,

    Dale

     

    • dgolhiardi's avatar
      dgolhiardi
      Frequent Visitor

      I sent you the gateway logs, but I didn't find any abnormalities comparting to a healthy refresh from other model

      • v-jiascu-msft's avatar
        v-jiascu-msft
        Icon for Microsoft Employee rankMicrosoft Employee

        Hi dgolhiardi,

         

        Please send me the whole logs. BTW, do you use the latest version of data Gateway. 14.16.6549.2

         

        Best Regards,

        Dale