microsoft / playwright-testing-service

MIT License
88 stars 14 forks source link

Unable to generate Access token #102

Closed damianavid closed 7 months ago

damianavid commented 8 months ago

Describe the bug Unable to generate Access token in Microsoft Playwright Testing dashboard.

To Reproduce Steps to reproduce the behavior:

  1. Step 1 'Following the setup guide'
  2. Step 2 'Click the cog icon in header, under settings select Access tokens. Click the 'Generate new token' button and fill out the form.'
  3. See error - undefined is not an object (evaluating 'r.error')

Expected behavior Generate an Access token.

Screenshots

Screenshot 2024-03-27 at 12 13 14 PM Screenshot 2024-03-27 at 12 15 37 PM Screenshot 2024-03-27 at 12 15 43 PM Screenshot 2024-03-28 at 1 03 45 PM Screenshot 2024-03-28 at 1 03 52 PM Screenshot 2024-03-28 at 2 15 09 PM Screenshot 2024-03-28 at 2 15 23 PM Screenshot 2024-03-28 at 2 16 32 PM

Setup information (please complete the following information):

Additional context Add any other context about the problem here.

AB#2017176

puagarwa commented 7 months ago

Hi @damianavid, We looked into har file which you shared offline. we observed one strange thing in har request about remote address being set as :80, ideally it should be our remote address which is something like this [2620:1ec:bdf::72]:443,

Can you please try these options

snippet from har file image

puagarwa commented 7 months ago

Hi @damianavid , Sure that rules out your network or machine issue. Can you please help collect har file with preserve log option ticket and share all logs from the time you login on portal and then try creating token. please send log on email alias.

damianavid commented 7 months ago

@puagarwa Good morning, Just wanted to confirm you got the email including the HAR file with preserve log option yesterday. Thanks!

puagarwa commented 7 months ago

Hi @damianavid , We have made a probable fix, can you please try now and if it doesnt work send us har file with preserve logs.

damianavid commented 7 months ago

Hi Puneet,

It is now working on my end as expected so looks like the fix went through. Thank you for your help on this!

From: Puneet Agarwal @.> Date: Thursday, April 4, 2024 at 6:02 AM To: microsoft/playwright-testing-service @.> Cc: Damian Ruiz @.>, Mention @.> Subject: Re: [microsoft/playwright-testing-service] Unable to generate Access token (Issue #102) Caution: This email originated outside of AvidXchange. Do not click links or open attachments unless you recognize the sender and know the content is safe. Please use the Report Phish button to forward any suspicious message to Information Security.

Hi @damianavidhttps://github.com/damianavid , We have made a probable fix, can you please try now and if it doesnt work send us har file with preserve logs.

— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/playwright-testing-service/issues/102#issuecomment-2036743066, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AY4KYQQWMEPSTUPRDB3PMALY3UQL3AVCNFSM6AAAAABFOZBWCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZWG42DGMBWGY. You are receiving this because you were mentioned.Message ID: @.***>

puagarwa commented 7 months ago

thanks for confirming the fix. feel free to open new issue if you face any issue or have any question for us while using the service.