swdc-intellij-music-time icon indicating copy to clipboard operation
swdc-intellij-music-time copied to clipboard

Music Time fails to connect to Spotify

Open maxence-lefebvre opened this issue 4 years ago • 33 comments

Verify first that your issue is not already reported on GitHub : reported and closed here, but still is an issue for me

Describe the bug

A clear and concise description of what the bug is.

I installed the plugin, hit "connect to spotify", gets to the page "Spotify is now connected" but nothing happens in my IDE.

ISSUE TYPE

  • Bug Report

Steps to reproduce

  1. Install the plugin via Marketplace
  2. Click on "Connect Spotify"
  3. Scroll down, click on "Allow" on Spotify's OAuth Page
  4. Get to https://app.software.com/spotify/authorized
  5. Go back to Webstorm, nothing happened, I can only retry from "2."

Expected behavior A clear and concise description of what you expected to happen.

The plugin is connected to Spotify and allows me to play music.

ACTUAL RESULTS

I can't get the plugin to go past the "Connect to spotify" step.

Screenshots If applicable, add screenshots to help explain your problem.

image

Desktop (please complete the following information):

  • OS: Microsoft Windows 10 Enterprise Version 10.0.18363 Build 18363
  • Plugin version: MusicTime 2.0.5
  • IDE version: Webstorm 2020.2.1

Additional context Add any other context about the problem here.


maxence-lefebvre avatar Sep 04 '20 18:09 maxence-lefebvre

I have the same problem

PyCharm 2020.2.1 (Professional Edition)
Runtime version: 11.0.8+10-b944.31 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.6

jjmonsalveg avatar Sep 09 '20 04:09 jjmonsalveg

I also have this issue

OS: Ubuntu 20.04.1 LTS IDE: PhpStorm 2020.2.1 Build #PS-202.6948.87, built on August 27, 2020

mitchierichie avatar Sep 09 '20 19:09 mitchierichie

I can confirm the same behavior in WebStorm 2020.2.2:

WebStorm 2020.2.2
Build #WS-202.7319.44, built on September 9, 2020
Runtime version: 11.0.8+10-b944.31 amd64
Windows 10 10.0

KleoPetroff avatar Sep 10 '20 12:09 KleoPetroff

Same here: PyCharm 2020.2 MacOs 10.15.5

Dr-DaDe avatar Sep 15 '20 07:09 Dr-DaDe

Exact same behaviour here CLion 2020.2.3 OS: Arch Linux Kernel: Linux 5.8.8-arch1-1 Architecture: x86-64

Justist avatar Sep 18 '20 23:09 Justist

Same here OS: Mac OS 10.15.6 GoLand 2020.2.3

jhuggart avatar Sep 21 '20 14:09 jhuggart

Ditto:

WebStorm 2020.2.2 Build #WS-202.7319.49, built on September 14, 2020 Runtime version: 11.0.8+10-b944.31 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 2000M Cores: 4 Non-Bundled Plugins: IdeaVIM, com.github.lppedd.idea-conventional-commit, com.musictime.intellij.plugin, mobi.hsz.idea.nodesecurity, org.sonarlint.idea, aws.toolkit

caveman-dick avatar Sep 29 '20 11:09 caveman-dick

Same Issue on IntelliJ IDEA Ultimate

IntelliJ IDEA 2020.2.2 (Ultimate Edition) Build #IU-202.7319.50, built on September 15, 2020 Runtime version: 11.0.8+10-b944.31 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1979M Cores: 16

P3RF3CTION avatar Sep 29 '20 15:09 P3RF3CTION

Same problem on Ubuntu 20.4

charisschomba avatar Oct 01 '20 10:10 charisschomba

To anyone having issues, for now a workarround is possible by login using vscode and then try again on IntelliJ/Android Studio and again, click agree on Spotify page. It should work then. Just tested now on Ubuntu 20.04

Leeonardoo avatar Oct 05 '20 12:10 Leeonardoo

I should've left a comment on my closed issue, however have you tried unauthorizing the app on your Spotify account, then restarting the IDE and trying again? I remember I had to do that before it finally connected. (When it does connect, thankfully you don't have to go through it again even after reinstalling the IDE (;´д`)ゞ)

rekkisomo avatar Nov 02 '20 15:11 rekkisomo

Same problem on Ubuntu 20.04.1 with Android Studio 4.1 Music Time v.2.0.14

Khavronsky avatar Nov 08 '20 18:11 Khavronsky

Same here! MacOSX

But just like @Leeonardoo mentioned above, that workaround worked quite well!

jayjah avatar Nov 13 '20 21:11 jayjah

We apologize for the late reply. We'll look into this issue right away and thank you for your patience. Regards.

xavluiz avatar Nov 16 '20 17:11 xavluiz

We've identified an issue creating the token to establish the spotify connection. The fix for this is in v2.0.16 which should be available in a day or two based on JetBrains review. Thank you.

xavluiz avatar Nov 17 '20 17:11 xavluiz

We've identified an issue creating the token to establish the spotify connection. The fix for this is in v2.0.16 which should be available in a day or two based on JetBrains review. Thank you

this issue didn't fix for me in version 2.0.16 :-(

Khavronsky avatar Nov 17 '20 22:11 Khavronsky

We've identified an issue creating the token to establish the spotify connection. The fix for this is in v2.0.16 which should be available in a day or two based on JetBrains review. Thank you.

2.0.16 isn't fixed in WebStorm 2020.2.3. Same issue.

mbrewerton avatar Nov 19 '20 10:11 mbrewerton

Ok, thank you for the response. We're looking into this further.

xavluiz avatar Nov 20 '20 01:11 xavluiz

We've found a change in our authentication logic causing this issue. The version with this fix will be v2.0.19. This should be available in the Jetbrains marketplace within a day or two. Thank you.

xavluiz avatar Nov 21 '20 14:11 xavluiz

Not fixed, even in 2.0.20, for me.

karlmiles avatar Nov 27 '20 10:11 karlmiles

One more symptom to the issue. I'm able to connect to Spotify, but it constantly forgets the auth token after I restart IDE, thus I need to reconnect each time.

Also MusicTime readme file is begin opened in IDE, just like it was installed for the first time. Looks like whole settings bucket isn't being saved for some reason.

Spurlos avatar Jan 21 '21 17:01 Spurlos

Facing the same issue in Android Studio.

abstrxtInfinity avatar Feb 03 '21 04:02 abstrxtInfinity

Hi, we apologize for the connect issues. We've identified the issue and released v2.1.4. You may need to reconnect Spotify by disconnecting then reconnecting again.

Thank you for your patience and let us know if there are any other issues.

Regards.

xavluiz avatar Feb 08 '21 23:02 xavluiz

@xavluiz I was having this issue before, now when I try to authenticate it, the software.com screen tells me it can't find an account with that email address. Then if I click 'install a plugin', it takes me back to app.software.com/login.

mitchierichie avatar Feb 09 '21 00:02 mitchierichie

HI @mitchierichie, I'll look into this. To confirm, is this after upgrading to 2.1.4 and disconnecting Spotify? Thank you for the information.

xavluiz avatar Feb 09 '21 05:02 xavluiz

Hi @mitchierichie, can you delete your /.software directory and reload your IDE? Once this happens you should be able to reconnect using the editor's "Connect Spotify" button.

xavluiz avatar Feb 09 '21 05:02 xavluiz

@xavluiz I was able to sign it without deleting my . software folder. The problem is that I didn't have a SW.com account, but your login screen doesn't have a working "sign up" button. I went to the home page and signed up there.

mitchierichie avatar Feb 09 '21 12:02 mitchierichie

Using v2.1.4

  • [x] redirected to spotify -- OK
  • [x] logged in and redirected to software.com -- OK
  • [ ] prompt error as shown in screenshot

I don't see any place for me to create an account in the plugin? Could you please help

Screenshot 2021-02-09 at 14 31 32

jeffery9876 avatar Feb 09 '21 14:02 jeffery9876

@mitchierichie ok, thank you for the update about signing up. @JefferyLondon you can visit https://app.software.com/signup to create an account. I will look into why the connection isn't completing, thank you.

xavluiz avatar Feb 09 '21 16:02 xavluiz

@mitchierichie ok, thank you for the update about signing up. @JefferyLondon you can visit https://app.software.com/signup to create an account. I will look into why the connection isn't completing, thank you.

Thanks. Logged in on MacBook after signup the software account. However on my other pc, the pycharm never refreshed after logged in on webpage.

jeffery9876 avatar Feb 09 '21 16:02 jeffery9876