Authentication Error even when new token
- 
					
					
					
					
 This is a different error. [RTSP Server Error] listen EADDRINUSE: address already in use 0.0.0.0:8555 ... [PROXY SERVER ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:443This is telling us that you probably already have an (second) instance of Monocle Gateway running. Probably in the background as a Windows service. Basically ports 443 and 8555 are already being used and the new instance cannot bind to those ports. Try using this command to stop the background service first: 
 monocle-gateway.exe --stopSee this page for additional details: 
 https://monoclecam.com/monocle-gateway/install/windows#windows-serviceThanks, Robert 
- 
					
					
					
					
 @Monocle I think this feedback was for @justincheger 
- 
					
					
					
					
 You are correct. I updated the post. Thanks, Robert 
- 
					
					
					
					
 @Monocle 
 Today Same error again
- 
					
					
					
					
 Getting a 401 again today - anyone else? Thanks Oct 01 09:15:54 pimonoclerp3 monocle-gateway[597]: [Monocle Connecting] Oct 01 09:15:55 pimonoclerp3 monocle-gateway[597]: Monocle API Authentication Error; invalid or missing token. 
 Oct 01 09:15:55 pimonoclerp3 monocle-gateway[597]: 2024-10-01T08:15:55.115Z [ERROR] [Monocle Error] Unexpected server response: 401
 Oct 01 09:15:55 pimonoclerp3 monocle-gateway[597]: [ ‘[Monocle Error]’, ‘Unexpected server response: 401’ ]
 Oct 01 09:15:55 pimonoclerp3 monocle-gateway[597]: [Monocle Disconnected]
 Oct 01 09:15:55 pimonoclerp3 monocle-gateway[597]: [Monocle Reconnecting] … in 64 seconds (attempt #12)
- 
					
					
					
					
 @slime-uk said in Authentication Error even when new token: Getting a 401 again today - anyone else? Thanks Indeed 
- 
					
					
					
					
 
- 
					
					
					
					
 @SchmuFoo yup started yesterday afternoon uk for me 
- 
					
					
					
					
 
- 
					
					
					
					
 It looks like the same issues as before, if you log out of the skill in Alexa you can not log back in and get a “login failed” please contact support banner. I assume it is a cert that needs updating. @Monocle 
- 
					
					
					
					
 @Monocle I’m in the same boat. Rats. 
- 
					
					
					
					
 @ALL Please try again. Not a certificate issue this time – just a temporary database server outage yesterday and one of the services that makeup the backend failed to reconnect. Added improved “reconnect” logic today so hopefully this issue will “self-heal” next time. (In some cases, you may have to restart your Monocle Gateway service.) Thanks, Robert 
- 
					
					
					
					
 @Monocle Thanks, it’s better now! 
- 
					
					
					
					
 @Monocle many thanks - running fine now. 
- 
					
					
					
					
 @Monocle thank you 
 Working again
- 
					
					
					
					
 
- 
					
					
					
					
 Yes same problem here! Skill disabled be itself and no login possible! 
- 
					
					
					
					
 Ok try again now … should be working now. Looks like I have more work to do to get this stable again. I’ll be working on this later this week. The Amazon EC2 instance keeps locking up … which causes database connection issues. Thanks, Robert 
- 
					
					
					
					
 Thanks Robert. Up and running again. Good luck with the EC2 instance. 🤞 
- 
					
					
					
					
 @Monocle not sure if this is from the same issue. But it has been pretty unstable since the first auth issue a month ago. Here lately I have to restart the gateway. Sometimes needing to disable/enable the skill also. Thanks Robert! 
