pulibrary / DSS

DSS Catalog Application
0 stars 0 forks source link

Updating a Record Causes an error #497

Open kevinreiss opened 1 week ago

kevinreiss commented 1 week ago

Expected behavior

When you edit a DSS record you can save your chance.

Actual behavior

Visit https://dss.princeton.edu/resources/6532/edit, when you save the record you get the standard load balancer error screen.

Steps to replicate

  1. Log in to DSS
  2. Visit https://dss.princeton.edu/resources/6532/edit
  3. Make an edit
  4. Hit Update Resource
  5. You will receive a 502 Bad Gateway error and see the load balancer error screen.

Impact of this bug

Can't edit this specific record.

Acceptance criteria

Implementation notes, if any

I can't find any honeybadger errors about this so maybe a load balancer issue? Also creating new records seems to work fine (I was able to create a new one and delete it without any issues).

Other large records can update fine. Tunneling into a DSS box directly and updating the record can also update fine.

christinach commented 1 week ago

@kevinreiss first you need to login. Then you can edit.

christinach commented 1 week ago

The edit path works but you cannot update.

christinach commented 1 week ago

From the syslog

Oct 20 09:19:21 dss-prod2 sshd[444277]: Unable to negotiate with 10.6.51.53 port 46352: no matching host key type found. Their offer: ecdsa-sha2-nistp521 [preauth]
Oct 20 09:19:23 dss-prod2 sshd[444280]: Connection closed by 10.6.51.53 port 46384 [preauth]
Oct 20 09:19:29 dss-prod2 sshd[444322]: padding error: need 1580 block 8 mod 4 [preauth]
Oct 20 09:19:29 dss-prod2 sshd[444322]: ssh_dispatch_run_fatal: Connection from 10.6.51.53 port 47710: message authentication code incorrect [preauth]
Oct 20 09:19:29 dss-prod2 sshd[444321]: error: kex_exchange_identification: Connection closed by remote host
christinach commented 1 week ago

Updates on slack thread

maxkadel commented 1 week ago

Other records can be updated - eg https://dss.princeton.edu/resources/5638